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
sundhar.mks1.3962649227519546E12sundhar.mks1.3962649227519546E12 

Current id get JavaScript

Hi,

How to get the current record id in JavaScript without using visualforcepage. Is this possible means kindly give a example

Thanks...
Best Answer chosen by sundhar.mks1.3962649227519546E12
Deepak Kumar ShyoranDeepak Kumar Shyoran
If you want that Id in custom Button/Link for a SObject which having Javascript behavior then you can easily fetch it with the help of Merge fields.

All Answers

Deepak Kumar ShyoranDeepak Kumar Shyoran
If you want that Id in custom Button/Link for a SObject which having Javascript behavior then you can easily fetch it with the help of Merge fields.
This was selected as the best answer
shiv@SFDCshiv@SFDC
Where you are writing java script ?
sundhar.mks1.3962649227519546E12sundhar.mks1.3962649227519546E12
Thanks Deepak.....