error in client callable script include ACL

VSN
Tera Expert

i am creating ACLS's for client callable script includes on a custom application.

here i got 2 script includes having with same name . one is on custom app and another is on Global application.

 

i am creating acl for custom scope script include, i am getting error by saying-- "Invalid Access control record as it cannot protect an outside page, processor, or script. The script include named "** script include name **' is in application 'Global', but the current application is "** custom app**.

3 REPLIES 3

Mark Manders
Mega Patron

You will probably run into more issues with having the same name, even though it is in a scoped application. I think it would be better to rename the scoped SI.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Ankur Bawiskar
Tera Patron
Tera Patron

@VSN 

I agree with Mark here.

Change the name and see if any error and share us the updates

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Sandeep Rajput
Tera Patron
Tera Patron

@VSN As a thumbrule one should not mix names of scoped script include with the global ones. Keep the names distinguished and you won't face such errors.