AddCM12App

App Portal 2017

You can use the AddCM12App web method to add a System Center 2012 Configuration Manager application to a catalog item.

Parameters

The AddCM12App web method includes the following parameters:

AddCM12App Parameters

#

Parameters

Data Type

Description

1.  

catalogItemID

Integer

ID of the catalog item.

2.  

cm12AppID

String

Application ID in System Center 2012 Configuration Manager.

3.  

deploymentTarget

Enum value

Use one of the following values:

0—DeployToUser
1—DeployToComputer
4.  

createUninstall

Boolean

Enter True if catalog item is to trigger an uninstall; otherwise, enter False.

Return Value

Returns one of the following values:

Returns TRUE for success
Returns FALSE for failure