Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
WriteContainer permission on the category is required.
[This is preliminary documentation and is subject to change.]
Sets a document to be the edit-template of a category.
A category can have one edit-template only and must be of the Edit template type.
Namespace: ContentStudio.Document.EPT
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public void SetEditTemplate( ConnectionId connectionId, SessionId sessionId, DocumentId documentId, CategoryId categoryId )
Parameters
- connectionId
- Type: ContentStudioConnectionId
A value that identifies the web site - sessionId
- Type: ContentStudio.SecuritySessionId
A value that identifies the user's session. This value usually originates from a call to OpenSession(ConnectionId). - documentId
- Type: ContentStudio.DocumentDocumentId
The edit template that should be connected to the category - categoryId
- Type: ContentStudio.DocumentCategoryId
The category to which an edit template should be connected.
Content Studio permissions
See Also