- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2024 02:30 PM
Hello guys!
For a few days now I've been trying alone to overcome the error "Access to Script Include global.CEP_Client blocked from scope: x_1393966_a_a_no_0" and I still haven't succeeded.
In the record procuder, I am entering a ZIPCODE and trying to return data such as street name, neighborhood, state, city. But the mentioned error occurs.
Record producer.
I'm a beginner and this solution is part of my learning process. I've changed several things, redone all the work, read the documentation and I'm doing something wrong that I don't realize what it is. Please, can you give details, including if the code is wrong or missing something?
Catalog Cliente Scripts
Script Include
Can anyone help me?
Thanks in advance!
Phlavio
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2024 03:04 PM - edited 08-11-2024 03:04 PM
Hello,
Your CEP_Client script include isn't in the global scope? It's part of your custom application (look at your application field in second screenshot)? See the API name in your second screenshot? You'd want to use that, instead.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2024 06:11 PM
Hi @phf ,
As the Script Include and Catalog client script are in same scope, try replacing your code in line 6 in Catalog client script with following code.
var ga = new GlideAjax('CEP_Client');
Please mark this comment as Correct Answer/Helpful if it helped you.
Cheers,
Salma
