Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

getting error for cross scope access privilege

Prakash_S
Tera Contributor

Getting below error from portal

Scenario:

i have created one widget in 'Knowledge Management - Service Portal' application and doing GlideRecord from table 'u_kb_template_test_article' which in global application.

I have granted the access from table and also created record in Cross scope privilege but still getting this error.

 

Read operation on table 'u_kb_template_test_article' from scope 'Knowledge Management - Service Portal' was denied. The application 'Knowledge Management - Service Portal' must declare a cross scope access privilege. Please contact the application author to update their privilege requests.

 

 

 

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

@Prakash_S ,

 

Instead of creating widget in 'Knowledge Management - Service Portal' application you can create that in global application and used that widget in your scoped app.

 

 

If not then do below.

Define a cross-scope access policy.

Go to Application Cross-Scope Access and create a new record.

RunjayPatel_0-1731332616021.png

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

 

View solution in original post

2 REPLIES 2

Runjay Patel
Giga Sage

@Prakash_S ,

 

Instead of creating widget in 'Knowledge Management - Service Portal' application you can create that in global application and used that widget in your scoped app.

 

 

If not then do below.

Define a cross-scope access policy.

Go to Application Cross-Scope Access and create a new record.

RunjayPatel_0-1731332616021.png

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

 

Thanks @Runjay Patel , it worked! i created widget in global.