Sometimes we might need to create a custom JSON string in a JavaScript section. Custom JSON string means, it can have any field which is or is not in any sObjects. There are multiple ways to create JSON string.
Continue reading “Create a JSON string in JavaScript”Author: Akhil Kulkarni
LWC: Clicking a button from a JavaScript Method.
When working in LWC, there will be a scenario where you may have to click a button based on some criteria or some condition from backend(Client side JavaScript section). In HTML, for every tag there is a unique attribute Id. Similarly, when working with LWC’s HTML, for every tag there are multiple unique attributes, one such attribute which can be used is data-id=”Unique_Id”.
Continue reading “LWC: Clicking a button from a JavaScript Method.”LWC: Custom picklist using lightning-combobox
When working with LWC sometimes, you need a list of values in picklist(combobox) which is fetched from an apex class. Values can be based on some condition. So, in this blog, we will see how to fetch a list of sObject records and bind values into <lightning-combobox />.
Continue reading “LWC: Custom picklist using lightning-combobox”Pop-up within a pop-up in Lightning Aura Component.
In salesforce we can have only one popup at a time. So, if you are using a popup, then you have to use a work around to display popup.
Here in this blog, I will show you how to display a popup within a popup. We will create 2 components in this demo.
- Child Component (Second popup modal)
- Parent Component (Actual Popup modal)
So, when user chicks on a button we will display a pop-up window and when user clicks on success button we will display another child pop-up modal.
Continue reading “Pop-up within a pop-up in Lightning Aura Component.”How to get Picklist value in Formula Field.
When it comes to picklist in formula fields, there are few things which developer need to consider.
- Do you want picklist actual value (return text value)?
- Do you want to check if user has selected a specific value (return true or false.)?
There are 3 functions that can be used for different purpose to work with picklists in formula field.
- ISPICKVAL()
- CASE()
- TEXT()
