Questions tagged [lightning-recordviewform]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
20 views

lightning:recordViewForm add spinner while loading data

I'm using lightning:recordViewForm and I realized that there is a bit delay. I was reading a lot here and in google but can't find any solution to this. I thought on adding a spinner on my component ...
0
votes
0answers
17 views

Show recordViewForm without extra div in markup

I'd like to display a related list of records in a simple table and need to create it as a custom component due to very strict style guidelines. I'm attempting to do this by using force:...
0
votes
0answers
84 views

SLDS grid ugly rendering with lightning:outputField

I am trying to display a record using lightning:recordviewform and using slds grid inside it to format columns. It looks like below when I am using slds-size_3_of_12 As you can see, there is still ...
1
vote
1answer
93 views

lightning:recordViewForm will not load Product2 object on mobile

I have a simple Product2 details component. Component <aura:component implements="lightning:isUrlAddressable, flexipage:availableForAllPageTypes"> <aura:handler name="init" value="{!...
0
votes
2answers
2k views

Use lightning:recordViewForm to show related record data

I am using lightning:recordViewForm with lightning:outputField in my lightning component. Regular fields are shown correctly, but when I am trying to show a field of a related parent record nothing ...
0
votes
1answer
153 views

Use 2 different lightning:recordViewForm inside one SLDS Page Header

I want to show data from 2 different objects inside an SLDS Page Header For the page header I use <ul class="slds-page-header__detail-row"> For the data - I use lightning:recordViewForm If I ...
1
vote
0answers
85 views

lightning:recordViewForm throwing error if update records fetched from server

I have a use case in which I have to display Opportunity fields(stored in custom metadata type) using lightning:recordViewForm. On initial load I do API call which returns Opportunity Id and some ...
0
votes
2answers
758 views

Uncaught Action failed error with lightning:recordViewForm

I have a use case in which I need to the display the address fields(all custom fields with the same API name in both objects) of lead/ Account. Let's say if I'm on Enquiry object(custom object) then ...
0
votes
2answers
434 views

Cannot Read Property 'getList' of Null Exception

I have a component which iterates over a list of records and in turn calls a child component for each record returned. This works fine. I also have a lightning:slider in a seperate component which ...
4
votes
1answer
1k views

lightning:recordViewForm and force:recordData refresh issues

I'm having TestObject as parent object and New Custom Object having M-D relationship to it. TestObject having Min and Max Rollup summary fields which will rollup number field in child object. I was ...
4
votes
1answer
758 views

Refreshing issues in lightning:recordViewForm

I'm having TestObject as parent object and New Custom Object having M-D relationship to it. TestObject having Min and Max Rollup summary fields which will rollup number field in child object. I was ...
0
votes
1answer
293 views

Publicly available <lightning:recordViewForm with field of type Lookup does not provide options

I have a <lightning:recordViewForm in a custom lightning component with a <lightning:outputField which is mapped to a field of type Lookup(CustomObject__c) The lightning component is on a ...
2
votes
2answers
2k views

<lightning:recordViewForm will not display

I have a <lightning:recordViewForm in a custom lightning component. When I hardcode the recordId attribute it works, but when I pass an attribute in it fails without any error messages in either ...
0
votes
0answers
248 views

Is recordViewForm supported ONLY with hasrecordId? [duplicate]

I am using recordViewForm (in API version 43) because I have to use lightning:outputField tags inside for its automated formatting and features like mailTo, tel:, map on address, etc. (and I am ...
1
vote
0answers
89 views

How can lightning:inputField support human inputs of “10k” , how to make it support locale and how to make it consistent to other inputs?

I have a the following markup <aura:iteration items="{!v.Items}" var="item"> <lightning:recordEditForm recordId="{!item.Id}" objectApiName="OrderItem"> ...
3
votes
2answers
766 views

Can <lightning:recordViewForm> be used without <lightning:outputField>

I am creating my own custom Organization__c record page for a community. I am using lightning:recordViewForm and lightning:outputField for all the fields that I want to display, but, I have a few ...
5
votes
1answer
727 views

What is the use of objectApiName in lightning:recordViewForm

While exploring Lightning Data Service, I came across another option to load record without apex/soql in Lightning components using lightning:recordViewForm tag, which works in conjunction with ...
12
votes
2answers
845 views

Is it possible to use the new v41.0 lightning:outputField in huge numbers inside tables? Is it possible to extend it?

Today I'm giving the new v41.0 <lightning:outputField> a try. I want to use it massively inside an <aura:iteration> to build a data-table and want to accomplish the following: ...