Skip to content

Instantly share code, notes, and snippets.

@patgmac
Created July 26, 2014 18:08
Show Gist options
  • Save patgmac/34b2c34fcff2c7b756ab to your computer and use it in GitHub Desktop.
Save patgmac/34b2c34fcff2c7b756ab to your computer and use it in GitHub Desktop.
By default these URLs are disabled. They need to be enabled by an Admin
side server pref key
Key: AllowURLSDPackageImport
Type: Boolean
Dafault: false
This implemented via a URL schema. To import a package use
lanrevadmin://importsoftwarepackage?packagepath=/tmp/mypackage.amsdpackages
&committoserver=1
lanrevadmin://importsoftwarepackage?packagepath=/tmp/mypackage.amsdpackages
packagepath is the path to the SD package. The path has to be URL encoded.
If the committoserver is not specified then no commit will happen after
the import. A manual commit can be done by this URL
lanrevadmin://commitsoftwarepackagechanges
@tburgin
Copy link

tburgin commented Jul 29, 2014

Good call. That works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment