ASSIGN values from TEXT MAP to FIELDSET
You can assign a TEXT MAP directly to a FIELDSET. First, this clears the FIELDSET and then creates a field in the FIELDSET for each key in the TEXT MAP.
In the following example, the command clears the FIELDSET FieldSet and then creates the field FieldSet.A with the value B.
MAP TEXT text_map
ASSIGN text_map [ "A" ] := "B"
ASSIGN FieldSet := text_map
Copying a
MAP TEXT into a
FIELDSET can introduce elements that have an index
that does not meet the naming conventions for
FIELDSET fields. Even though these elements cannot
be accessed through the Template scripting language or used in dynamic content,
these elements remain part of the
FIELDSET and are included if the
FIELDSET is saved or copied back into a
MAP TEXT variable.