Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.


Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

Jump to: navigation, search

JavaScript Representation of Configuration Objects

Within SPD files, configuration objects are selected/read, created, updated, and deleted. To facilitate the manipulation of configuration objects, they are represented as JSON objects. This page outlines the principles that are used to represent configuration objects as JSON objects.

Configuration objects are flattened to two levels and all fields of an object are either represented as a top-level parameter or as a list/array of collections of parameters.

The following is an example of a CfgApplication object:

{
    "componenttype": "CFGAppComponentUnknown",
    "resources": {
        "resource": []
    },
    "folderid": "102",
    "isprimary": "CFGNoFlag",
    "state": "CFGEnabled",
    "startuptimeout": "0",
    "appservers": {
        "conninfo": [{
            "longfield1": "0",
            "id": "default",
            "timoutlocal": "0",
            "longfield4": "0",
            "longfield3": "0",
            "longfield2": "0",
            "appserverdbid": "104",
            "mode": "CFGTMNoTraceMode",
            "timoutremote": "0"
        }, {
            "longfield1": "0",
            "id": "default",
            "timoutlocal": "0",
            "longfield4": "0",
            "longfield3": "0",
            "longfield2": "0",
            "appserverdbid": "106",
            "mode": "CFGTMNoTraceMode",
            "timoutremote": "0"
        }]
    },
    "appprototypedbid": "100",
    "type": "CfgApplication",
    "portinfos": {
        "portinfo": []
    },
    "password": "password",
    "shutdowntimeout": "0",
    "version": "8.1",
    "subtype": "CFGSCE",
    "name": "default",
    "redundancytype": "CFGHTNoHAType",
    "dbid": "100",
    "autorestart": "CFGNoFlag",
    "options": {
        "property": [{
            "value": "200",
            "section": "rptui",
            "key": "dashboard.max.filtered.items"
        }, {
            "value": "-05:00",
            "section": "rptui",
            "key": "tzoffset"
        }, {
            "value": "1",
            "section": "TenantCreateDialog",
            "key": "EnableNewTenCustomization"
        }]
    }
}
This page was last edited on December 13, 2018, at 06:18.

Feedback

Comment on this article:

blog comments powered by Disqus