How to add Reference Request Converted as a button in Salesforce

In the Lightning version:

  1. Go to the Setup (Gear icon) > Object Manager > Opportunity > Button, Links and Actions.
  2. Click on the New Action button
  3. Please fill out the form and click Save:

    Action Type: Lightning Component
    LightningComponent: AdvocateHub:RequestReferenceModal
    Height: 400px
    Label: please type in a text to display on the button, please make this unique from other buttons so that it's easy to find.

  4. Add this new component button on the Opportunity Layout by heading over to the Page Layouts option on the right-hand side of the Object Manager menu > Choose the layout that the users will use.
  5. Then head over to the Mobile & Lightning Actions > Choose the Reference request button that you've just created, please check for the label and action type should be quick action if you hover over the button.
      

  6. Click save to save the layout. Check the Opportunity record and click on the link to see if the tool is working

Creating a button for the Classic version

  1. Stay in the Lightning version Setup page > Object Manager > Opportunity > Button, Links and Actions
  2. Click on the New Button or Link
  3. Please fill in the form just like the following and click Save:

    Label: Please type the text to display at the button. Please make it unique so it is easy to differentiate.
    DisplayType: Detail Page Button
    Behaviour: Display in new window
    ContentSource: Visualforce page
    Content: RequestReferenceComponentConverted [AdvocateHub__RequestReferenceComponentConverted]

  4. Add this new component button on the Opportunity Layout by heading over to the Page Layouts option on the right-hand side of the Object Manager menu > Choose the layout that the users will use.
  5. Then head over to the Buttons > Choose the Reference request button that you've just created, please check for the label and action type should be Custom Button if you hover over the button. Drag and drop it to Custom Buttons.

  6. Click Save to save the layout and check the Classic Version to see if the button now works appropriately.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us