Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums OroCommerce front-end "oro_file_view"

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

  • 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
    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)

You must be logged in to reply to this topic.

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

Yes No
ssossossossossosso