It is now possible to have an element's label in the ribbon display a value of a particular document property. This can be useful in cases where a version number needs to be displayed in the ribbon for example. Currently, only labels for the following elements are supported: Buttons, CheckBoxes, and Static Menus.
The element needs to be defined as follows:
label="BaseExtenstions:any" label-type="docprop" label-key="docpropname"
The label-type
parameter currently only supports docprop
(document properties) and in the label-key
the name of the document property is inserted. This will set the label to display the value of that particular document property.
Below an example is presented:
<Button label="BaseExtenstions:any" label-type="docprop" label-key="TemplafyTenantID">
<Cmd ....... />
</Button>
Comments
0 comments
Article is closed for comments.