Documentation > CMS Template API Library > LinkType

CrownPeak.CMSAPI.LinkType

Link types to pass to .

Possible enumeration values:

NameDescriptionValue
Binary

A link which serves up raw content. Useful during preview when you don't want preview related HTML added.

3

Default

Represents a general link to an asset/webpage. During preview, the link will be rendered to link to the asset within the confines of the CMS. Upon publishing the asset, the links will be render to link to the page out in the wild known as the WWW.

1

Include

Represents a relative link to an asset/webpage. This is best used when linking to assets that contain CSS and Javascript using the html 'rel' tag.

2

Internal

Represents an internal link.

4

Unspecified

For serialization only. Don't use.

0

Connect with Crownpeak