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 5 years, 11 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
  • #32987

    msalmi.kais
    Participant

    Hello,
    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
    Replies
  • #32988

    Andrey Yatsenko
    Moderator

    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.

    #32989

    msalmi.kais
    Participant

    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.

Back to top