You need to sign in to do that
Don't have an account?
AyanHore
Passing id in edit button VF page override
Hi,
I'm working on a custom object which requires me to replace the standard edit page of the same with a VF page. Once the "Edit" button is clicked on the detail page (Salesforce standard detail page), it should redirect to the VF page.
However, I require the id of the object to be passed as a parameter to the VF page.
I'm able to override the "Edit" button with the VF page, but not able to pass the Id as a parameter. As a result, it is not working properly for me.
If anyone can point me in the right direction on how to do this, will be very helpful..!!
Regards,
~Ayan
I'm working on a custom object which requires me to replace the standard edit page of the same with a VF page. Once the "Edit" button is clicked on the detail page (Salesforce standard detail page), it should redirect to the VF page.
However, I require the id of the object to be passed as a parameter to the VF page.
I'm able to override the "Edit" button with the VF page, but not able to pass the Id as a parameter. As a result, it is not working properly for me.
If anyone can point me in the right direction on how to do this, will be very helpful..!!
Regards,
~Ayan
Here is the sample code for your refernce :
Thanks,
N.J