16.5.2 Passing Client-Side Data to Dialogs

Construct appropriate dialog links to pass dynamic client-side values to a dialog, with or without server-generated checksums.

Pages can link declaratively to others when the passed parameter values don't change after rendering. But here the selected job ID is dynamic. The user changes the hidden selected job id page item by clicking on job cards.

Only the server can compute checksums, so the two options for generating a URL that passes dynamic client values to a dialog page are:
  • Use APEX_PAGE.GET_URL in a trigger action to generate it on the server, or
  • Update placeholder values in a dialog URL template, without the additional server round trip.

Avoiding server-side URL generation, however, requires disabling session state protection on the receiving dialog page items. In both cases, JavaScript routines in an app-wide app.js can simplify the job.