Skip to content

A web component used to retrieve a page property from a page within an Episerver CMS website

Notifications You must be signed in to change notification settings

AqoviaElements/epi-cms-property

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status Published on webcomponents.org

<epi-cms-property>

<epi-cms-property> is a web component used to retrieve a page property from a page within an Episerver CMS website.

Usage:

An ancestor element with "cms-page-id" attribute should be set on each page on which the web component is used, containing the page's Page ID. Then, simply provide the component with the name of the page property as an attribute, and the content will be rendered:

<body cms-page-id="pageId">
    <epi-cms-property property-name="nameOfProperty"></epi-cms-property>
</body>

Note. The endpoint at which the component will attempt to retrieve the Episerver content from, is: /api/episerver/page/[pageId]/property/[propertyName]

About

A web component used to retrieve a page property from a page within an Episerver CMS website

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages