update a hard coded widget / script gs.message

I recently encountered an issue with gs.getMessage without a corresponding message in UI messages, effectively the message string being hard coded in the widget code. Became evident in the online checkin widget for Walk-up Experience (NY version)

the resolution is simple: simply create a UI message in the application scope of the widget being looked at, and give its key name the exact wording of the hard coded gs.getMessage string

example

Comments

Popular posts from this blog

GlideRecord setValue

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy