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

Returns a URL associated with the current asset. This method is a member of Ektron.Cms.API.Content.Asset

C#
public String GetViewUrl(String AssetId, int ContentType);
Visual Basic
Public Function GetViewUrl(ByVal AssetId As String, ByVal ContentType As Integer) As String
Parameters 
Description 
AssetId 
The document's ID (Required) 
ContentType 
The type of the content, such as office documents or managed files or * (all). 

String

The Document Management functionality with a valid license is required to perform this operation.

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!