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
Nikvm257Nikvm257 

Create opportunity page

Hello Guys,

 

I want to redirect the user to "Create Opportunity" page.

I have Account Id  using which I can get contact Id and app it to the page 

 

Please let me know also how to autofill the values in some of the text filds 

 

Thanks 

Best Answer chosen by Admin (Salesforce Developers) 
Nikvm257Nikvm257

Okay it seemed to be a very simple one. can't help just a beginer so have to post on such silly questions. :) 

 

Anyways 

Here is the way 

I copied the URL for opportunity page 

 

add the variables for account and contact 

 

and its done!!

 

thanks 

-Nikhil 

 

 

All Answers

kiranmutturukiranmutturu

do you want to fill the values in the standard page with some values or wat?

Nikvm257Nikvm257

My first concern is redirect the user to Opportunity Page.

 

 

I think I can do that.

 

But now

 

1) How to pass the values (may be using query string)

2) How to autopulate those values on the opportunity page for account and contact (the way it happens in out of box situation)

 

Thanks for replying !

 

-Nikhil 

Nikvm257Nikvm257

Okay it seemed to be a very simple one. can't help just a beginer so have to post on such silly questions. :) 

 

Anyways 

Here is the way 

I copied the URL for opportunity page 

 

add the variables for account and contact 

 

and its done!!

 

thanks 

-Nikhil 

 

 

This was selected as the best answer