Questions tagged [data-service]
Questions related to Lightning Data Service.
13
questions
0
votes
1
answer
17
views
force:recordData gives unsupported entity error for a newly created Business Platform Object BoatReview
I want to use force:recordData component for BoatReview's addReview functionality. But I am getting this error "This entity is not currently supported by force:recordData." What else I need ...
-3
votes
1
answer
26
views
anyone can give the solution [closed]
Failed to save lightningDataServices.cmp: No INTERFACE named markup://flexipage:availableForAllPages foundNo INTERFACE named markup://flexipage:availableForAllPages found: Source
1
vote
0
answers
258
views
Geocodes for addresses not working for salesforce data.com
I have activated the "Geocodes for Account Billing Address" for my Accounts and found few accounts updated with correct latitude and longitude, but for few accounts are having blanks in the the ...
10
votes
2
answers
2k
views
lwc dataservice architecture best practices
While developing lwc components and lightning apps I always run into this design dilemma: When I have two children components that uses the same set of source data but in different forms what is the ...
4
votes
1
answer
1k
views
Lightning Data Service - Dynamic Fields
I am creating a dynamic navigation (button) component to be used throughout the org. I am trying to provide system admins the ability to specify the data (field/fields) to be retrieved by the force:...
2
votes
1
answer
2k
views
Deleting record associated with a lightning:datatable row - Use LDS or APEX Controller?
What is the recommended method of deleting a record associated with a row in a lightning:datatable? All the examples I see show to make a call to an Apex controller to do the delete (maybe I should ...
1
vote
1
answer
980
views
How to add pick-list field while using LDS
I am not able to display the salutation pick-list field on the lightning component, I have tried lightning:recordEditForm and force:recordData
Can someone please suggest the right path to show the ...
0
votes
0
answers
610
views
How to Re-submit the lightning:recordEditForm after event.preventDefault()
I am stuck in a issue where i have to add custom validation on fields in lightning:recordEditForm. I am using the onsubmit method of lightning:recordEditForm to check the fields values and if the ...
2
votes
1
answer
611
views
Lightning Data Service to clear Lookup field
Using the LDS native functionality we can modify the contents of a lookup field using a lightning:inputfield element, however clearing the field out and saving has no effect. See the inputfield ...
5
votes
1
answer
4k
views
Can Lightning Data Service include data from Parent-Child relationships?
In a SOQL query, I can get data for two different but related record types by combining the query, e.g.:
SELECT Id, Height__c, Width__c, (
SELECT Id, X__c, Y__c
FROM Cells__r
)
FROM ...
1
vote
1
answer
684
views
Can we save list of OpportunityLineItems using lightning data service <force:recordData?
I am trying to create multiple opportunity products and quotelineitems for respective opportunities and quote.
I have already inserted the opportuity and quote using lightning data service.
But I ...
2
votes
2
answers
2k
views
This entity is not currently supported by force:recordData
Does anyone know if case are supported by force:recordData ?
If recordId is a case one then :
<aura:attribute name="simpleRecord" type="Object"/> <!--case record-->
<aura:attribute ...
3
votes
2
answers
1k
views
Get username using Lightning Data Service
Is there a way to get current running user name(email, id, whatever) using only data service?