You need to sign in to do that
Don't have an account?
Nils11
How to change field values of lead using visualforce page and apex class ?
From custom button available on detail page I have to update lead record type, owner id. After changing these have to open detail page in edit mode.
We can not use process builder because page can not be opened in edit mode.
How this can be done using visualforce page.
What would be the contents of visualforce page and apex class ?
We can not use process builder because page can not be opened in edit mode.
How this can be done using visualforce page.
What would be the contents of visualforce page and apex class ?
Although, I am not a big fan of it. This functionality can still be achieved through declarative programming though URL Custom Button.
you see, The basic template i follow for url hacking for stuff like this is as follows.
There is a good tutorial here (http://raydehler.com/cloud/clod/salesforce-url-hacking-to-prepopulate-fields-on-a-standard-page-layout.html), which will help you in getting your work done. But if you still want to do it with Visualforce let me know.Best,
Nithesh