It is now possible to insert Document Data bindings from the ribbon using the following command:
XML
<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
XML
<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>Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article