2

I have added a Contact lookup to Account, and I am displaying it on the Account layout via the Related Record component. But I don't want to define a Create Action for it. In other words I want the Related Record component to be in read-only mode.

Is there a way?

3
  • You should remove the create ability from the profile and sharing settings Jul 11, 2017 at 4:43
  • @ItaiShmida I don't want to block users from creating Contacts altogether; I only want to block record create from the Related Record component.
    – Mossi2
    Jul 11, 2017 at 16:27
  • 1
    So as far as I know - this is impossible to do in lightning Jul 11, 2017 at 18:48

2 Answers 2

1

One workaround I was able to employ is setting all fields as read-only on the compact layout for the update and/or create action.

0

You need to remove the New button from the list view on the page layout. Under Setup>Object Manger>Account>PageLayouts>edit then click the wrench on the list you want 'read-only' and expend the buttons section. Uncheck the button New

2
  • Thank you. You are talking about related lists in page layouts while this question is about the Related Record component in Lightning pages.
    – Mossi2
    Jul 11, 2017 at 20:20
  • Ah Gotcha - my apologies.
    – wellmstein
    Jul 11, 2017 at 20:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .