Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.79 KB

File metadata and controls

34 lines (28 loc) · 1.79 KB
uid items
cao-LIST
Operators

LIST

Specification Value
Description Returns a list with string values of a specified attribute from a list of objects.
The values in the list are separated. If there's no indicated separator, the list is separated with ", " (comma + space) by default.
Parameter 1 Name list
Parameter 1 Type list of objects
Parameter 2 Name attribute
Parameter 2 Type attribute of the object
// An attribute of a referent object could be used as well. See the example below.
Parameter 3 Name separator (optional)
// If Parameter3 is not specified, then the default separator is ", " (comma + space)
Parameter 3 Type string
Return value (attributeValue1, attributeValue2, ...)
Introduced in version 2019.1

Note

The operator creates a list with limited number of values - only the top 100 records of the indicated list of objects will be 'converted'.

Example:

10: LIST CHILD:Lines EXP:20 CONST:'; '
20: GETOBJVALUE REF:Product ATTRIB:Name

OUTPUT:
'ProductsName1; ProductName2 ...'

Note

The repository of the attribute is Crm.Sales.SalesOrders