OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions oro_image Form Field Type with oro_collection

This topic contains 2 replies, has 3 voices, and was last updated by msulima msulima 2 years, 9 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #28148
    Hiro
    Hiro
    Participant

    Could you please show me how to do this?

    What I have done and failed so far (Frontend works and it gets error when saving the form value; the form saves the data if not uploading the image):

    I also have tried to add the field “$image” via Migration with addFileRelation() and Both ways get:

    I don’t know if this helps, but I have noticed the field “type” in “oro_entity_config_field” table gets “ref-one” with the 1st way and gets “image” with the 2nd way.

    Are we supposed to be able Entity to have the image field type as ArrayCollection?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No