fetchViewResources(viewName, c11nEnv, classID)
Obtains the view metadata from the rule store.
Returns
The view metadata as an object.
Parameters
Name | Type | Description | Required |
viewName | string | The name of the view rule. | ✅ |
c11nEnv | string | The context
object. Example:
| ✅ |
classID | string | The class name of the case type. | ✅ |
Usage example
In this example, the API returns the view metadata from the rule store.
const viewMetaData = PCore.fetchViewResources("viewname", getPConnect(), "OPB1HW-MyApp-Work-MyCase");
Previous topic APIs in the ViewResources module Next topic updateViewResources(dxAPIResponse)