Documentation

documentgenerator.template.getfields

documentgenerator.template.getfields(id, entityTypeId, entityId, values = [])

The method returns template ID and returns list of template fields with their description.

Parameters

Parameter Description
idTemplate ID

Example

"templateFields": {
    "DocumentNumber": {
        "title": "Number" // title
        "value": "22" // value
        "group": [ // hierarchy
            0: "Document"
        ],    
        "default": "22" // default value
    },
    "SomeDate": {
        "value": "", 
        "default": ""
    },
    "SomeName": {
        "value": "", 
        "default": ""
    }
}


© «Bitrix24», 2001-2024