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.
public Boolean PublishContent(Long ContentId, Long FolderId, int ContentLanguage, String dontCreateTask, Long UserID, String TaskTitle);
Public Function PublishContent(ByVal ContentId As Long, ByVal FolderId As Long, ByVal ContentLanguage As Integer, ByVal dontCreateTask As String, ByVal UserID As Long, ByVal TaskTitle As String) As Boolean
Parameters |
Description |
ContentId |
Numeric value of the content's ID. (Long) |
FolderId |
Numeric value of the content folder's ID. (Long) |
ContentLanguage |
Integer value of the content's language ID. |
dontCreateTask |
Set to "" to create a task for this submit. If anything else appears, a task is not created. |
UserID |
The ID of the user assigning the task (current user). This is needed only when the dontCreateTask property is set to "". Otherwise, this property is ingnored. |
TaskTitle |
Title for the task. This is needed only when the dontCreateTask property is set to "". Otherwise, this property is ingnored. |
A Boolean indicating success or not.
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|