Optionaloptions: VlocityDatapackCreateOptionsPrivate#dataReadonlydataReadonlydatapackOptional ReadonlyheaderReadonlykeyOptional ReadonlyprojectPrivateforPrivategetRecursively iterate over this datapack and child objects
object
PrivategetIterate over the relationship from this datapack to other objects
PrivategetReturns a list of fields in this datapack that are considered global keys. Tries to match the standard GlobalKey__c format as well as group and version global keys.
List of global key fields in this datapack
PrivategetRecursively iterate over the properties of this datapack and it's child objects
object to iterate over
PrivategetIterate over the relationship from this datapack to other objects; the generator yields all references found and does not remove any duplicates
PrivatereplaceReplace the global key on the specified object and all of it's child datapacks. with a new global key. This is useful when you want to clone a datapack. Optionally, you can provide a new global key to use otherwise a new one will be generated in UUID format.
Datapack to replace global key on
Field name of the global key
OptionalnewGlobalKey: stringOptional new global key to use
The new global key
PrivatesetUpdates the global key of this datapack in-place and all of it's child datapacks. Use with caution as this will change the global key causing the datapack to be re-inserted on the next deployment.
OptionalfieldName: stringField name to use as global key. If not specified, all global key fields are updated.
Simple representation of a datapack; maps common values to properties. Source of the datapsck can be accessed through the
dataproperty