0

I'm using net.describeLayout from react-native-force to get the fields on the page layouts. However the problem is that it doesn't seem that the 'read-only' property from the page layout gets returned on the field nor on the layoutItems properties: editableForNew and editableForCreate.

Is there any way to get this information returned via the api?

  • What's your intent? To edit the page layout, or to render a user interface? – sfdcfox Feb 22 '19 at 0:38
  • I'm doing a UI for the mobile app, I would like fields that are marked as read-only to not appear in the edit record form I've got – Aequitas Feb 22 '19 at 0:43

Your Answer

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

Browse other questions tagged or ask your own question.