Hot answers tagged

4

Rick already answered to clarified. Indeed!, there is no OOTB way to retrieve individual components fields values of published DCP and page JSON outputs, but It's possible to do a Graph-QL extension using the ‘CDGraphQLSchemaExtension’ extension point. This is available in Sites 9.0 but with limited support as it is currently not documented. It will fully ...


3

Unfortunately, the DD4T JSON (or DXA R2 JSON for that matter) is basically just a blob of text for the Content Service. Indeed, the GraphQL Content Service provides a feature to return JSON content as JSON within the GraohQL result (rather than an escaped JSON string), but that is as far as it goes; it is not really structured data which can be filtered or ...


3

Found the problem, an extra UrlBasedViewResolver bean is in place with viewClass JstlView and order 5. Because of this new UrlBasedViewResolver the BeanNameViewResolver is never reached. This is why we get HTTP Status 404 – Not Found.


1

Take a look at the Building a website with semantic content models: a development experience from TXS NASA 2021. I should give you a useful start. https://www.youtube.com/watch?v=ojPPsrnbQOo


1

This is weird; for sure, the ability to retrieve A JSON representation by means of specifying format=json in the URL query string has not been removed in DXA 2.0 (as proven by automated regression tests). I don’t know why you are getting that error, though. AFAIK, the JSON representation does not use a JSP view, but my knowledge of the Java implementation ...


Only top voted, non community-wiki answers of a minimum length are eligible