Posts

Showing posts with the label Salesforce

Search Box for Picklist Value Selection

Image
🔎Salesforce - Search Box for Picklist Value Selection If you've ever worked with long picklists in Salesforce—think 100+ country names, product types, or status codes—you’ve probably heard your users grumble: "Why can’t I just search this thing?" Good news: with this LWC trick, you can add search functionality to those clunky picklists and make your UX sparkle. 🧭 The Problem with Native Picklists Salesforce’s standard picklists are... functional. But once the list gets long, scrolling becomes tedious. Users waste time hunting for the right value—and heaven help them if the list isn't alphabetized. Native picklists in Lightning don’t come with a search box out of the box, leaving many admins wondering how to bridge the gap between form and function. 💡 Use these Lightning Web Components (LWC)! I developed these two LWC that solve the problem: myPicklist : the picklist with the searchbox. myPicklistForm : the LWC to add to the Lightning Layout, you can add severa...

Salesforce Screen Flow - Wait/Sleep Lightning Component

Image
Flow Element: Pause for a Screen Flow We cannot use the Pause element in a Screen Flow , and there are use cases where we might need the user to wait some seconds before he/she can continue working with the Flow. Even if you can use a Pause element (for instance, calling an auto-launched sub-flow that Pauses the execution), once the Pause element is executed, the main Screen Flow receives a message like " The flow interview is now waiting. It will resume in the background later ", and later means in the next 10-15 minutes. In other words, the user may have to wait 10-15 minutes to continue working with our Screen Flow! Not a nice user experience, don't you agree? Let's say we have a situation where we need to execute a background process (like an Apex batch job or a call to an external application that should do something a return) and in the next step, we need the output of the background process. The problem here is that it should be a smooth, only screens user exp...

Email Signature Images as Attachments

Image
I did my best to solve an interesting challenge (solve? nope, probably it is just a workaround 😏).  Challenge : Why in the Case's Attachment list I cannot select and delete? As you know, there are too many emails, and in each email there is a picture used as the email signature, and that picture is shown as a case's attachment mixep up with the "real" attachments!!!!!! The installation details are at the end. For those of you that don't know about this issue, please check these Ideas:  Allow Created Date in "Notes & Attachments" related list  (8 years ago, and by the time I wrote this, 11 days ago, someone wrote again asking for it). This is more related to the fact that in the ListView we cannot differentiate two files with the same name unless we open them. Hence the Created Date field can help.  Email Signature Images as attachments  (5 years ago, and by the time I wrote this, 3 days ago, someone wrote again asking for it). If you enabled Email-2...