App Portal 2017
You can use the createNewCatalogItem web method to create a new catalog item, and, optionally, create an associated inventory group that links to the new catalog item. If the install program has an MSI Product ID specified in the System Center Configuration Manager program, an inventory rule will be created for the inventory group.
Parameters
The createNewCatalogItem web method includes the following parameters:
# |
Parameters |
Data Type |
Description |
|||
|
Title |
String |
The title of the new catalog item. Duplicate titles are not accepted. |
|||
|
Description |
String |
A description of the item. |
|||
|
Visible |
Boolean |
Whether the catalog item is visible (Equivalent to “Is Globally Visible”) |
|||
|
ImageFileName |
String |
The file name of the image to display. The file must exist in the App Portal\Web\Backgrounds\Packages directory. |
|||
|
PackageServer |
String |
The netbios name of the SCCM server where the package exists |
|||
|
SMSPackageID |
String |
The SCCM PackageID representing the SCCM Package |
|||
|
SMSPackageData |
String |
The formatting for the SMSPackageData is Program Action(0 - Install,1 - Uninstall,2 - Repair)|Language ID (0 for English)|Office 2007 Install (Program Name) 'Separate each entry with a comma e.g. 0|0|InstallInteractive,1|0|UninstallInteractive |
|||
|
TemplatePackageID |
Integer |
The template package ID will copy over the existing settings from that catalog item including request options, visibility, approval, approval process, and Actions. |
|||
|
CategoryNames |
String |
Separate each entry with a comma e.g. Software, Adobe. If the category does not exist it will be created and assigned to the root node. |
|||
|
GroupNames |
String |
Add to security groups on approval. Separate each entry with a comma e.g. Domain\Group1,Domain\Group2 |
|||
|
MembershipType |
Integer |
Type 0 for User, 1 for computer or 2 for both |
|||
|
CreateInventoryRecord |
Boolean |
Create a SCCM Inventory Record with the same name and assign it an inventory rule derived from the MSI Product ID of the install program. |
|||
|
SCCMInventoryAttribute |
String |
Add any additional attributes to the inventory rules for the new inventory group. This is in addition to the MSI product ID extracted from the install program. |
Return Value
PackageID (integer)
App Portal / App Broker 2017 Administration Guide18 July 2017 |
Copyright Information | Flexera Software |