Ektron CMS400.NET API Documentation
|
Function takes in information about the content to be checked in and published. This goes through the normal approval chain. The content must be in a checked out state to the current logged in user for this to succeed.
This method can be accessed through the Content.asmx file located in:
~/Workarea/webservices/WebServiceAPI/Content/Content.asmx
[SoapHeader("AuthHeader")] [SoapHeader("RequestInfoHeader")] [WebMethod(MessageName = "PublishContent", Description = "Function takes in information about the content to be checked in and published. This goes through the normal approval chain. The content must be in a checked out state to the current logged in user for this to succeed")] public bool PublishContent(long ContentID, long FolderID, int ContentLanguage, string DontCreateTask, long UserID, string TaskTitle);
<SoapHeader("AuthHeader")> <SoapHeader("RequestInfoHeader")> <WebMethod(MessageName = "PublishContent", Description = "Function takes in information about the content to be checked in and published. This goes through the normal approval chain. The content must be in a checked out state to the current logged in user for this to succeed")> Public Function PublishContent(ContentID As long, FolderID As long, ContentLanguage As Integer, DontCreateTask As string, UserID As long, TaskTitle As string) As bool
Parameters |
Description |
ContentID |
The numeric value of the content's ID. |
FolderID |
The numeric value of the content folder's ID. |
ContentLanguage |
The numeric value of the content's language ID. |
DontCreateTask |
If this parameter is "", a task will be created for this submit. Otherwise, no task is created. |
UserID |
The user ID of task assigned by current user. This is needed only if "dontCreateTask" is "", otherwise it is ignored. |
TaskTitle |
Title for the task. This is needed only if "dontCreateTask" is "", otherwise it is ignored. |
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|