New answers tagged

3

If you don't have a Lender Account parent record, then, this error will occur. You can either do a null check in the code or make a calculation field to resolve the name in the database. In the Javascript controller you can extract the name into a variable: let lenderAccountName = opportunity.Lender_Account__c ? opportunity.Lender_Account__r.Name : "&...


1

FIRST - Aura component gets initialized and the code inside setInterval runs forever as it's async and never gets cleared even when the component is destroyed. This is some strange behavior in Aura seen in cases where you start a setInterval and if never closed/cleared the code inside that keeps on running. You can check if your component is invalid then ...


0

You can create or edit existing Dashboard and click on '+Filter' you can view options (contains,less than, greater than etc.,). Check below screenshot Thanks


0

In Lightning, You can launch the record creation page with default values by providing it to URL. To pre-populate Quote name with Opportunity from related list on Opportunity record, Create a new list button on Quote and add it on Opportunity related list page layout. The custom list button url should be like below. /lightning/o/Quote/new?defaultFieldValues=...


0

I encountered this issue lately so I worked on a solution to prevent this behavior : Expand a row (onrowtoggle fired) Select a child row(onrowselection fired) Collapse the parent row (onrowtoggle fired + onrowselection fired) My code allows to keep selection persistent for collapsed rows but will also select all child if you select the parent, deselect the ...


0

For Multiple Lines Toast in LWC we have to override CSS : Create a CSS file and add in static resource File Content : .toastMessage{ white-space: break-spaces !important; } Import That static resource file in your component import { loadStyle } from 'lightning/platformResourceLoader'; import CUSTOMCSS from '@salesforce/resourceUrl/{yourfileName}'; a) ...


1

For some obscure reason, creating a Custom Report Type for User seemed to have solved the issue -> Bob is able to see all his subordinate records now as mentioned in this blog


0

If you enabled Extended IE 11 Support, you had until December 31st, 2020 to move on to another browser. At this point, IE 11 support has been completely discontinued. Even if, for some reason, you can use IE 11 with Lightning today, any bugs you encounter will not be supported by Technical Support.


0

In short, NO support for lightning in IE11 anymore. If you open salesforce in IE now, it does not give an option to switch to lightning anymore. Maybe they are applying this update in a phase by phase manner, but in few days you wont be able to see that switch button anymore.


0

In the help doc, it is mentioned " Spport for Internet Explorer 11 to access Lightning Experience is retiring beginning in Summer ’16." Which indicates the Support will be discontinued. Even if you can open LEX in IE but it will have serious performance issues + alot of standards after ES5 are not implemented in IE, considering LWC architecture ...


0

Make sure sObjectRecordList has been decorated with @track. Since Sprint'20, it is not mandatory to make primitive properties reactive, but Objects and Arrays still must be declared reactive. @track sObjectRecordList = [];


1

Assign the whole response to a property, and then refresh it using refreshApex. tempVariable; sObjectRecords(value) { this.tempVariable = value; if (data) { this.sObjectRecordList = data; } else if (error) { this.error = error; } } ... refreshApex(this.tempVariable);


0

It seems that is related to a record control access the fact that Bob can't see the records that Adam can see. To troubleshoot accesibility discrepancies please check the Organization wide default ( this is the basis of your sharing data model in your Org.). If the "OWD" is private for the object "User", this means that only record ...


0

Use variant="label-hidden" to remove the excess space above the input: <lightning:input name="input1" placeholder="Enter some text" variant="label-hidden"/>


0

As the error message suggests, it looks like the required field on the contact object i.e., Lastname is not being populated which is why the flow is failing. I recommend reviewing this related post


-1

I understand that you want your checkbox group will behave like radio button. This solution is working for me: handleChange(e) { const __value = Array.from(e.detail.value) .filter((val) => val !== this.value[0]); this.value = __value; }


0

Now you can add a quick action on highlight panel on case object lightning record page even if feed tracking is enabled by upgrading to dynamic action which is a new feature in winter 21. Now, its your choice weather you want to keep action on feed tab or on highlight panel. Reference: - ADD QUICK ACTION IN HIGHLIGHT PANEL ON CASE OBJECT LIGHTNING RECORD ...


2

Wires must be written to receive dynamic properties. The second wire should be called like: @wire(setSObjectRecordList , { sObjectName : 'Contact', sObjectFieldList : "$columns"}) ... A parameter given as "$name" maps to this.name automatically. You may need to set the columns property as tracked ...


1

LWC can be directly used as a quick action. This is a pilot feature, available in the Spring ‘21 release. https://help.salesforce.com/articleView?id=release-notes.rn_lwc_action.htm&type=5&release=230


1

You need to see the structure of the data recordApi is returning. If you'd look the data is actually inside fields property. You can access it like, @track selectedRecord = { Id: { value: null }, Name: { value: null } }; @wire(getRecord, { recordId: "0016F00002cy7eXQAQ", fields: FIELDS }) selectedRecord; wiredAccount({ error, data }) { if ...


Top 50 recent answers are included