Script include in workspace client script

Misgun
Tera Contributor

I have a workspace client script that calls a script include but doesn't seem to work the same script works on the platform side but not on the workspace side.

1 ACCEPTED SOLUTION

I believe that's the issue, I found out that if the script include is in a scoped app the workspace client script won't be able to access it. So, try recreating the script include in the global scope and test it out.

 

If this helped you address the issue please mark it as helpful and accept it as a solution.

View solution in original post

4 REPLIES 4

Misgana
Tera Guru

@Misgun 

Is your script include on a scoped app?

Misgun
Tera Contributor

Yes @Misgana it is.

I believe that's the issue, I found out that if the script include is in a scoped app the workspace client script won't be able to access it. So, try recreating the script include in the global scope and test it out.

 

If this helped you address the issue please mark it as helpful and accept it as a solution.

ajs4
Tera Contributor

For Scoped Application : Use fully qualified name of script include (i.e API Name) in the  GlideAjax  constructor used in the  work space client script