UpdateOfferingModel
Details for updating an offering.
Properties
| Name | Description | Additional information |
|---|---|---|
| Name | New name. |
Type: String |
| DisplayName | Display name that is shown to the end user. |
Type: String |
| Comment | Description of the offering shown to the administrator. Not visible to the end user. |
Type: String |
| Description | Description of the offering shown to the end user, in the form of a tool-tip on the icon in Receiver. |
Type: String |
| Tags |
Type: Array of String |
|
| CustomProperties |
Type: Array of CustomPropertyModel |
|
| Arguments | Command line arguments. Note that if using content redirection (file types), this must include '%*'. |
Type: String |
| ClientFolder | Folder on the client where the shortcut will show up, within Receiver. |
Type: String |
| CpuPriorityLevel | Inital CPU priority level set when the application is launched. It is not recommended to modify this from the default. |
Type: CpuPriorityLevelState |
| EnableState | Enable mode for subscriptions to the offering. |
Type: EnableMode |
| ShortcutAddedToDesktop | If true, a shortcut to the app will be added to the end-user's desktop. |
Type: Boolean |
| ShortcutAddedToStartMenu | If true, a shortcut to the app will be added to the end-user's start menu. |
Type: Boolean |
| StartMenuFolder | If the shortcut is to be added to the start menu, this is the folder path within the start menu where the shortcut will appear. |
Type: String |
| WaitForPrinterCreation | If true, the app will wait for printers to be created in the session before launching. |
Type: Boolean |
| WorkingDirectory | Working directory for the application. |
Type: String |
| ConfiguredFileTypes | File Types configured for the app. Note: you can add file types discovered by GET Offerings({id})/CompatibleFileTypes, or you can add arbitrary file types. |
Type: Array of FileTypeModel |
Sample
application/json
{
"Name": "Application",
"DisplayName": "Best App",
"Comment": "The best app",
"Description": "My app",
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
],
"Arguments": "",
"ClientFolder": "MyApps",
"CpuPriorityLevel": "Normal",
"EnableState": "Enabled",
"ShortcutAddedToDesktop": true,
"ShortcutAddedToStartMenu": true,
"StartMenuFolder": "Programs/MyApps",
"WaitForPrinterCreation": false,
"WorkingDirectory": "C:\\Program Files\\MyApp",
"ConfiguredFileTypes": [
{
"ExtensionName": ".txt",
"ContentType": "application/text",
"Name": "App.1",
"Description": "Text file",
"HandlerOpen": "C:\\Program Files\\myapp\\app.exe -file %1",
"HandlerOpenExecutableName": "app.exe",
"HandlerOpenArguments": "-file %1",
"HandlerEdit": "C:\\Program Files\\myapp\\app.exe -file %1",
"HandlerEditExecutableName": "app.exe",
"HandlerEditArguments": "-file %1"
}
]
}