GlideHistorySet is not allowed in scoped applications

Suganya9
Tera Contributor

Hi All,

When I used 'GlideHistorySet' in one of the script include in my scopped application am getting the below error.

"Exception Message: JavaException: java.lang.SecurityException: GlideHistorySet is not  allowed in scoped applications"

May I know the alternative method for 'GlideHistorySet' in scopped application.

Thanks in Advance!

1 ACCEPTED SOLUTION

To access the protected class, in GLOBAL you need to make a script include that runs the protected class.  You need to ensure the new script include (in GLOBAL) is accessable to scopes.  Then call the new Script Include (that is in GLOBAL) from your scope.

This is how you bypass that protection.

View solution in original post

6 REPLIES 6

Thanks @Jay Michael,

Just stumbled over this post and it provides what I'm looking for...  Thanks.

 

Happy Friday - Robbie

wohoo happy to help!!