Category Developers

Content related with developers

⚡ Lightning – File upload with a title using “lightning:fileUpload”

The blog post discusses a problem with the standard file uploader component where users cannot enter a specific file name or title upon uploading. To rectify this, the author developed lightning component codes and outlined the steps for implementing them. The author's solution allows the file's title to be changed based on the user-entered title after the file upload is finished.

Search Metadata In Lightning Experience

Arun Kumar has created a lightning component to consolidate searches for items such as Apex Classes, Apex Triggers, Visualforce pages, and components, mimicking the functionality of the 'Salesforce Advance Code Searcher' extension used in Salesforce classic. The component simplifies the search process in Salesforce Lightning Experience.

Lightning: FileCard Component

The Lightning FileCard component allows users to preview images, documents, and other files whether on desktop or mobile interfaces. It integrates seamlessly with the Lightning app builder and any sObject (Account, Contact, Opportunity etc.) detail page, displaying all uploaded files. It is supported in the Lightning Experience, Salesforce Mobile Web and Lightning Communities.

Integrate Salesforce using MailChimp webhook

The post provides a step-by-step guide on using the 'MailChimp for Salesforce' app to synchronize changes on MailChimp with Salesforce. This is achieved through setting up a webhook in MailChimp that communicates change events to a Salesforce public site URL. Changes like unsubscribe, resubscribe, or email updates on MailChimp reflect immediately on relevant Salesforce records.

Task Transfer Tool – Mass Task Transfer

The Task Transfer Tool is a lightning component designed to efficiently transfer multiple task records from one user to another. Perfect for mass reassignments, it offers bulk task transfer in a single click. It is user-friendly, compatible with Salesforce 1 mobile app and its code is accessible via a provided link.

Display the uploaded image on the detail page

The author shares a solution for a Salesforce requirement whereby a user should upload an image file to a record and have it appear on the record's detail page. The solution involves creating a visualforce page, using a rich text field, and embedding a download URL. This is accomplished by using a 'ContentDownloadUrl' attained after a CD record is created via the ContentDistribution object. The author illustrates the process with code pointers and refers to a Salesforce document for further details.

Super fast record search in the lightning component.

The post details a demonstration on reducing server calls in Lightning Component development by filtering/searching records at the client-side. It includes the components, JavaScript Controller and Helper Controller, as well as an Apex Controller, all of which aid in accomplishing this task. Expectedly, this post can assist many developers. Happy coding.