• thomasstachl
  • NEWBIE
  • 0 Points
  • Member since 2011

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

Hey guys,

I have two custom objects: A and B. I want to relate these two objects via tags. So for example I show object A on my Visualforce page. Now every object B that has the same tags as object A should show up under object A:

 

VF Page:

 

A (tags: x,y,z)

 

-B (tags: x,y)

-B (tags: y)

-B (tags: x,z)

 

How can I realize that? How would the SOQL query look like?

 

Thank you very much for your effort,

Josh :-)