Not getting values in Reference qualifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 11:52 PM
Hi,
I have created 1 reference type variable and referenced it to table 'Contact'.
I want that users same as logged in users account should only be visible in the dropdown.
So I used the advanced qualifier and wrote the qual as '
javascript: 'active=true^account='+gs.getUser().getCompanyID();
but in dropdown I am only getting the logged in user. Where is it going wrong. Please advice
- Labels:
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2022 01:07 AM
No, I tried the same, working just log out and log in again. You will get value.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2022 01:11 AM
Logging out and logging in did return a value.
Don't know why. gs.getUserID() was returning the value properly even before logging out and in.
getCompanyID() seems unstable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2022 01:08 AM
I also just reproduced. Initially, also my test gave a blanc result. Checked my user record, no company... filled the company, retest: still blanc.
Logged off, logged in again, retest (exact same code): success.