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
Ragnar Lothbrok 7Ragnar Lothbrok 7 

How can we create the Quick Action for create a record for opportunity.

Hi there,
So the situation is, on opportunity list view page i want a quick action that can be used for creating an opportunity from there, instead of Standard "New" button.
How can we achieve this functionality.
Any help appreciated. Thanks.
mukesh guptamukesh gupta
Hi Ranger,

You need to Override New Opportuntiy Quick action with Lightnig Component like that:-

https://www.infallibletechie.com/2019/05/how-to-override-new-button-in.html

https://trailhead.salesforce.com/content/learn/projects/workshop-override-standard-action/override_4


if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh


 
Ragnar Lothbrok 7Ragnar Lothbrok 7
Hi Mukesh,

Thanks for your quick response, but for this requirement, i dont want to override the existing standard button. I wanted to have a button which will acts as same standard one because on creation of record user should see some limited fields and after that when user see the record detail page then he can see the rest other fields based on the record types.
Can we do this? I gave it a try with Object specific Action to create a record but onClick its giving error and its saying to select so record first inorder to create opportunity record from opportunity list view.