I am novice to salesforce, i have following usecase in my project developed using salesforce with vlocity.

1, restrict community users accessing URLs to community pages based on a flag (flag is coming from external API).

2, Hide or disable html element based on the flag.

Basically how to handle this kind of authorization in salesforce community (having number of lighting components and vlocity components)?


  • 1
    Welcome to SFSE, please take some time to read How to Ask and take the tour. Once you have done so, make sure you include details of your problem (screenshots, steps to reproduce etc.) alongside with any errors you get when applied your solution.
    – Eduard
    Commented Aug 23, 2018 at 14:45
  • 3
    Have a look at Audience Targeting developer.salesforce.com/docs/…
    – Folkert
    Commented Aug 23, 2018 at 14:52

1 Answer 1


The method depends on the technology you're using. Here are 3 articles you can look at to determine how to get information from the URL into your code.

  1. Get URL Parameter of lightning component
  2. Get URL Parameter in Visualforce
  3. get URL parameter Apex

You must log in to answer this question.

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