Display Message Upon Record Load
Is there any way to display a message upon loading a record in view mode? Apparently, pageInit doesn’t execute in view mode. So my message will display in edit mode, but I can’t get it to work in view. I even tried jQuery and couldn’t get it to work.
Use a user event script and Form.addPageInitMessage to add your message
The alternative is to use Form.clientScriptModulePath to add a script that displays your message

That worked! Thanks!