Full identifier for texts

How is a text definition uniquely identified in order to access it?

As described in the Management of texts chapter, text definitions can be created in various locations. To access these definitions, the location must be uniquely named.

This results in the following elements that must be identified:

  • Is the text located in the client project or the server project?

  • Is the text located in the user texts or system texts areas?

  • Which text group is the text located in?

  • What is the name of the text?

The full identifier, which is expected by some commands in the system, includes all of these components. Optional parts are enclosed in angle brackets.

Syntax of the full identifier

<@><TextType.>TextGroups.TextName

  • @

    • Fixed prefix for specifying a text from the language switching. If no @ is provided at the beginning, the language switching commands return the full identifier itself.

  • TextType

    • Optional specification of one of the following values:

      • [ClientApplication]: A text contained in the User texts node of the client project.

      • [ServerApplication]: A text contained in the User texts node of the server project.

      • [ClientSystem]: A text from the client project located in one of the Components/Dialogs nodes or one of the system nodes.

      • [ServerSystem]: A text from a Server project contained in one of the Components/Dialogs nodes or one of the system nodes.

      For TextType, the specified values must be entered including the square brackets!
  • TextGroups

    • Specification of the text group hierarchy. The nested text groups are specified sequentially from top to bottom, separated by a dot (.).

      If a text from the [ClientApplication] area is selected, the naming of this area can be omitted. Additionally, the naming of the User texts group (internal: Application) can also be omitted.
  • TextName

    • Name of the text definition, separated from the text group hierarchy by a dot (.).

Examples

  1. @View1.txtOk
    @Application.View1.txtOk
    @[ClientApplication].View1.txtOk
    @[ClientApplication].Application.View1.txtOk

    Returns the text txtOk from the text group UserTexts.View1 in the current project language. All identifiers retrieve the same text.

  2. @[ClientSystem].Components.AlarmList.FileName

    Returns text FileName from the group Components.AlarmList in the current project language.

  3. @[ServerSystem].AlarmSystem.Groups.AlarmGroup1.AlaOverflow

    Returns the text of the Overflow alarm from the AlarmGroup1 in the current project language.

    The fixed prefix Ala in AlaOverflow results from the automatic assignment of a name for an alarm text when the alarm is created via the editors.

    The fixed group prefix AlarmSystem.Groups is system-specific and represents the group hierarchy Alarms.AlarmGroups here.

Related topics: