
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2021 10:15 AM
Hi Experts,
My goal is to be able to call a server script with glideAjax from a catalog client script, which related to a record producer. right now I'm getting null as an answer (from the glideAjax) and also my logs on the script include are not executed.
Please help, what am I missing?
record producer:
catalog client script :
script include:
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2021 04:22 PM
solution.
calling isPublic() solved the issue.
Reference:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2021 10:41 AM
Within the script include you are using a parameter 'sysparm_field'. Within your client script you are calling a variable called 'field'. Not sure if this variable called name exists, or why it is being used.
Also, not sure if getXMLAnswer is a function that can be used in the portal.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2021 11:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2021 11:45 AM
If I am not wrong gs.log does not work in Scoped Application.
Can you use gs.info in Script Include to check if the script include is at least being invoked ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2021 12:02 PM
I tried gs.info too. still no logs.