Documentation > CMS Template API Library > RelationshipType

CrownPeak.CMSAPI.RelationshipType

Use this to see if this is related to the parent asset as an a link to an asset or if it is an attachment (not an asset)

Possible enumeration values:

NameDescriptionValue
Attach

Treat the related asset as an attachment. If it is an asset in the CMS, it will be copied to the current asset's attachment area.

1

Link

Treat the related asset as a link to a CMS asset. If it is an upload file, it will automatically be saved into the CMS as an asset.

2

None

This feature is disabled.

0

Connect with Crownpeak