Table Name field type not displaying all the tables

Mussie
ServiceNow Employee
ServiceNow Employee

Hi Guys,

I have got a table created in a scoped app (not global) and in there I have a field with 'Table Name' type and I need to select other Global tables outside the scoped app but I can't see the global tables. Is there a way I can by pass this restriction? Checked the attributes list here but couldn't find anything relevant.

Regards,

Mussie

1 ACCEPTED SOLUTION

Wallace Roets
ServiceNow Employee
ServiceNow Employee

Hi Mussie,



Try using the allow_public Dictionary Attribute.


An alternative Solution would be to use a Reference Field instead and point that to 'sys_db_object'.



Regards,



Wallace


View solution in original post

6 REPLIES 6

srinivasthelu
Tera Guru

Hi Mussie,



Each table will have application access settings, I think thats what controls the behaviour here. Below is the screen shot of incident table indicating that it is allowed to be accessible from all scopes.



Capture.JPG


The SN Nerd
Giga Sage
Giga Sage

While ServiceNow allows you to change these on Global tables, these changes will not be applied to your scoped app.



You have to assume that if by default you can't see a table, you will not be able to in your app.


ServiceNow will not certify functionality that depends on changing Global configuration.



ServiceNow Nerd
ServiceNow Developer MVP 2020-2022
ServiceNow Community MVP 2019-2022

Mussie
ServiceNow Employee
ServiceNow Employee

Thanks guys, unfortunately changing the table to global is not an option for me. Any other means you can think of or is this a no-go?


Mussie


Wallace Roets
ServiceNow Employee
ServiceNow Employee

Hi Mussie,



Try using the allow_public Dictionary Attribute.


An alternative Solution would be to use a Reference Field instead and point that to 'sys_db_object'.



Regards,



Wallace