GlideAjax in Catalog clien script don't work with non-admin user

Matteo4
Tera Contributor

I created a catalog client script onLoad that call a script include using GlideAjax but on portal when i open the item, with admin the ajax call work, with other user (without role) don't work. I inserted some log on script include and with no-admin user the script include is not execute.

This is the call:

find_real_file.png

This is the called function:

find_real_file.png

This is the result with admin:

find_real_file.png

This is the result without admin:

find_real_file.png

-----------------------------------EDIT-----------------------------------------

My script include:

find_real_file.png

My catalog client script:

find_real_file.png

 

Anyone can help?

Thanks

1 ACCEPTED SOLUTION

Hi Can you add the below function after line number 3


isPublic: function () {
return true;
},

 

Regards
Harish

View solution in original post

10 REPLIES 10

Hi Can you add the below function after line number 3


isPublic: function () {
return true;
},

 

Regards
Harish

Thanks, now work

Community Alums
Not applicable

@Harish KM Thank you so much for this!!! Was breaking my head since morning what role/ACL is causing the issue!

This just resolved my issue. Thanks!!

Community Alums
Not applicable

Thank you for the solution - had the same issue and was researching and testing for an hour - your solution helped!