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
bensondanielbensondaniel 

How to redirect a user to a new Opportunity field with some fields pre-populated?

Hi there,

 

I have a scenario where I need to redirect the User to a new Opportunity page with certain fields based on other related objects.

I have wizard built on visualforce and a controller. During the user journey I collect information from him and finally I need to redirect him

to a page where he could create a new opportunity quickly. The pre population assures the speed of opportunity creation process. 

 

 

Rakesh Aggarwal.ax1406Rakesh Aggarwal.ax1406

Hi - Basically you need to pass field id and field value in the querysting for each field you need to populate.

 

Please refer this Article which explain this process - http://raydehler.com/cloud/clod/salesforce-url-hacking-to-prepopulate-fields-on-a-standard-page-layout.html

 

Thanks

Rakesh Aggarwal

www.rakeshaggarwal.com | twitter