Blogs

  • Uploading Files In Lightning Web Component | Salesforce Lightning Tutorial

    With the lightning-file-upload component, users can swiftly and effortlessly upload multiple files. The file uploader also offers drag-and-drop functionality and file type filters. The record-id attribute is essential as file uploads are always associated with a specific record. Uploaded files can be accessed in the Attachments related list on the record detail page and filtered…

    Read more…

  • Creating Triggers Using TriggerFactory In Salesforce Apex is covered In The Developer Guide.

    The structure of triggers in Apex is quite clever. We all recognize their necessity and the best practice of separating logic from triggers for various reasons (discussed below). We’re also aware of the challenges in unit testing code directly within triggers. Recently, I had to establish a trigger structure for a new client. Given my…

    Read more…

  • Query Territories Assigned to Account or Lead in Salesforce

    Introduction Sometimes it may beed needed to query Territories assigned to Lead or Account. Solution Field Name Details AssociationCause Possible values are:Territory2AssignmentRule—Territory assignment rule associationTerritory2Manual—Manual association ObjectId Lookup Refers ToAccount or Lead SobjectType Account or Lead Territory2Id Territory Id

    Read more…