Decoding Lightning Record Form in LWC | Lightning Data Service in LWC | LWC Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2021
  • Hello Trailblazers, In this video we're going to learn how we can use Lightning Record form in Lightning web components. We're also going to learn about the different attributes of lightning record form along with their purpose and the events which are fired at different instances while interacting with lightning record form. This form is the easiest to implement. We'll also learn about layout types in record form:- Full and Compact
    Code:- github.com/rahulmalhotra/sale...
    Subscribe to SFDC Stop:- th-cam.com/users/sfdcstop?su...
    LWC Todo App Project Tutorial Series - • Simplifying the Callou...
    Interested in learning about Scratch Orgs and SFDX ? Have a look at the playlist:- • Getting started with S...
    Interested in learning about Integration ? Have a look at this playlist:- • Salesforce Integration...

ความคิดเห็น • 8

  • @amitbagade3277
    @amitbagade3277 2 ปีที่แล้ว +1

    in html , i created 2 record-forms . for two diff custom objects. but how to assign a single button for both. I try to use button outside record form it doesnt work. so i have to use two button for each record-form. So can we assign a single button to create records for respective object??

    • @sfdcstop
      @sfdcstop  2 ปีที่แล้ว

      Hi Amit, at the moment I think you need to get a reference of both the form buttons and click them using js in order to submit the form.

  • @seshukorivi
    @seshukorivi 2 ปีที่แล้ว +1

    if i use full layout and login user has assigned to two pagelayouts then how it will work

    • @sfdcstop
      @sfdcstop  2 ปีที่แล้ว

      One user cannot be assigned two page layouts. I think ideally it should consider the page layout assigned to the logged in user because the UI API works in user context.

  • @kumarik9027
    @kumarik9027 2 ปีที่แล้ว +1

    Hi,
    How to create two record forms for two different custom objects on the same page?

    • @sfdcstop
      @sfdcstop  2 ปีที่แล้ว +1

      Not sure if I understood the question correctly Kumari, but you can just have two forms displayed - one below the other in html

    • @kumarik9027
      @kumarik9027 2 ปีที่แล้ว

      @@sfdcstop How can I get in touch with you?

    • @sfdcstop
      @sfdcstop  2 ปีที่แล้ว

      You can join our telegram group: t.me/sfdcstopdiscuss