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
RakheebRakheeb 

how can i append the current detail page id on contact?

Hi gusy ,how can i append the current detail page id on Contact.But i now using visual force we can create like this "select Email from Contact where id = :ApexPages.currentPage().getParameters().get('id')];" but how can i get the id from detail page on conatct so kindly let me know using above query string . 

Chris JohnChris John

Hi,

 

What is your use case? Do you mean you want to display the contact Id when viewing a Contact detail page?

 

If so, you can just create a custom formula field with the formula text simply 'Id'.

 

Thanks,


Chris