Documentation > CMS Template API Library > Input > ShowLink(Int32,String,InputLinkType,String)

ShowLink

Creates a link to another asset from the input form.

public System.Void ShowLink(Int32,String,InputLinkType,String)

Parameters

NameDescriptionType
assetId ID of the asset to link System.Int32
linkText 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

Connect with Crownpeak