JSON.parse is not working is out put showing [object object]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 06:29 AM
Client script onchange
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 08:38 AM
Hi @Abhishek Padol1,
So this is interesting. I've 'copy and pasted' both your Client Script and Script Include on my PDI (Personal Dev Instance) and adjusted the client script accordingly from a test perspective to update just the one field.
It works as expected and sets the value.
On trying to break test the code, I looked at unchecking the 'Client callable' checkbox etc on the Script Include but again, this essentially only provides an empty result as you'd expect.
Where do you experience the [object object] result? Is this when setting a value? All values? When displaying theaddInfoMessage() ?
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.
Thanks, Robbie