Click or drag to resize

SchemaDesignerServicesGetSchemasSimple Method


Retrieves collection of basic information of all Schemas, grouped into Page Schemas and Component Schemas

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<SchemasSimpleListResult> GetSchemasSimple()

Return Value

Type: XHRServiceResponseGenericSchemasSimpleListResult

Object containing collection of Page and Component Schemas' basic information

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "compSchemas": [{
            "FileName": "Folder",
            "ID": "Schema_Folder",
            "IsComponent": true,
            "Name": "Folder",
            "Version": 1
        }, {
            "FileName": "Image",
            "ID": "Schema_Image",
            "IsComponent": true,
            "Name": "Image File",
            "Version": 1
        }, {
            "FileName": "Insert",
            "ID": "Schema_Insert",
            "IsComponent": true,
            "Name": "Insert",
            "Version": 1
        }, {
            "FileName": "Media",
            "ID": "Schema_Media",
            "IsComponent": true,
            "Name": "Media File",
            "Version": 1
        }, {
            "FileName": "Navigation",
            "ID": "Schema_Navigation",
            "IsComponent": true,
            "Name": "Navigation",
            "Version": 1
        }, {
            "FileName": "HomeSlider",
            "ID": "schemas\/66",
            "IsComponent": true,
            "Name": "Home Slider",
            "Version": 2
        }],
        "pageSchemas": [{
            "FileName": "Home",
            "ID": "schemas\/33",
            "IsComponent": false,
            "Name": "Home Page",
            "Version": 2
        }, {
            "FileName": "Details",
            "ID": "schemas\/194",
            "IsComponent": false,
            "Name": "Details",
            "Version": 4
        }, {
            "FileName": "FormProcessorPage",
            "ID": "schemas\/FormProcessorPage",
            "IsComponent": false,
            "Name": "Form Processor Page",
            "Version": 0
        }, {
            "FileName": "FormFilteredResultPage",
            "ID": "schemas\/FormFilteredResultPage",
            "IsComponent": false,
            "Name": "Form - Filtered Result Page",
            "Version": 0
        }]
    }
}
See Also