Tuesday, 16 June 2020

Override Standard Action/Buttons in the Communities

We have just got the new release where we can override Standard Action New and Edit. 

Here is the link:

But In Salesforce there is no direct way to override standard Detail and recently we came in the situation where we needed to implement it. So we found a workaround to achieve it by the facility provided by the Salesforce Communities.
Special thanks to "Nisar Ahmed" who helped me to find this solution.  

We need to follow the steps if we want to override Actions/Buttons with the custom component in the Community. 
Following is an example of override view/detail page:
Create a Component which we want to override. For e.g. Contact

And we should have this variable: @api recordId.

And now go to the page and create and create a design attribute in your meta.xml file.  

<targetConfig targets="lightningCommunity__Default">
<property name="recordId" type="String" default="" label="Record Id"/>

Go to the Community Builder.

Add a Custom Navigation Tab. For e.g. Contacts   

Create a new Component Page: Pages -> New Page -> Object Pages -> Contact - >Create

Now New Object List, Detail, Related List
Now Select the Contact Detail or ObjectName Detail

It will display 2 components Record Banner and Record Information Tabs we can remove both of them and can drag and drop our component in the Content Section.

When we click on the component it will display Record Id, we just need to copy the same and need to pass as into our component which we want to display.

Now once we have our component, click on the detail page then we need to paste {!recordId} in our API variable.

Just save and publish now we have overridden the page.  


#Salesforce #Lightning #Communities #OverrideAction #OverrideButton


  1. A very good and informative article indeed . It helps me a lot to enhance my knowledge, I really like the way the writer presented his views. I hope to see more informative and useful articles in future.protective face mask for sports

  2. Nice post. Thanks for sharing such a piece of worthy information.

    Flats for sale in Patancheru, Hyderabad

  3. This comment has been removed by the author.

  4. This comment has been removed by the author.

  5. I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. Mass Communication Degree

  6. Best Digital Marketing Company in Hyderabad- 9and9 DigiSoft Insights Private Limited
    9and9 DigiSoft is a leading and Top Digital Marketing Agency in Hyderabad focused on empowering and influence Brands through SEO, SEM, Social Media and Email marketing

  7. What a fantastic post! This is so chock full of useful information I can't wait to dig deep and start utilizing the resources you have given me. your exuberance is refreshing

    you've outdone yourself this time

    This is probably the best, most concise step-by-step guide I've ever seen on how to build a successful blog. i am also writing blog about the kindly review it online english speaking classes for kids.


  8. Thank you so much for sharing this article. I really love it. This is a very nice one and gives in-depth information. I am really happy with the quality and presentation of the article. I’d really like to appreciate the efforts you get with writing this post. Thanks for sharing.
    website: Matka Result

  9. I just would like to give a huge thumbs up for the great info you have here on this post. Thanks for sharing with us. Are you looking for Escort Services in Ahmedabad and Call Girls in Ahmedabad
    Click For More Information Escort Services in Ahmedabad

  10. Thanks for sharing this useful Blog. For all Digital Marketing Services In Hyderabad visit 9and9.

  11. This site helps to clear your all query.
    This is really worth reading. nice informative article.

  12. Great post! I am actually getting ready to across this information, It's very helpful to me. Also great with all of the valuable information you have Keep up the good work you are doing well.

    Top Digital Marketing Agencies in Hyderabad

  13. Assignments are very common in schools and colleges and some assignments are easy to complete and take no time. There are also complicated assignments that take very long and they are very complicated and demand a deep understanding of the subject. Accounting assignments are very hard and these assignments demand much attention because the values have to be correct and there if one number is entered incorrectly, the whole answer is affected.

    If you don't have enough time to complete your assignments, you can get accounting assignment help from accounting assignment help online websites and these websites connect you to an accounts expert who will complete the assignment for you and make sure that all the problems are correct. Any kind of help with the accounting assignment is valuable because there are various steps and the procedure is very lengthy. It is also important to follow a proper and neat format and most of the problems need to be explained too. When you hire an expert to complete your assignment they take care of all these requirements.