Integration Server 10.5 | Built-In Services Reference Guide | Packages Folder | Summary of Elements in this Folder | pub.packages:activatePackage
 
pub.packages:activatePackage
WmPublic. Activates (makes available to clients) an inactive package.
You use this service to activate a package that was not activated when it was initially installed or recovered.
Note:
This service activates packages from an inactive state (that is, packages that are installed on the server but are not registered in the active-package list). To enable a package that is in a disabled state, you use pub.packages:enablePackage.
Input Parameters
package
String Name of the package that you want to activate. Package names are case sensitive.
Output Parameters
message
String Message from server. (This is the same message that you receive when you activate a package with the Integration Server Administrator.)
Usage Notes
This service will throw an exception if the package specified in package does not exist or cannot otherwise be activated.
When a package is activated, it is loaded into memory in an enabled state (that is, activatePackage automatically activates and enables the package.) You do not need to explicitly enable it with pub.packages:enablePackage.
See Also
pub.packages:enablePackage
pub.packages:installPackage
pub.packages:recoverPackage