0

We are using SDL Web 8.5 and DXA Java 2.0. We are publishing the bulk of JSON, XML, EXCEL file into broker database in a particular Structure Group but while accessing those file inside DXA java application we are not getting any response.

3

The DXA Page Controller (which handles most URLs) assumes that the underlying Page Model data is published in either DXA R2 or DD4T JSON format. It is not able to serve other formats.

So-called Static Content Items are expected to have URLs which start with the Multimedia URL configured on the CM Publications. These can be in any format and are published and served as binary data (by the StaticContentItemInterceptor).

If you want to serve binary files which are published in a Structure Group, you will have to create your own Controller to serve those.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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