Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ToDo

  • Picture

  • Text

  • Boolean

  • Date

  • Collection
    Code Block
    languagexml
    <FieldsConfiguration>
      <Fields>
        <!-- Insert form elements and groups here -->
      </Fields>
    </FieldsConfiguration>
    Note

    ...

    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

    Code Block
    languagexml
    <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

    Code Block
    languagexml
    <FieldsConfiguration>
      <Fields>
        <Date Name="CreateDate" />
      </Fields>
    </FieldsConfiguration>

    Attributes for Date

    No further attributes

    YesNo

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

    Attributes forYesNo

    Attribute name

    Description

    Value
    (optional)

    Predefined value of the entry that the user can edit.

    Picture

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

    Attributes forPicture

    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

    Code Block
    languagexml
    <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>