function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Zhen Yueh LeanZhen Yueh Lean 

Managed Packaged form with RecordEditForm in Napili

Hi guys,

We have developed a custom lightning component form by utilising the lightning:recordViewForm and lightning:recordEditForm. The component works fine in our development org and tested in napili community as well. We then packaged the component as managed package and install into our development org.

We encountered a weird behaviour when testing the component in napili community. The fields came up correctly in community builder for both recordViewForm and recordEditForm.

User-added image

However, the fields will not be rendered when we view the page as community user. The community user profile has the permission to edit contact details and has the read/edit permission on Mobile Phone and Birthdate fields. 

User-added image

Any help is much appreciated!
Zhen Yueh LeanZhen Yueh Lean
This turns out to be permission issue in community.