Document Parameter – Quick Check / Tracked
With the OneOffixx feature "Quick Check" the user can jump to all document parameter fields in Word where the Tracked
attribute has been set.
Example configuration of the Document Parameter:
<Configuration>
<CustomContentSection Name="Dokument-Parameter" WindowWidth="750" WindowHeight="300">
<DataNodes>
<Text Id="DocParam.Subject" Tracked="true" Label="Subject" />
<DateTime Id="DocParam.DateOfWriting" Tracked="true" Label="Date" Format="dddd, dd. MMMM yyyy">1901-01-01</DateTime>
<CheckBox Id="DocParam.IsConfidential" Tracked="true" Label="Confidential" />
<ComboBox Id="DocParam.ReasonForCongratulation" Tracked="true" Label="Reason for congratulation" SelectedValue=" ">
<Item Value="Birthday" DisplayText="Birthday" />
<Item Value="EmployeeAnniversary" DisplayText="Employee anniversary" />
<Item Value="MotherFatherhood" DisplayText="Mother-/Fatherhood" />
</ComboBox>
</DataNodes>
</CustomContentSection>
<Views>
<View Id="main" Label="Homepage">
<Row>
<TextBlock Style="h2" ColumnSpan="4">Template title</TextBlock>
</Row>
<Button Type="Submit" Label="OK" IsDefault="true" />
<Button Type="Cancel" Label="Cancel" />
</View>
</Views>
</Configuration>
After creating a new document it looks like this in Word:
If the Quick Check pane is not displayed, it can be called in Word here:
Validation:
Either a green check mark or a red exclamation mark is displayed in the Quick Check pane. The condition that must be fulfilled depends in each case on the content and the DataNode type.
DataNode type | Condition for green check mark |
---|---|
Text | The content must contain at least one character. |
DateTime | The date must be different from 1901-01-01. |
CheckBox | The CheckBox has a gray character, because neither an activated nor a deactivated CheckBox can be interpreted as "pending" or "done". |
ComboBox | A selection must have been made from the dropdown list. |