Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

This API sets field values using the properties of a JavaScript object.

...

Code Block
languagejavascript
// Retrieve data into a record object by querying a table using product id
var record = pjs.query("SELECT * FROM productsp WHERE prid = ?", prid, 1);

// Set matching global declared fields, including any screen fields
pjs.setFields(record);
 
// Display the screen
display.myform.execute();
 
// Retrieve user input back into the record object
record = pjs.getFields(record);

Video Tutorial

Widget Connector
width640
urlhttps://www.youtube.com/watch?v=cyBz6QXm08A
height360