You can export the parameters of a viewlet to a local file. For example, for a queues viewlet, the following parameters are included in the file:
- Viewlet name
- WGS
- Node
- Manager
- Object Name
- EMS checkbox
- Find messages (message criteria), if any
- Attribute filters, if any
To export a viewlet's properties to a JSON file, select Export viewlet to file from the viewlet's menu.
A JSON file will automatically be saved to your Downloads folder. This file can then be used to create a new viewlet. See Adding a viewlet to your dashboard.
Sample File Contents
{
"version": "v10.3.0.9",
"wgsConnections": [
{
"connectionId": 1,
"connectionName": "Primary Connection",
"serversList": "127.0.0.1",
"port": 4010
}
],
"schemas": [
{
"id": 57,
"name": "Default EMS Route Info Dir",
"objectType": 54,
"defaultSortColumn": "Route Info name",
"defaultSortDirection": 0,
"attributes": [
{
"schemaId": 57,
"attributeParameter": 30143,
"sortOrder": 1
},
{
"schemaId": 57,
"attributeParameter": 30149,
"sortOrder": 2
},
{
"schemaId": 57,
"attributeParameter": 30155,
"sortOrder": 3
},
{
"schemaId": 57,
"attributeParameter": 30147,
"sortOrder": 4
},
{
"schemaId": 57,
"attributeParameter": 30154,
"sortOrder": 5
},
{
"schemaId": 57,
"attributeParameter": 30150,
"sortOrder": 6
},
{
"schemaId": 57,
"attributeParameter": 30151,
"sortOrder": 7
},
{
"schemaId": 57,
"attributeParameter": 30153,
"sortOrder": 8
},
{
"schemaId": 57,
"attributeParameter": 30145,
"sortOrder": 9
},
{
"schemaId": 57,
"attributeParameter": 30146,
"sortOrder": 10
},
{
"schemaId": 57,
"attributeParameter": 20109,
"sortOrder": 11
}
]
}
],
"attributeFilters": [],
"messageCriteria": [],
"externalViewlets": [],
"searchViewlets": [
{
"id": 285,
"name": "EMS Routes",
"connectionId": 1,
"searchData": {
"nodeName": "EMSNodeBOA7",
"qmgrName": "*",
"objType": 26,
"objSubType": 5,
"dataLimitOffset": 100,
"extraName": null,
"projectId": null,
"productType": 1,
"showEmptyQueues": true,
"showSystemObjects": true,
"activeAttrFiltering": true,
"viewletColor": null,
"showInactiveCh": true,
"flatColor": false,
"activeFindMsgs": true,
"attributeFilterId": null
},
"searchObjNames": [
"*"
],
"schemaId": 57
}
],
"favoriteViewlets": [],
"searchDashViewletData": [
{
"viewletId": 285,
"viewletType": 717,
"pos": 2,
"visible": true,
"expanded": true,
"height": 400
}
],
"favoriteDashViewletData": [],
"externalDashViewletData": []
}