- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2016 03:08 AM
I have two users client user and enduser. I created two fields for refining the locations but both fields are showing same set of locations.
My Requirement : If the user is client user, he should get separate list of locations based on his role, similarly if the user is enduser he should be able to see separate list of locations other than client user.
How this can be achieved?
Regards,
Priyanka
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2016 04:14 AM
Priyanka,
Just go to the dictionary of Location field. I assume in the reference table field you have given "Location" table.
Now select the Reference Qualifier as Simple:
Put the filter condition:
User is javascript:gs.getUserID();
PS: Hit like, Helpful or Correct depending on the impact of the response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2016 03:56 AM
Priyanka,
Do you need list of location depending upon the users or the role of the users.
Like Assume if user A is part of Location 1, 2, 3
So the location 1, 2, 3 will be listed when user A opens a form.
Is this your query?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2016 03:58 AM
Hi Mishra,
Yes you are right!!
I need locations depending on the user.
--Priyanka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2016 04:14 AM
Priyanka,
Just go to the dictionary of Location field. I assume in the reference table field you have given "Location" table.
Now select the Reference Qualifier as Simple:
Put the filter condition:
User is javascript:gs.getUserID();
PS: Hit like, Helpful or Correct depending on the impact of the response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2016 04:18 AM
Thank you!!
It works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2016 04:23 AM
Hi mishra ,
One more thing I want to confirm, there is no field to write the condition ( javascript:gs.getUserID(); ),
So I selected Contact is user1 for field1 ?
Is this correct?