Work with Wiki pages
This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IWikiPages>()
and is defined in Telligent.Evolution.Wikis.dll
Events
Events.AfterCreate
Handler
void WikiPageAfterCreateEventHandler(WikiPageAfterCreateEventArgs e);
Events.AfterDelete
Handler
void WikiPageAfterDeleteEventHandler(WikiPageAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void WikiPageAfterUpdateEventHandler(WikiPageAfterUpdateEventArgs e);
Events.BeforeCreate
Handler
void WikiPageBeforeCreateEventHandler(WikiPageBeforeCreateEventArgs e);
Events.BeforeDelete
Handler
void WikiPageBeforeDeleteEventHandler(WikiPageBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void WikiPageBeforeUpdateEventHandler(WikiPageBeforeUpdateEventArgs e);
Events.Render
Handler
void WikiPageRenderEventHandler(WikiPageRenderEventArgs e);
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
CommentSubscriptionTypeId | Guid | |||
ContentTypeId | Guid | Content type Id |
Methods
WikiPage Create(int wikiId, string title, WikiPagesCreateOptions options = null);
Create a WikiPage
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
wikiId | int | Specified Wiki Id | Required | ||
title | string | Specified Wiki title | Required | ||
options | WikiPagesCreateOptions | Wiki pages create options | Optional |
Return Type
AdditionalInfo Delete(int id, WikiPagesDeleteOptions options);
Delete WikiPage
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Specified Wiki page Id | Required | ||
options | WikiPagesDeleteOptions | Wiki pages delete options | Required |
Return Type
WikiPage Get(WikiPagesGetOptions options);
Get a WikiPage
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | WikiPagesGetOptions | Wiki pages get options | Required |
Return Type
WikiPage Get(Guid contentId);
Get a WikiPage
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Specified content Id | Required |
Return Type
bool IsSubscribedtoCommentNotifications(Guid contentId);
Checks to see whether the user is currently subscribed.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Specified content Id | Required |
Return Type
bool
PagedList<WikiPage> List(int wikiId, WikiPagesListOptions options = null);
List WikiPages
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
wikiId | int | Specified Wiki Id | Required | ||
options | WikiPagesListOptions | Wiki pages get list options | Optional |
Return Type
void SubscribeToCommentNotifications(Guid contentId);
Subscribe to Email Notifications of Comments to the given Wiki Page
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Specified content Id | Required |
void UnSubscribeFromCommentNotifications(Guid contentId);
Unsubscribe to the Email Notificaton of Comments on the given Wiki Page
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Specified content Id | Required |
WikiPage Update(int id, WikiPagesUpdateOptions options);
Update WikiPage
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Specified Wiki page Id | Required | ||
options | WikiPagesUpdateOptions | Wiki pages update options | Required |