Documentation > Services API > ServicesOutput > RenderHyperLink(Asset,String,LinkOutputType)
RenderHyperLink
Given an Asset and a ServicesInput.ShowHyperLink fieldname, Creates a ServicesOutput.HyperLink object and calls HyperLink.ToString() or HyperLink.ToString(LinkOutputType.ImageLink).
public System.String RenderHyperLink(Asset,String,LinkOutputType)
Parameters
Name | Description | Type |
---|---|---|
asset | Asset that contains the fields for ServicesInput.ShowHyperLink. | CrownPeak.CMSAPI.Asset |
fieldName | Name used for calling ServicesInput.ShowHyperLink. | System.String |
outputType | Enumerated type LinkOutputType. Used for image links. | CrownPeak.CMSAPI.Services.ServicesOutput+LinkOutputType |