Documentation > CMS Template API Library > Input > ShowLink(Asset,String,InputLinkType,String)
ShowLink
Creates a link to another asset from the input form
public System.Void ShowLink(Asset,String,InputLinkType,String)
Parameters
Name | Description | Type |
---|---|---|
asset | The asset to link | CrownPeak.CMSAPI.Asset |
linkText | Optional (defaults to asset's label): Text to display for the link | System.String |
linkType | Optional (defaults to ): the type of link | CrownPeak.CMSAPI.InputLinkType |
fieldName | Optional (defaults to null): the name of the field to link for and | System.String |