pui.getAllScreenProps()

pui.getAllScreenProps()







Examples

Retrieve Array of Displayed Record Formats
 var recs = pui.getAllScreenProps(); // returns an array of record formats that are currently displayed. var userData = rec[0]['user defined data']; // returns the value of the user defined data property for the first record in the recs array.



Retrieve Object of Record Format Properties
var myRec = pui.getAllScreenProps('CTL'); // returns an object containing all the defined screen properties for the 'CTL' record format. var userData = myRec['user defined data']; // returns the value of the user defined data property.