You need to sign in to do that
Don't have an account?
Execbiz
Tagged records and dealing with them in Apex/VF
How does one deal with record tags in Apex and Visualforce? For instance, if I want to create a visualforce page that includes a dataTable of records with a certain tag, how do I search for the relevant records in my controller? Is it a set of fields (Personal Tags, Public Tags) similar to a picklist multi-select?
I'm not really sure how to approach this
Thanks
snuggles
You can query the tag tables, one for each object. They follow the format of AccountTag, CaseTag... Just use SOQL in the controller to get the info you need, look up "tag" in the web services api doc to get a complete description of the tag model. The type distinguishes between public and private.