0

I found that lightning-record-form does not work correct.

<template>
    <lightning-record-form
         record-id="anyAccountId"
         object-api-name="Account"
         layout-type="Full"
         mode="view"
         columns="2">
    </lightning-record-form>
</template>

if you try to edit it it will not work, component is hide. And only save and cancel buttons are shown. If click to cancel everything is hided. This issue affected CS2 sf instance but works fine in NA59.

4
  • 2
    The first thing to look at is whether there were any critical updates applied on your org that might affect the behaviour you are seeing. For example, perhaps you are using community or guest user access and there is a need to update the user profile.
    – Phil W
    Feb 27, 2020 at 7:28
  • Thanks for this. Now it works fine.
    – Sklipus
    Feb 27, 2020 at 9:41
  • i'm having the same issue, can you tell me how you fixed it?
    – sfdxdev
    Feb 27, 2020 at 9:47
  • Hi @sfdxdev go to success.salesforce.com/issues_view?id=a1p3A000001GqH9QAK and check if you org is updated patch 11 fix the problem
    – Sklipus
    Feb 28, 2020 at 13:03

2 Answers 2

1

Perhaps it is caused by this issue: https://success.salesforce.com/issues_view?id=a1p3A000001GqH9QAK Hopefully will be fixed with patch 11.0

2
  • It is not reproduced now. Looks like it is fixed.
    – Sklipus
    Feb 27, 2020 at 9:42
  • Yes, the patch was just released on CS2
    – drozdps
    Feb 27, 2020 at 9:54
0

This could be due to critical updates applied on the org that might affect the behaviour you are seeing.

For example, perhaps you are using community or guest user access and there is a need to update the user profile.

Specifically note newly enforced critical updates - these are the ones most likely to have tripped you up here.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.