Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


Purpose and use

This document function can be used to link content in order to integrate it into the document. Assuming you use the Forms function to retrieve a date and a title and want to place this data together in a footer, you can use this function to combine the two text fields into a separate text field.


Basic structure

<FieldsConfiguration>
  <Fields>
    <!-- Insert form elements and groups here -->
  </Fields>
</FieldsConfiguration>

Elemente

Attributes that are offered for all elements:

Attribute name

Description

Name
(required)

Is required for identification. Must not contain any spaces and must be unique.

Text

<FieldsConfiguration>
  <Fields>
    <Text Name="Page" translate-Value="Content.Page" />
  </Fields>
</FieldsConfiguration>

Attributes for Text

Attribute name

Description

Value
(optional)

Predefined text that the user can edit.

Date

<FieldsConfiguration>
  <Fields>
    <Date Name="CreateDate" />
  </Fields>
</FieldsConfiguration>

Attributes for Date

No further attributes

YesNo

<FieldsConfiguration>
  <Fields>
    <YesNo Name="InsertPartnerLogo" Value="true" />
  </Fields>
</FieldsConfiguration>

Attributes for YesNo

Attribute name

Description

Value
(optional)

Predefined value of the entry that the user can edit.

Picture

<FieldsConfiguration>
  <Fields>
    <Picture Name="PartnerLogo" Asset="\\fileshare\PartnerLogo.png" />
  </Fields>
</FieldsConfiguration>

Attributes for Picture

Attribute name

Description

Asset
(optional)

Specification of the drive path to the image. It must be ensured that every user machine can access the image.

Alternatively, an image can be filled with user information via the Code tag:

<Picture Name="SignerImage"><Code>$("Profile.User.Sign")</Code></Picture>

Example

<FieldsConfiguration>
  <Fields>
    <!-- Fill placeholders in layout -->
    <Picture Name="SignerImage"><Code>$("Profile.User.Sign")</Code></Picture>
    <Text Name="Page" translate-Value="Texts.Page" />
    <!-- Data only in content template -->
    <Text Name="Greeting" translate-Value="Greetings.KindRegards1" />
  </Fields>
</FieldsConfiguration>

  • No labels