• Rajiv Bhatt 7
  • NEWBIE
  • 3 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

I have a formula field that i want to display a hyperlink to a visualforce page if the value if the current userid is a member of a given queue.  What i want to do is something like this:


IF (

$User.Id IN [select Id,Name,Type,(select UserOrGroupId From GroupMembers) from Group where Type='Queue'], "some link if true",

"some link if false"

)

 

Is there any way to do something like this straight from a formula field without just going to a visualforce page that has that logic in the controller?

  • August 25, 2009
  • Like
  • 0