You need to sign in to do that
Don't have an account?
lakshman.matti
Converting Custom button into Vfpage.
Hi Everyone,
i'm trying to convert custom button into vf page.
my scenario is, i have a custom button where we are invoking flows using javacript.code looks like below.
windows.open (/flow/Enable_SLink_Access &varContactId={!Contact.Id} &retURL=/{!Contact.Id}).
here we are passig some values in the URL.
Now i creating a custom button where i'm using vf page as content resource.when i click on that button i need to invoke the above flow with same paramaters.. can someone help how to achieve this/ any alternate soluation for this.(if anything can be done flow level that is fine.).very urgent..:)
Thanks
Lakshminarayana
i'm trying to convert custom button into vf page.
my scenario is, i have a custom button where we are invoking flows using javacript.code looks like below.
windows.open (/flow/Enable_SLink_Access &varContactId={!Contact.Id} &retURL=/{!Contact.Id}).
here we are passig some values in the URL.
Now i creating a custom button where i'm using vf page as content resource.when i click on that button i need to invoke the above flow with same paramaters.. can someone help how to achieve this/ any alternate soluation for this.(if anything can be done flow level that is fine.).very urgent..:)
Thanks
Lakshminarayana
May i suggest you please refer the below link for reference.
- https://salesforce.stackexchange.com/questions/101733/convert-javascript-button-to-vf-page-button
- https://trailhead.salesforce.com/en/modules/lex_javascript_button_migration/units/javascript_button_alternatives
hope it helpsThanks
Rahul Kumar
Thanks for the Response.
My problem is not converting the Javascript button. I want call the flow from vf page/controller with some parameters.
Please check the below flow URL for the details.
(/flow/Enable_SLink_Access &varContactId={!Contact.Id} &retURL=/{!Contact.Id}).
Thanks
Lakshminarayana