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
Richa_LearningRicha_Learning 

Add Product URl Parameters

Hi,

I need to create a new button on Opportunity product related list. I created the button. I want when I clickon this new button it takes me to Add Product page.
How can I do this? Does soemone has URL parameters for Add product?

Thanks,
 
Best Answer chosen by Richa_Learning
Luiz PrandiniLuiz Prandini
Hi,
p/opp/SelectSearch?addTo={!opp.Id}&retURL=%2F{!Opp.Id}

All Answers

Luiz PrandiniLuiz Prandini
Hi,
p/opp/SelectSearch?addTo={!opp.Id}&retURL=%2F{!Opp.Id}
This was selected as the best answer
Richa_LearningRicha_Learning
Thanks Luiz. I tried this and also added the filter to this link and it worked fine. But i stil see the "Clear Filters" as option. Is there a way to hide that link? or any ways users should not be able to clear the filters.
Luiz PrandiniLuiz Prandini
Hmmm... In this case, you have to create a Custom VisualForce Page!
If solved, please! check as Solved :)