OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce front-end "oro_file_view"

This topic contains 2 replies, has 2 voices, and was last updated by  msalmi.kais 2 years, 4 months ago.

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

  • Creator
  • #32987


    how to make attachments (Entity Attachment) accessible from the frontend?
    from the frontend, when I click on the downloaded file (oro_file_view), the system asks me the identifiers of the backend …
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #32988
    Andrey Yatsenko
    Andrey Yatsenko

    Hi msalmi.kais,

    As we have different Security systems on a back office and store front it’s required to have two types of URLs, one accessible from back office. oro_file_view twig function used to generate urls protected by main firewall, where all urls prefixed with admin/.

    And To access files from front-store you should use oro_frontend_file_view, it’s protected by frontend firewall.



    Thank you for you precious help

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

The forum ‘OroCommerce’ is closed to new topics and replies.

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

Yes No