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
Goodluck123Goodluck123 

15 digit ID for the object

Hi,

 

Can some body help me,how to get the 15 digit Id for the custom object.

Please explain me the navigation.

 

thanks in advance

Kirtesh_JainKirtesh_Jain

Please Specify in detail , whats your question ?

 

 

Goodluck123Goodluck123

Hi thanks for your response.

 

Ok i will explain my problem,i want to capture the custom object ID(15digit) and i want make use of that in my controller class. I don't know how do that?

 

 

Thanks

Kirtesh_JainKirtesh_Jain

Are you retriving ID through Query ? if yes then retreive that Id and use string strID = string.valueof(Id) , then use string method to get substring of that ID upto 15 .

 

I think It may help you .

 

 

 

Thanks

kirtesh 

Goodluck123Goodluck123
Thanks!
Kirtesh_JainKirtesh_Jain
your problem solved ?