-
Notifications
You must be signed in to change notification settings - Fork 36
FormatMultivaluedList Function
List<string> FormatMultivaluedList(format:string, value1:list or object[, value2:list or object,....])
Formats the multivalued list as per the specified format string.
If any input parameter is null, an exception is thrown. As of build v2.16.1028.0, if more than one value lists are supplied as parameters, they will be treated as if they are of the length equal to that of the largest list with null
as additional items. If one of the parameters supplied is a single / non-list object, e.g. a string, that parameter will be treated as if it is a list of length equal to that of the largest list filled with each item being the same object.
In build v2.16.0130.0, the function expected a single parameter to be of either string or List type. In build v2.16.0710.0, the function supported more than one List objects as input parameters. All lists were expected to be of equal lengths.
2.16.0130.0 and later
/FormatMultivaluedList("/Person[Email='{0}']", [//WorkflowData/Emails])
/FormatMultivaluedList("/Person[Manager='{0}' and ObjectID=/Group[ObjectID='{1}']/ExplicitMember]", [//Delta/Owner/Added/ObjectID], [//Target/ObjectID])
- MIMWAL Site - http://aka.ms/MIMWAL
- MIMWAL Releases - http://aka.ms/MIMWAL/Releases
- MIMWAL Documentation Wiki - http://aka.ms/MIMWAL/Wiki
- MIMWAL FAQ - http://aka.ms/mimwal/faq
- MIMWAL GitHub Code Repo - http://aka.ms/MIMWAL/Repo
- MIMWAL TechNet Q&A Forum (now read-only) - http://aka.ms/MIMWAL/Forum