UI Script works in Dev but not executing in Prod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2025 06:46 PM - edited 02-15-2025 06:48 PM
The script below works in Dev but for some reason is not executing when I moved it to Production. What am I missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2025 07:12 PM
Hi @JLeong - How did you go about promoting the code from Development to Production? I would start by making sure that getUserInfo exists in Production, in the global scope, and is client callable. You might also confirm if the client script has "Isolate script" set to true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2025 07:47 PM
Thanks Sheldon for responding to my question.
- getUserInfo exists in Production - Yes
- global scope - Yes
- client callable - Yes
- Isolate script doesn't exist in UI Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2025 08:58 PM
Hi @JLeong
Compare with Dev and see if this UI Script is missing in respective Portal Theme JS includes in Prod.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2025 04:09 AM
Hi Swapna, I am not sure how to do that. Could you please provide instructions.