Reita
Reita

Reputation: 33

OroPlatform: how to implement FileType

I need to add a FileType field to the Customer User Entity.

I tried to add it directly in backoffice and it's fine : backoffice screenshot

But now, I would like to implement it. Is there any documentations to achieve this? Should I use the OroAttachmentBundle?

Thanks

Upvotes: 2

Views: 39

Answers (1)

Andrey Yatsenko
Andrey Yatsenko

Reputation: 1956

You are right. OroAttachmentBundle provides files management features.

Follow the documentation to create a field from the code: https://doc.oroinc.com/bundles/platform/AttachmentBundle/attachment-bundle-config/#attachment-bundle-migration-extension.

Upvotes: 1

Related Questions