Skip to main content

SetMultipleValues

This Script is part of the Common Scripts Pack.#

Sets multiple key/value pairs to the context under a common parent key.

Script Data#


NameDescription
Script Typepython
TagsUtility

Inputs#


Argument NameDescriptionRequired
parentThe parent key to which we append all the other keys.Required
keysSeparated list of keys separated by the specified delimiter (Comma is the default delimiter).Required
valuesSeparated list of values separated by the specified delimiter (Comma is the default delimiter).Required
delimiterDelimiter by which the content of the values and keys lists are separated.
Eg: "," , ":", "

Outputs#


There are no outputs for this script.

Example#


Command#

!SetMultipleValues parent=test_parent keys=key1,key2,key3 values=val1,valu2,val3

Context Result#

Example Output