<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>MediaFile Script API Type</title><link>https://community.telligent.com/community/14/w/api-documentation/79294/mediafile-script-api-type</link><description>&lt;p&gt;&lt;span&gt;Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.&lt;/span&gt;&lt;/p&gt;</description><dc:language>en-US</dc:language><generator>14.0.0.684 14</generator><item><title>MediaFile Script API Type</title><link>https://community.telligent.com/community/14/w/api-documentation/79294/mediafile-script-api-type</link><pubDate>Wed, 14 May 2025 17:05:15 GMT</pubDate><guid isPermaLink="false">847bde4a-bd91-4f80-80fb-5225ccbe78c9</guid><dc:creator>Verint | Telligent Community</dc:creator><comments>https://community.telligent.com/community/14/w/api-documentation/79294/mediafile-script-api-type#comments</comments><description>Current Revision posted to API Documentation by Verint | Telligent Community on 05/14/2025 17:05:15&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;div class="documentation"&gt;&lt;a name="Properties"&gt;&lt;/a&gt;&lt;div class="documentation-members properties"&gt;&lt;h2&gt;Properties&lt;/h2&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Access&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;ContentType&lt;/td&gt;&lt;td rowspan="1"&gt;Read, Write&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[String Script API Type|String]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Content Type&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;Date&lt;/td&gt;&lt;td rowspan="1"&gt;Read, Write&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[Nullable Script API Type|Nullable]] of [[DateTime Script API Type|DateTime]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Date&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;Errors&lt;/td&gt;&lt;td rowspan="1"&gt;Read&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[List Script API Type|List]] of [[Error Script API Type|Error]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Errors&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;FileName&lt;/td&gt;&lt;td rowspan="1"&gt;Read, Write&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[String Script API Type|String]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;File Name&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;FileSize&lt;/td&gt;&lt;td rowspan="1"&gt;Read, Write&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[Nullable Script API Type|Nullable]] of [[Number Script API Type|Number]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;File Size&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;FileUrl&lt;/td&gt;&lt;td rowspan="1"&gt;Read, Write&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[String Script API Type|String]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;File Url&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;IsRemoteAttachment&lt;/td&gt;&lt;td rowspan="1"&gt;Read, Write&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[Nullable Script API Type|Nullable]] of [[Boolean Script API Type|Boolean]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Is Remote Attachment&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;Warnings&lt;/td&gt;&lt;td rowspan="1"&gt;Read&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[List Script API Type|List]] of [[Warning Script API Type|Warning]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Warnings&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="documentation-members methods"&gt;&lt;h2&gt;Methods&lt;/h2&gt;&lt;a name="Data"&gt;&lt;/a&gt;&lt;h3&gt;Data&lt;/h3&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($byteResponse = $mediaFile.Data())&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var byteResponse = mediaFile.Data();&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;Array of [[Byte Script API Type|Byte]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="GetClientDownloadUrl"&gt;&lt;/a&gt;&lt;h3&gt;GetClientDownloadUrl&lt;/h3&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($stringResponse = $mediaFile.GetClientDownloadUrl())&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var stringResponse = mediaFile.GetClientDownloadUrl();&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[String Script API Type|String]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="HasErrors"&gt;&lt;/a&gt;&lt;h3&gt;HasErrors&lt;/h3&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($booleanResponse = $mediaFile.HasErrors())&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var booleanResponse = mediaFile.HasErrors();&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[Boolean Script API Type|Boolean]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="HasWarnings"&gt;&lt;/a&gt;&lt;h3&gt;HasWarnings&lt;/h3&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($booleanResponse = $mediaFile.HasWarnings())&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var booleanResponse = mediaFile.HasWarnings();&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[Boolean Script API Type|Boolean]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="HasWarningsOrErrors"&gt;&lt;/a&gt;&lt;h3&gt;HasWarningsOrErrors&lt;/h3&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($booleanResponse = $mediaFile.HasWarningsOrErrors())&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var booleanResponse = mediaFile.HasWarningsOrErrors();&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[Boolean Script API Type|Boolean]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="SaveToTemporaryFiles"&gt;&lt;/a&gt;&lt;h3&gt;SaveToTemporaryFiles&lt;/h3&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($booleanResponse = $mediaFile.SaveToTemporaryFiles($contextId, $fileName))&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var booleanResponse = mediaFile.SaveToTemporaryFiles(contextId, fileName);&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;contextId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[String Script API Type|String]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Context Id&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;fileName&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;[[String Script API Type|String]]&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;File Name&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[Boolean Script API Type|Boolean]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="ThrowErrors"&gt;&lt;/a&gt;&lt;h3&gt;ThrowErrors&lt;/h3&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;$mediaFile.ThrowErrors()&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;mediaFile.ThrowErrors();&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;span&gt;Nothing&lt;/span&gt;&lt;a name="ToString"&gt;&lt;/a&gt;&lt;h3&gt;ToString&lt;/h3&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($stringResponse = $mediaFile.ToString())&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var stringResponse = mediaFile.ToString();&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[String Script API Type|String]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>