Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add GlobalFields

...

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

...

Elements

Attributes that are offered for all elements:

...

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>

...

GlobalFields

The GlobalFields element can be used to retrieve a globally stored Field.

Code Block
languagexml
<FieldsConfiguration>
  <Fields>
    <GlobalFields Key="Fields.Report" />
  </Fields>
</FieldsConfiguration>

More information about the global configurations can be found here: https://primesoft-group.atlassian.net/wiki/spaces/PDTEN/pages/61407710/Global+Configurations#Working-with-typed-fields.

A concrete example for recognizing the connection between the global entry and the reference to a global entry can be found here: https://primesoft-group.atlassian.net/wiki/spaces/PDTEN/pages/61407710/Global+Configurations#Referencing-global-entries-in-the-templates.

Attributes for GlobalFields

The reference to a global entry is made using the Key attribute. If you select it, a list of all available global entries is automatically displayed.

Attribute name

Description

Key
(required)

The ID of the global entry to be referenced.

...

Example

Code Block
languagexml
<FieldsConfiguration>
  <Fields>
    <!-- Fill placeholders infrom layout -->
    <Picture Name="SignerImage"><Code>$("Profile.User.Sign")</Code></Picture>PartnerLogo" Asset="\\e123\User\Doe\ExampleLogo.PNG" />
    <Text Name="Page" translate-Value="Texts.Page" />
    <!-- Data only in content template -->
    <Text Name="Greeting" translate-Value="Greetings.KindRegards1" />
    <!-- Reference global entry -->
    <GlobalFields Key="Letters.Subject" />
  </Fields>
</FieldsConfiguration>

...