function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
freshstart forcefreshstart force 

Obtain tags associated with Standard and Custom Object

How do we obtain tags associated with Standard and Custom Object fields programatically?

ca_peterson_oldca_peterson_old

They're stored in a separate table. For standard objects it's the name of the object with "tag" appended: AccountTag, DocumentTag, etc.

For custom objects, the __c at the end is replaced with __tag: myObject__tag