ssossossossosso

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 6 days, 17 hours ago.

  • Creator
    Topic
  • #25346

    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)

You must be logged in to reply to this topic.