Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

MartinOttosen
Aug 18, 2021
  3158
(4 votes)

JS SDK public preview

Maybe you noticed we announced the public preview for CMS 12 a few months ago? CMS 12 natively supports .Net 5 and with it a more portable CMS which no longer requires Windows or IIS. If you like Node.js this is good news, since you can more easily work with your favorite IDE and OS and just run the CMS in the background e.g., in a terminal window in Visual Studio Code. Along with CMS 12 we are releasing a brand-new open-source JS SDK now available in preview on GitHub.

What’s in the box

The JS SDK has a few pieces to it:

  1. A Node.js CLI for managing your content definitions.
  2. A typescript client for fetching content from the CMS.
  3. A decoupled Vue.js sample site running on Node.js and CMS 12 (preview)

How to get started

The simplest way to get acquainted with the SDK is probably to clone the repository and setup the sample site. The sample site is based on CMS 12, and includes a preview of the new Content Definitions API which we are hoping to ship over the summer together with the final version of CMS 12. The current sample site uses OpenID Connect in the platform directly i.e., no need for an external identity provider to get things going.

Documentation

The SDK modules and samples each have a README in the project roots, which is a good starting point, but the documentation here on world for Content Definitions API is not complete or published yet, but thanks to the external reviews feature you can sneak a peek at the preliminary documentation here:

 

Aug 18, 2021

Comments

Jonas Boman
Jonas Boman Oct 21, 2021 07:49 AM

Hi. The links to API Fundamentals does not work.

Please login to comment.
Latest blogs
Optimizely Unit Testing Using CmsContentScaffolding Package

Introduction Unit tests shouldn't be created just for business logic, but also for the content and rules defined for content creation (available...

MilosR | Apr 26, 2024

Solving the mystery of high memory usage

Sometimes, my work is easy, the problem could be resolved with one look (when I’m lucky enough to look at where it needs to be looked, just like th...

Quan Mai | Apr 22, 2024 | Syndicated blog

Search & Navigation reporting improvements

From version 16.1.0 there are some updates on the statistics pages: Add pagination to search phrase list Allows choosing a custom date range to get...

Phong | Apr 22, 2024

Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog

Azure AI Language – Abstractive Summarisation in Optimizely CMS

In this article, I show how the abstraction summarisation feature provided by the Azure AI Language platform, can be used within Optimizely CMS to...

Anil Patel | Apr 18, 2024 | Syndicated blog