You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Content Namespace > Classes > Content Class > Content Methods > GetContentDisplayLink
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Content.GetContentDisplayLink Method

Function takes in the required information about the string then will decide the best link to use to display the content. It decides between Linkit, a generated quicklink or just the template file.

C#
public String GetContentDisplayLink(int ContentType, String ContentId, String ContentLanguage, String FolderId, String host, String StagingDomain, String ProductionDomain);
Visual Basic
Public Function GetContentDisplayLink(ByVal ContentType As Integer, ByVal ContentId As String, ByVal ContentLanguage As String, ByVal FolderId As String, ByVal host As String, ByVal StagingDomain As String, ByVal ProductionDomain As String) As String
Parameters 
Description 
ContentType 
Integer describing the content's type (word doc, multimedia, etc.) 
ContentId 
A string value of the content's ID number 
ContentLanguage 
A string value of the content's language number 
FolderId 
A string value of the content's folder ID number 
host 
A string value of the host name to build the link out of 
StagingDomain 
A string value of the content's staging domain 
ProductionDomain 
A string value of the content's production domain 

The page link as a String

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!