3

For an image field in a template, I set a particular folder location as a source. I want to redirect the user to that folder to select the image and hide other media items. When browsing the image through content editor it redirects the user to the specific folder location, but when browsing the image from experience editor it redirects the user to Media(virtual folder) folder available under tenant site and lists all the images. Is there any way to redirect the user to a particular path under Media folder when browsing the image in experience editor?

1 Answer 1

2

Without changing the code it is not possible at the moment. You have two options:

  • override ChooseImage command from Sitecore.XA.Foundation.Editing
  • contact Sitecore Support and register this a bug - I consider this as a bug, we should handle such situations in SXA. The fix should be straining forward as far as I can see in code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.