Questions tagged [lds]

The tag has no usage guidance.

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

Cannot access Lightning Data Service API

I want to use LDS record forms but cannot not access the api . Error message - Unauthorized access .
0
votes
1answer
70 views

Date formatting issue in LDS lightning-record-edit-form

We have built LDS forms using lightning-record-edit-form, lightning-input-field tag is used for date which displays standard locale date format as per documentation. The problem is, it is always ...
0
votes
1answer
107 views

LDS vs the @wire

I'm new to LWC and learning about LDS(lightning Data Service) and @wire adaptor. I'm totally confused in them. Can anyone please explain what is what and when to use them?
0
votes
1answer
63 views

show record view/edit form from quick action component

I am trying to show a Record View/Edit forms in a modal from lightning quick action component. In this quickaction component I am using lightning data table to show list of records and beside the ...
0
votes
1answer
57 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
1answer
197 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
139 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 ...
2
votes
1answer
127 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
795 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
266 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
18 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....
1
vote
1answer
219 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
654 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
71 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
78 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
35 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
250 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
63 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
718 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
230 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 ...