Remove attachments from notes

I want to disable the ability in the notes form to add attachments. I want the form field.

This can be done by removing the ‘Attachment’ field from the edit view and detail view from the Admin->Developers Tool → Studio → Notes → Layouts

Just drag the field and drop on the red ‘Delete’ button to remove

image

Thank you for this! I wanted to check if changes made with this approach are upgrade friendly?

I thought I would just do it through the views?

Yes this is upgrade safe changes as they are generated in custom folder. Notes module is still a legacy module.

Is this not the old method of doing things or is this still acceptable for now until when?
Is it not preferred to do all in Symfony ?

Studio will eventually get a face-lift, but it’s not going away. So v8 tries to respect and incorporate Studio changes, and mostly it’s already working like that. So it’s a matter of trying things, simple field changes should work well, both for modules being rendered as “legacy” and the new ones.

1 Like