Questions tagged [lds]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

Visualforce with responsive design

I have to make this vfp responsive for 320x480 resolution , cause there is lost content like the following image shows: As you can see from bigger resolutions, the content that is lost is most of the ...
0
votes
0answers
14 views

Capturing Record Id in Lightning-datatable with a click

I have a lightning-datatable where there are many columns and one of the column is Record Name. Is there a way i get the Id of this record with a click or a click of a button on a row?
1
vote
1answer
39 views

lightning:recordEditForm shows older value on Click of Button

I have a lightning component which has implemented lightning:isUrlAddressable interface. This component is called from a custom button present on Account and I'm also passing Account Id in the URL of ...
1
vote
1answer
42 views

Format for specifying field value in updateRecord LDS call for mutiselect picklist in LWC js

I'm referring to the document to make use of out of box import { updateRecord, } from 'lightning/uiRecordApi'; It is straight forward to understand how to pass field values from the given example in ...
0
votes
1answer
154 views

Fields not appearing in lightning-record-view-form's payload if not included in page layout

I'm using a lightning-record-view-form in my component to display some record's fields, but I found out that if there is a field not included in the record page layout then it's not appearing in form'...
0
votes
1answer
66 views

Icon Size and color

Hi Kindly help me out for the below , i need to alligned the icon properly with the text next to it and make it red color ,,, kindly help me out for this. code: <lightning-button-icon class='slds ...
0
votes
1answer
17 views

Can we make a field readable on recordFrom Lightning component?

I have created a recordFrom by using <lightning:recordForm recordId= "{!v.recordId}" objectApiName="Promotion__c" mode="view" columns="1" fields="{!v....
0
votes
0answers
53 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
109 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
238 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
38 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
63 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
31 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
68 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
45 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
369 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
155 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 ...