Skip to content

Instantly share code, notes, and snippets.

@tsegismont
Last active December 25, 2015 04:29
Show Gist options
  • Select an option

  • Save tsegismont/6918040 to your computer and use it in GitHub Desktop.

Select an option

Save tsegismont/6918040 to your computer and use it in GitHub Desktop.
createPackageBackedResourceViaContentHandle
var contentHandle = scriptUtil.uploadContent(pathName);
ResourceFactoryManager.createPackageBackedResourceViaContentHandle(
parentResourceId,
applicationTypeId,
packageName,
pluginConfiguration,
packageName,
version,
null, // architectureId
deployConfig,
contentHandle,
null // timeout
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment