String Attribute
The StringAttribute captures plain text data.
Example
XML Syntax
<StringAttribute Name="Description"/>
Appearance

Inserting String Text attributes in Word Documents
When a String attribute value (the text) is inserted into a Word document, the content is displayed with the Normal style of the target word document. Thus, the same text values will appear in different styles when inserted in different word documents if these word documents use different formatting for their Normal style.
XML Attributes
DefaultText
The DefaultText attribute can be used to set a default text. The value is applied when the Document Object is created.
<StringAttribute Name="Description" DefaultText="None."/>
SingleLine
When setting the SingleLine attribute to true, the text field is displayed as a single line and does not accept any carriage returns or row breaks. This is useful when only a short text is expected.
<StringAttribute Name="Description" SingleLine="true"/>
Last updated
Was this helpful?