It is now possible to insert Document Data bindings from the ribbon using the following command:
<Cmd case="SkabelonDesign.DocumentData:CreateBinding" DateFormat="dd-MM-yyyy"/>
Using this command will trigger a pop window where the user is able to choose a binding from the available Document Data bindings in the document and insert it into a cell (Excel) or a shape (PowerPoint).
Parameters
DateFormat
The DateFormat
parameter is used to format any date fields that are available for insertion. The parameter is required and its value can be any formatting option from this link.
Configuration Example
<button label="Create Sharepoint binding" icon="HtmlSelectTag" tip_text="Create a binding to the Sharepoint data and update all bindings" showInWord="false" showInOutlook="false">
<cmd case="SkabelonDesign.DocumentData:EnablePendingChanges"/>
<Cmd case="BaseExtensions:ExecuteXmlPart" title="Update"/>
<Cmd case="SkabelonDesign.DocumentData:CreateBinding" DateFormat="dd-MM-yyyy" />
<cmd case="SkabelonDesign.DocumentData:EnablePendingChanges"/>
<Cmd case="BaseExtensions:ExecuteXmlPart" title="Update"/>
<Cmd case="SkabelonDesign.DocumentData:Commit"/>
</button>
Comments
0 comments
Please sign in to leave a comment.