Snippets

Search for code snippets in different languages (mainly Apex, Visualforce, Lightning, JavaScript, jQuery, HTML. Just start typing in the search box below



Show preview while searching.

Bookmark this page by pressing Ctrl + D  or Command + D, so that you can easily find code snippets.

Example links

11 comments:

  1. This page usually helps me to find the right code snippet. My first Salesforce bookmark.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. Can you please add an example of how to show a reusable modal window using aura. I can see that you have one for LWC. But nothing for Aura.

    ReplyDelete
    Replies
    1. Sure. Here you go - https://salesforcecodes.blogspot.com/2020/06/how-to-display-modal-popup-using-aura.html

      Delete
  4. Do you have an article on lightning message service?. Looks like that is the recommended way of communication between aura, lwc and visualforce

    ReplyDelete
    Replies
    1. Sorry about the delay. Here you go with examples in Visualforce, Aura and LWC - https://salesforcecodes.blogspot.com/2020/08/using-lightning-message-service-communicate-between-vf-aura-lwc.html

      Delete
  5. Can you please add a sample of an "autocomplete search component" in lightning using Aura/LWC?

    ReplyDelete
  6. India Lottery has a new home, and it’s the high-tech, secure platform of KhelRaja. We offer a curated selection of the nation's most popular and lucrative draws, providing users with the best chance to win big. Our commitment is to provide the best gaming experience with complete transparency, fair play, and prompt payouts. Whether you're a seasoned player or a first-timer, KhelRaja is the trusted destination for all your Indian lottery and money-making gaming needs. Play local, win global

    ReplyDelete
  7. A Public Limited Company is a business structure that allows entrepreneurs to raise capital from the public by issuing shares. It must have a minimum of seven shareholders and three directors. PLCs follow strict compliance norms under the Companies Act, 2013, making them suitable for large-scale businesses aiming for expansion and transparency. This structure enhances credibility, supports fundraising, and improves market presence. Incorporating a PLC involves documentation, regulatory approvals, and continuous compliance. Taxlegit provides professional guidance to help businesses register a Public limited company (PLC) smoothly and meet all legal requirements for long-term growth.

    ReplyDelete
  8. Getting ngo registration online becomes easier with NGO Experts. They guide you through every requirement, help you prepare correct documents, and ensure your application is filed correctly. Their friendly approach and professional support save time and prevent mistakes, making them a trusted partner for new NGOs.

    ReplyDelete