Find Type by id


#1

When I run on console c3Grid(AnalyticsQueue.errors()) I get back a InvalidationQueueError. One of the fields is targetTypeId. How do I find the name of the type from that id?


#2

Try this:

Tag.getTypeFromId(targetTypeId);

Edit: looks like this is now deprecated, use @pavan.nandikonda’s answer instead


#3

try
TypeId.get(“id”)