Table of Contents |
---|
...
Purpose and use
Placeholders are required so that dynamic data can be displayed in layouts.
Defined placeholders, configured via the Placeholder Definition function on a parent template, such as a layout or a master template, can be provided with the respective data via this function. The data can be generated from Forms or via the Fields function.
...
Code Block | ||
---|---|---|
| ||
<PlaceholderMappingConfiguration> <Mappings> <!-- Placeholders --> </Mappings> </PlaceholderDefinitionConfiguration> | ||
Note | ||
ToDoBoolean Text |
...
Attributes
The following attributes must be set for all available element types (Text, Picture):
Attribute name | Description |
---|---|
| Is required for identification. Must not contain any spaces and must be unique. |
| Is required to map the field from Forms or Fields. Accordingly, the ID of the corresponding field is entered here. |
Example
Code Block | ||
---|---|---|
| ||
<PlaceholderMappingConfiguration> <Mappings> <!-- Data in header --> <Text Name="Forms.DateCreateDate" SourceField="Forms.Date" /><!-- from Forms --> <Image<Picture Name="AssociateLogoPartnerLogo" SourceField="AssociateLogoPartnerLogo" /><!-- from Fields --> <!-- Data in footer --> <Text Name="Texts_Page" SourceField="Texts_Page" /><!-- from Fields --> <Text Name="Footer" SourceField="Profile.Org.Footer" /><!-- from Benutzerprofil --> </Mappings> </PlaceholderMappingConfiguration> |
...