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

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

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

  • @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

  • @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 3 ปีที่แล้ว +1

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

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

      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.