getRawMetadata()
Obtains the complete metadata of the component in its raw and unresolved format.
Returns
The raw metadata of the component as an object.
Parameters
This API does not have parameters.
Usage example
In this example, the API returns the raw unresolved metadata for a simple
Table
component.
{
"type": "Table",
"config": {
"referenceList": "D_pyMyWorkList.pxResults",
"rowClickAction": "openAssignment",
"personalizationId": "pyMyWork-D_pyMyWorkList",
"fields": [
{
"type": "Text",
"config": { "label": "@L Priority", "formatType": "number", "value": "@P .pxUrgencyAssign" }
},
{
"type": "Text",
"config": { "label": "@L ID", "value": "@P .pxRefObjectInsName" }
},
{
"type": "Text",
"config": { "label": "@L Label", "value": "@P .pyLabel" }
},
{
"type": "DateTime",
"config": { "sortDirection": "DESC", "sortPriority": "1", "label": "@L Creation date/time", "value": "@P .pxCreateDateTime" }
},
{
"type": "Text",
"config": { "label": "@L Status", "value": "@P .pyAssignmentStatus" }
}
]
}
}
Previous topic getPageReference() Next topic getReferencedUser(userId)