AddCM7Package

App Portal 2017

You can use the AddCM7Package web method to add a System Center 2007 Configuration Manager package to a catalog item.

Parameters

The AddCM7Package web method includes the following parameters:

AddCM7Package Parameters

#

Parameters

Data Type

Description

1.  

catalogItemID

Integer

ID of the catalog item.

2.  

cmServer

String

System Center 2007 Configuration Manager site server.

3.  

cmSiteCode

String

System Center 2007 Configuration Manager site code.

4.  

cmPackageID

String

System Center 2007 Configuration Manager package ID.

5.  

cmPackageData

String

String in the format of InstallType|PackageName, where:

InstallType is one of the following:
0—Install
1—Uninstall
2—Repair
PackageName is a string that identifies the package.

For example:

0|AdobeReader

Return Value

Returns one of the following values:

Returns TRUE for success
Returns FALSE for failure