api:setm

Version 23.0.9145


api:setm


The api:setm keyword is a shorthand for api:set. Use it to perform multiple sets with one keyword.

Each line, separated by \r\n, is a separate set operation. Separate multi-line values with three single quotes ('''), as in Python.

The first equals sign (=) separates the attribute name from the value. This means that attribute values can contain spaces. However, leading and trailing spaces are ignored. Use double-quotes to include leading or trailing spaces, as shown in the example.

Parameters

  • item: The item in which the attributes are set. If no item is specified, the default item is used.

Control Attributes

None

Example

Use the scope of the keyword to set contact attributes:

<api:setm>
name = ContactName 
company = ContactCompany
address = 600 Market Street
includespace = " This string has a leading space"
</api:setm>

See Also

  • api:set: Set attributes in an item.