You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Content Class > Content Methods > AddContent Method > AddContent
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Content.AddContent Method (string, string, string, string, string, string, long, object, object, string, long)

Adds Content to the CMS 

This method can be accessed through the Content.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Content/Content.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "AddContent With ContentID", Description = "Adds a piece of content.")]
public long AddContent(string ContentTitle, string ContentComment, string ContentHtml, string SearchText, string SummaryHtml, string ContentLanguage, long FolderId, object GoLive, object EndDate, string MetaInfoXml, long ContentID);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AddContent With ContentID", Description = "Adds a piece of content.")>
Public Function AddContent(ContentTitle As string, ContentComment As string, ContentHtml As string, SearchText As string, SummaryHtml As string, ContentLanguage As string, FolderId As long, GoLive As object, EndDate As object, MetaInfoXml As string, ContentID As long) As long
Parameters 
Description 
ContentTitle 
Title of content to add 
ContentComment 
Content comments 
ContentHtml 
Content HTML to display 
SearchText 
Search Text 
SummaryHtml 
Summary HTML 
ContentLanguage 
Content Language 
FolderId 
Folder to place the content in 
GoLive 
Go Live Date 
EndDate 
Content End Date 
MetaInfoXml 
Meta Info XML 
ContentID 
Content ID 

The numeric ID of newly created content.

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!