getDataPageObjects(useCache)
Retrieves the list of data objects in the current application.
Returns
A Promise that resolves to a response containing data objects corresponding to data pages.
Parameters
Name | Type | Description | Required |
useCache | boolean | The flag that determines if session cache must be used. | ❌ |
Usage example
In this example, the API returns the list of classes with data pages of type list that have no parameters and which can be queried and backed by a report definition.
const dpObjs = PCore.getAnalyticsUtils()
.getDataPageObjects(false)
.then(({ data }) => {
const { dataPages } = data;
return dataPages;
});
Previous topic getDataObjects() Next topic getDataViewMetadata(dataViewName, skipStoreCheck)