Enables scripted content fragments to use WikiTocs
Methods
List
List Overload 1
Get Table of Contents for a Wiki
Velocity
#set($apiListResponse = $core_v2_wikiToc.List($wikiId))
JavaScript
var apiListResponse = core_v2_wikiToc.List(wikiId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
wikiId | Int32 | Wiki Id | Required |
List Overload 2
Get Table of Contents for a Wiki Page
Velocity
#set($apiListResponse = $core_v2_wikiToc.List($wikiId, $wikiPageId))
JavaScript
var apiListResponse = core_v2_wikiToc.List(wikiId, wikiPageId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
wikiId | Int32 | Wiki Id | Required | ||
wikiPageId | Int32 | Wiki Page Id | Required |