The pui.beforeRender event, if defined, fires before the Rich Display Record Formats are rendered.
The pui.beforeRender method does not fire on Genie screens.
The pui.beforeRender event receives one parameter object that represents the server's response to the browser. It includes all screen layers, formats, widget metadata, and screen data. The response object can be modified directly or a new object can be returned by the event.