Navigating the Personalization Landscape: A Case for Next.js Static Site Generation with Sitecore XM Cloud

In a recent webinar, I dived deep into the seamless integration of Sitecore XM Cloud and Next.js Static Site Generation (SSG) to not only unlock efficient and personalized user experiences but also mitigate the downsides associated with server-side rendering. This blog post distills the key insights from the webinar, shedding light on the benefits of SSG and the pitfalls of relying solely on server-side rendering, especially in scenarios involving Sitecore XM Cloud’s Connected and Disconnected modes....

November 24, 2023 André Moraes

Seamless Integration of Sitecore Content Hub With Next.js Using Reverse Proxy Calls

Efficient and secure connections between different platforms are crucial in the ever-evolving web development landscape. One such scenario is integrating Sitecore Content Hub with Next.js applications. By utilizing Next.js and implementing reverse proxy calls, developers can optimize communication while safeguarding sensitive information. In this blog post, we’ll explore the benefits of reverse proxy calls and how they enhance security and API protection by concealing the Content Hub endpoint and API token....

May 23, 2023 André Moraes

Get site context item in JSS API and GraphQL calls

In some projects, we are faced with activities that lead us to create new pipelines or even a new layout service for applications using Sitecore JSS. In these situations, it is common to need to access the site’s context item. The problem is that many times these pipelines or layout services are used either for API calls (a.k.a. “/sitecore/api/layout/render/jss”) or GraphQL (a.k.a. “/sitecore/api/graph/edge”). In the execution context of both situations, access to the context item alternates, and in API-type calls, the object will not point to the site item we expect....

January 28, 2023 André Moraes