Questions tagged [lds]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

force:recordData recordUpdated event is fetching old values in attribute. Any workaround by which I can get updated values in attribute

I am using force:recordData in a Lightning component . In the recordUpdated method based on some attributes value i am performing certain logic. But LDS is not fetching updated values of the attribute....
0
votes
1answer
58 views

Refresh @wire getRecord Manually, refreshApex not working

I know this has been asked and appropriately answered HERE. However I am wondering if this is possibly done differently now as I can not get that structure to work. My code is almost exactly the same ...
0
votes
1answer
84 views

How to define size and zoom out of a google map in LWC?

HTML : <label for="pays">Pays</label> <lightning-output-field field-name="Country__c" variant="label-hidden" id="pays" ></lightning-output-field> </br> <...
0
votes
1answer
24 views

LDS: targetFields in force:recordData not re-evaluating

So I have a very simple component that has force:recordData. Since it is not a synchronous operation, initially simpleRecord attribute shows null in init handler. In updateRec method, I can see the ...
0
votes
0answers
61 views

not able to create component using overlaylibrary component

I need to create a contract after getting confirmation from user like this: I'm using simple lds to create a contract, when the user selects okay I should be able to create a contract. I have used ...
0
votes
1answer
30 views

force:inputField is not displaying String values in salesforce Lightning

I am facing a challenge, force:inputField contain string value is not displaying in output , while when i use lightning:input it display value. here is my code component code <aura:component ...
-3
votes
1answer
50 views

What is the use of class=“slds-truncate” in Lightning Web Components? [closed]

Long text field with many lines and truncation will look like this. Even though the text might go on for ages and ages.
0
votes
1answer
40 views

Update relationship record in saverecord event of force:recorddata

I am trying the default the account Id when creating the contact. But I am unable to save the contact record. I am getting account id from console.log. Please suggest me what am I doing wrong here. ...
0
votes
1answer
185 views

Loading/ View records of Account using Lightning data service (force:recordData component)? [closed]

I have been practicing the examples given in Lightning developes Guide and the topic is Display Record Data in a Custom User Interface Using force:recordData I copied and pasted the below code ...
1
vote
0answers
133 views

Handling Success Save Event for LDS new record

I am trying to handle the success save event of LDS saveRecord method. I need only proper Id from the new record response. In DESKTOP it's working fine whereas in Mobile/Tablet i am getting improper ...