Codeshare List of user-contributed code snippets for dotCMS Java CMS.

Tagged: "api"

Checkin Content from HashMap - Transactional

Author: Will Ezell | Created: Aug 07, 2012

This is a very straightforward demonstration JSP that will transactionally checkin 10 pieces of News content using the 2.1 starter site content schema.

Gatsby JS and dotCMS GraphQL - Pulling Relationships

Created: Feb 04, 2020

The attached video shows how you can use Gatsby JS's graphql plugin to pull content and content relationships (graphs of content) from dotCMS.

Import Content (ContentletAPI Example)

Author: Chris Falzone | Created: Jun 08, 2012

From Chris Falzone - an example of importing content in dotCMS 1.7 using the ContentletAPI