How to remove error messages from lightning:input?
I Created a component which consists of a form with a group of fields. The form contains 5 fields. Out of 5 fields, 4 are mandatory. If the user clicks on the save button without entering data into...
View ArticleUI Theme Detection: Unit test code coverage
Since Winter '16, we have had the ability to add conditional logic to our Apex controllers and Visualforce pages based on the UI theme the user is currently working with (i.e. Classic vs. Lightning...
View ArticleOpening Opportunity Select Price Book in Lightning Experience
Is there any way to open the Opportunity Price Book selection prompt in Lightning Experience via an event or navigation? Here is what I have tried and does not work: Navigating the user to the classic...
View Articleforce:navigateToComponent not loading component in Summer '17 | DOM...
I'm using force:navigateToComponent to navigate to a different component on click. On the first click, it navigates to the component and everything is successfully loaded. When pressing back button...
View ArticleHow to disable/remove the quick create in the Lightning Experience's Lookup...
Follow the article... URL: https://help.salesforce.com/articleView?id=000325372&type=1&mode=1 The "Show Quick Create" has been deselected. However, the "+ New ..." still displays in the lookup...
View ArticleHow to debug lwc running in iOS salesforce1 mobile app?
I am working on a Salesforce app and it is working fine in chrome smart devices mode(Salesforce1) but when I use this app from iOS mobile it is not working fine. Now I want to debug it running on iOS....
View ArticleIs it possible to customize lightning:inputField displayed label?
In my lightning:recordEditForm I use lightning:inputField which is mostly perfectly works. But I would like to customize displayed field label and make it different from object field label. Maybe it's...
View Articlehow to change button label in lightning.?
how to change button label when user click on this.I am using this: <aura:renderIf isTrue="{!v.UTList.UserTargetLists__r.length>0}"> <input type="button" class="btn btn-primary mb10...
View ArticleCan I add custom menu items to the 'Gear' menu in Lightning Experience?
There is a custom menu in Salesforce Classic that I'm in the process of migrating to LEX. I've created a lwc that has <lightning-button-menu> with all the menu items and I placed it on a home...
View ArticlePlatform Event notifications on lightning component [closed]
My Requirement:- we want display the notifications without reloading the page and with out any streaming api. if any change happen on the record from custom lightning page. I have done some R&D....
View ArticleWhile converting classic notes to Lightning enhanced Content Notes getting...
We are migrating from Classic to Lightning, In this process we are converting classic Notes to Lightning supported Note (ContentVersion). We have a batch which does this job, getting below error:...
View ArticleUnable to subscribe platform events using "lightning:empApi" in lightning...
My Requirement:- we want to display the notifications without reloading the page and without any streaming API. if any change happens on the record from a custom lightning page. I have done some...
View ArticleMobile UI issue in lightning buttonMenu Aura Component
I just notice that Lightning:buttonMenu aura component size bigger in the mobile after winter 20 Salesforce release. Is it any way to control the size as previous because it's breaking our UI. Its...
View Articlesalesforce lightning console how close primary tab in aura component?
closeFocusedTab : function(component, event, helper) { var workspaceAPI = component.find("workspace"); workspaceAPI.getEnclosingTabId().then(function(response) { var focusedTabId = response.tabId;...
View ArticleCustom Lightning Component to Display record details for alternate page...
Is it possible to create a custom lightning component that mimics the standard 'record detail' component but displays editable fields taken from a page layout that is not assigned to that particular...
View ArticleHow to pass parameters from one lwc page to next lwc page on Salesforce1...
I am trying to get lightning navigation service state parameters on next page but it is not working that way on Salesforce1 mobile app. Although it is working fine on chrome browser as web app....
View Articleparent field iterate in for loop lightning
Hi can anyone help me here, in quoeLineData[i][skey] i might get parent field as well, for example test__c.check__r.Name , How to get this parent field ?? I can get anyfield of test__c in...
View ArticleWhy @wire(CurrentPageReference) pageRef; is causing following JS error
Line: "@wire(CurrentPageReference) pageRef;" in lwc is causing following js error in console log. What is the fix? Error: [LWC error]: Invalid event type "WireContextEvent" dispatched in element...
View Article'Create a Record' Action Navigation
Scenario: I currently have an Action associated with the Account object that creates a new Opportunity, with fields mapped to that new Opportunity, from the Account where the user clicks the Action. I...
View ArticleStop SF Lightning from trying to open up Set Up Content in a new tab
When I am in Set Up and attempt to open something, like User Profiles for example, I always get this modal that asks We'd like to open the Salesforce page ... in a new tab and then when you allow it,...
View Article