I'm working with a custom record in NetSuite and I want to display a green message.create() confirmation message when the record is viewed, but only if the URL contains the parameter isProcessed=true.
I want to show a green NetSuite-style confirmation message for 4 seconds in VIEW mode of a custom record if &isProcessed=true is in the URL.
I tried using a Client Script with pageInit(), but it doesn’t run in VIEW mode.
I also tried injecting a <script> tag via inlinehtml field in a User Event Script — but the script either gets ignored or doesn't run in time.
Is there any other way of doing it or its a limitation? When does this message.create actually works?