Enables scripted content fragments to used embedded files in Wiki Posts
Methods
Create
Create Overload 1
Creates a wiki file
Velocity
#set($wikiFileResponse = $core_v2_wikiFiles.Create($wikiId, $filename, $fileData))
JavaScript
var wikiFileResponse = core_v2_wikiFiles.Create(wikiId, filename, fileData);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
wikiId | Int32 | Wiki Id | Required | ||
filename | String | Filename | Required | ||
fileData | Array of Byte | File Data | Required |
Create Overload 2
Creates a wiki file
Velocity
#set($wikiFileResponse = $core_v2_wikiFiles.Create($wikiId, $filename, $fileUploadContext))
JavaScript
var wikiFileResponse = core_v2_wikiFiles.Create(wikiId, filename, fileUploadContext);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
wikiId | Int32 | Wiki Id | Required | ||
filename | String | Filename | Required | ||
fileUploadContext | String | File Upload Context | Required |