+ Start a Discussion

Get App Id and Tab Id in apex

How to get Application Id and Tab Id in salesforce?


Thanks for the reply.

But i want app Id of my application. Do you know any way to get that?


Rahul SharmaRahul Sharma

Do you want to find the id or name of your tab through apex code?


For a object tab, Its Id is  first 3 prefix of Object Id.


If lead id = 00Q90000003PcLb, then, 

Leads tab's Id = 00Q


Hi Rahul,

 I have created the XYZ appliaction in my org. So is there any way to get id for XYZ appliaction in my org?