The Location lookup is not rendering

RohitN244878896
Giga Expert

When I click on the location lookup it is not rendering and it is stuck like the screenshot shown below. It is not showing up any data for long time

RohitN244878896_0-1782481706542.png

And I am getting like below only when I remove the dependent field company from dictionary

 

1 ACCEPTED SOLUTION

RohitN244878896_0-1782485021934.png

Once dependent field - company is removed from Location dictionary the issue is resolved. And additionally for the hierarchy format we need to make the tree_picker attribute as false. If it is true it will show like in the picture mentioned

View solution in original post

7 REPLIES 7

Hey Rohit — so it's the dependency, not the cache. Once you remove the Company dependency the list loads, which means the lookup was being filtered by the record's Company and that filtered set came back empty — modal opens but stays blank.

 

So it's the dependent field config, not the lookup. Quick confirm: grab the sys_id for "Unknown Marketing Account" and run the Location reference qualifier in a background script — if nothing comes back, those Location records just aren't tied to that company.

 

Before you finalize: should Locations be scoped by Company here? If yes, removing the dependency only hides it and the real fix is the data. If no, removing it is fine. Just worth knowing which before you ship.

Tanushree Maiti
Tera Patron

Hi @RohitN244878896 

 

1.  The location reference field may fail to load if a user lacks access to the underlying table or if a custom Read ACL is blocking access to records. 

Verify if non-admin users have the correct roles for the cmn_location table.

 

2.  if you are Admin - clear the instance cache by navigating to cache.do in the filter navigator.

 

 3. End-users should clear their browser cache and cookies or test the form in an incognito window

 

4. Last check if there is any dependency to populate that location field on that table ,  meaning it requires values in other fields to narrow down options.

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Thanks for you reply, I am doing this as admin. It is not working out the way you mentioned.