Let’s start in order:
This is intended to be used in conjunction with
getVariablesInLibraryCollectionAsync
id
≠ key
The argument to this method must be collection.id
, not collection.key
.
So, you need to follow the following logic:
- Get a
LibraryVariableCollection
; - Get a
LibraryVariable
; - Import this
LibraryVariable
bykey
; - Get a
variableCollectionId
in importedVariable
; - Get a
VariableCollection
byid
.
After completing the fifth step, you will have a VariableCollection
object, which you must use in the setExplicitVariableModeForCollection
method.
Collection modes will be available in the following path: VariableCollection.modes
.