In BaseExtensions, it is possible to bind content controls to a custom XML part document if the title and tag of the content control are the same. It will be mapped to an XML part document named by a key defined in the command. If the XML part document already exists, it will add the new content control to the end of the XML part document.
CMD
<Cmd case="BaseExtensions:convert-to-xml-binding" XmlPartKey="x"/>
Parameters
XmlPartKey
Define the name of the XML part document that will be created or added to.
IncludeMyMatchingTitleTag
This can be defined as either true
or false
. If true
or the parameter is not present, it will only convert the content controls (where the title and tag are equal to each other) to the XML part document. If false
, it will convert all content controls the XML part document.
IncludeOnlyMultiplies
This can be defined as either true
or false
. If true
, it will only convert the content controls where there are multiple content controls called the same that match the filters to the XML part document. If false
or parameter is not present, it will convert all content controls that match the filters.
IncludeContains
This can be defined with one or more words separated by "," with no spaces. It will only convert the content controls where the title contains one of the defined words.
ExcludeContains
This can be defined with one or more words separated by "," with no spaces. It will not convert the content controls where the title contains one of the defined words.
IncludeEquals
This can be defined with one or more words separated by "," with no spaces. It will only convert the content controls where the title equals to one of the defined words.
ExcludeEquals
This can be defined with one or more words separated by "," with no spaces. It will not convert the content controls where the title equals to one of the defined words.
Comments
0 comments
Article is closed for comments.