pjs.getDataAreaList()
This API retrieves a list of fields defined with the 'dataArea' configuration property.
Return Value
Array of field names
Example
pjs.define("myLDA", { type: 'char', length: 1024, dataArea: '*LDA' });
pjs.define("ieMode", { type: 'char', length: 10, dataArea: 'PJSTEST/DATADS' });
Â
var list = pjs.getDataAreaList();
Â
for (var i = 0; i < list.length; i++) {
//Load the value and do not lock data-area
pjs.retrieveDataArea(list[i], false);
}
Requirements
This API requires the Profound.js Connector module.
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!