Exposes SDK functions for Versioning functionalities
Function to create a newversion of an object.
const versionSdk = VlocitySDK.productconsole.getInstance().getVersioningSdk(); const version = versionSdk.getVersionObject(); version.name="Version 1"; version.objectAPpiName="Product2"; version.objectId = "00DFEV23423"; versionSdk.createVersion(version).then(result=>{ Logger.info("create version remote action success " + result); }).catch(error=>{ Logger.info("create version remote action failure " + error); })
{Error} - "Object Id and Object name are required to get object details by id."
Creates an instance of Version object and returns it.
const versionSdk = VlocitySDK.productconsole.getInstance().getVersioningSdk(); const version = versionSdk.getVersionObject(); version.name = "Version 1";
Generated using TypeDoc
Exposes SDK functions for Versioning functionalities