0

I'm building out a site using JSS and Sitecore 9.0. I want a section of my site for articles -- such as /articles/article-slug and I'm not sure the right way to approach it.

Articles are also referenced in other places, like an article feed on the home page, so I want to share the article data to be maintained in one place and shared between them.

I also want to have one route for editors to manage the article view, that dynamically pulls in the appropriate article based on the request URL. The docs for integrated graphQL got me most of the way to a solution, but I don't know how (or if) I can thread the article-slug from the requested URL down to the integrated GQL query.

Am I on the right track with integrated graph QL? Is there a more suitable approach to this problem?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.