<?xml version='1.0' encoding='UTF-8'?>
<ui
xmlns="http://www.intertrust.ru/schema/palette/tn-ui">
<form schema-ref="{schema name}" id="{id}">
<!-- system action -->
<component>
<button name="{name}">
<properties>
<hide>
<negative-condition-ref ref="read"/>
</hide>
</properties>
<hint-pop-up>{hint}</hint-pop-up>
<action position=10>
<system name="http://intertrust.ru/cmj/relations#copy"/>
</action>
</button>
</component>
<!-- custom action -->
<section id="RootMenu">
<component>
<section id="{id}" name="{name}">
<component>
<button name="{name}">
<properties>
<hide>
<negative-condition-ref ref="read"/>
</hide>
</properties>
<action position=20>
<custom>
<create schema-ref="{schema name}">
<module ident="{module}"/>
</create>
</custom>
</action>
</button>
</component>
</section>
</component>
</section>
<!-- custom button -->
<section id="{id}" name="{name}">
<component>
<section id="{id}" name="{name}">
<component>
<button name="{name}">
<properties>
<disabled>
<negative-condition-ref ref="read"/>
</disabled>
</properties>
<action>
<custom>
<operation save-context="true">
<handler-ref ref="{operation name}"/>
</operation>
</custom>
</action>
</button>
</component>
</section>
</component>
</section>
</form>
</ui>