Blog

On this page you will find Tutorials, How-Tos and Tips for developing with open bi.

open bi .NET API - Create a CMS

Creating a CMS in the open bi Repository server involves a few different parts which we are going to explore in this blog post.

For details visit Create a new CMS.

The first part is the CMS master page which contains the layout for all pages. The <content> tag can be used to include the role content page content at this place. It is also possible to use placeholders like the %PAGE_TITLE% to dynamically change the <title> for the different pages.

The second part is the Role which can contain multiple role content elements which represent the page structure. It is like a folder structure were each folder represents a web page.

The last part is the Host Header for which the CMS should be displayed, which means that there can be different CMSs for different hosts. It also includes the references to the master page and the role.

For each of the different parts there is a NuGet package which contains the commands for creating these objects.

Here is the sample code for creating a CMS page which then can be accessed under http://localhost:9091 and http://localhost:9091/example

Bastian Buchholz
Author: Bastian Buchholz
Creation date: 26.06.2021
Category: API
back to overview