The CreatorCon Call for Content is officially open! Get started here.

cannot access table from a scoped application

kazidon
Giga Contributor

I have a scoped application that I am trying to have access a table in the global application. I have set up the cross scope privileges and I don't have an issue access other tables from Global just that one. Any idea on what might be going on? here are some screen shots to help.

cross scope privilege set up

find_real_file.png

 

user access list on global

find_real_file.png

1 ACCEPTED SOLUTION

To confirm whether you are able to access the custom global table via the scoped app or not. You can follow the below steps.

 

1. Navigate to background-scripts and execute the below script.

var gr = new GlideRecord('u_user_access_list');
gr.addQuery('u_user', 'bdb4e9601341b2006bda75c36144b062');
gr.addQuery('active', true);
gr.query();
while(gr.next())
{

gs.info(gr.getRowCount());

}

 

NOTE: Make sure to select the correct scope before triggering this script.

 

Thanks,

Pradeep Sharma

View solution in original post

6 REPLIES 6

thanks for pointing me in the right direction, it wasn't working because 'active' should have been 'u_active'. F!

You are very welcome Kazidon. I'm glad your issue is resolved now.

 

Thanks for participating in the community!

 

-Pradeep Sharma