You need to sign in to do that
Don't have an account?

Short cut to find out the Current records Id
Hi All,
Do we a short cut to find out the current records id from the UI?
Thanks
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Hi All,
Do we a short cut to find out the current records id from the UI?
Thanks
There are different ways you can access the record id
Sttandard UI:
The record is normally displayed in the url
Example:
Url
https://na14.salesforce.com/001d000000Ar3CM
Record id:
001d000000Ar3CM
Visualforce UI:
Depending on how you've architected the page, if using a standard controller example.
You can write Account.Id to display the current record id.
Extension / Controller:
Use ApexPages.CurrentPage().getparameters().get('id') to access the record id.
All Answers
There are different ways you can access the record id
Sttandard UI:
The record is normally displayed in the url
Example:
Url
https://na14.salesforce.com/001d000000Ar3CM
Record id:
001d000000Ar3CM
Visualforce UI:
Depending on how you've architected the page, if using a standard controller example.
You can write Account.Id to display the current record id.
Extension / Controller:
Use ApexPages.CurrentPage().getparameters().get('id') to access the record id.
Then wat is the record for this
https://na14.salesforce.com/00Td000000APVvd?retURL=%2F001d000000DBuWv