2

I would like a single Lightning Record Page to have 2 components, each visible only to a specific set of users. There are a few users identified as 'beta testers' and one version of the component should be made visible to these users, which others will view the other users will see a different version.

From what I have tried so far, component filters have CONTAINS, EQUAL and NOT EQUAL condition. Can someone suggest a way to do this?

-- Update (30/04/2019) -- I have used filter logic to handle this. Didn't realise there is an option to use NOT operator in the filter logic!

9
  • Do they all have the same profile? What attributes differentiate them from one another other than their username or userId? Can you make them members of a Group or create a permission set?
    – crmprogdev
    Commented Apr 28, 2019 at 14:36
  • Yes, they all have the same profile and there's no other differentiator field on their record. However, I can make them members of a group/assign a permission set manually.
    – yeselkay
    Commented Apr 28, 2019 at 15:08
  • 3
    The permission set/group would seem to me to be the most obvious and simplest solution to your issue.
    – crmprogdev
    Commented Apr 28, 2019 at 23:46
  • I suggest you to change the title of your question. Is a bit misleading.
    – gvgramazio
    Commented Apr 29, 2019 at 8:00
  • @gvgramazio - Thank you for your suggestion. Mind telling me what's misleading? Will change the title accordingly.
    – yeselkay
    Commented Apr 29, 2019 at 16:04

1 Answer 1

3

If you don't mind add to the User object, just create a custom checkbox field on the User called Beta Tester and then you could conditionally show components on the page based on this true/false checkbox.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .