dms.AddStoredQuery
This job creates a new stored query. The query must be passed in DMS Query format. The query is converted to the internal format for stored queries. Since the stored query format only allows a subset of DMS Query request possibilities, there are certain limitations. See dms.ConvertQuery.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Flags must be 0 |
|
STRING |
Yes |
Name of the query |
|
BASE64 |
Yes |
Request in DMSQuery XML format |
|
INT |
No |
ID of the desktop folder where the query is located |
|
STRING |
No |
Scope. Allowed values: 'Public' for public queries, 'Private' for user-specific queries. Default is 'private'. |
|
INT |
No |
ID of an icon that is displayed in the client. Default=0 |
|
INT |
No |
Action to be performed when opening the stored query. |
3. Return Value
(INT): 0 = Job successful, otherwise error code
Complete error list