<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>glowUpload jQuery Plugin</title><link>https://community.telligent.com/community/12/w/api-documentation/71728/glowupload-jquery-plugin</link><description>Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>glowUpload jQuery Plugin</title><link>https://community.telligent.com/community/12/w/api-documentation/71728/glowupload-jquery-plugin</link><pubDate>Thu, 02 Jun 2022 15:18:37 GMT</pubDate><guid isPermaLink="false">6435f3e1-99d1-4ee7-91db-680ec46e8e6c</guid><dc:creator>Former Member</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/71728/glowupload-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Former Member on 06/02/2022 15:18:37&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="jQuery_fn_glowUpload" name="jQuery_fn_glowUpload"&gt;&lt;/a&gt;jQuery.fn.glowUpload&lt;/h3&gt;
&lt;p&gt;Renders a single file upload form supporting chunked uploads with a visual progress bar&lt;/p&gt;
&lt;h3&gt;&lt;a id="Usage" name="Usage"&gt;&lt;/a&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).glowUpload(options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;where &amp;#39;SELECTOR&amp;#39; is a div element containing file input&lt;/p&gt;
&lt;h3&gt;&lt;a id="Options" name="Options"&gt;&lt;/a&gt;Options&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;fileFilter&lt;/code&gt;: Array of filters to apply when selecting files.  Each filter is an object with format &lt;code&gt;{title : &amp;quot;Zip files&amp;quot;, extensions : &amp;quot;zip&amp;quot;}&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;default: &lt;em&gt;null&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;maxFileSize&lt;/code&gt;: Maximum file size of a selectable file (0 for unlimited).
&lt;ul&gt;
&lt;li&gt;default: &lt;em&gt;&amp;#39;0&amp;#39;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;width&lt;/code&gt;: Width of control
&lt;ul&gt;
&lt;li&gt;default: &lt;em&gt;&amp;#39;350px&amp;#39;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;uploadUrl&lt;/code&gt;: URL to upload against.  With Studio Widgets, this is the result of a call to create a context ID and build an upload URL for it:  &lt;code&gt;$core_v2_uploadedFile.GetUploadUrl($core_v2_uploadedFile.CreateContextId())&lt;/code&gt;
&lt;ul&gt;
&lt;li&gt;default: &lt;em&gt;&amp;#39;/&amp;#39;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;uploadedFormat&lt;/code&gt;: HTML template to use for an uploaded item
&lt;ul&gt;
&lt;li&gt;default: &lt;em&gt;&amp;#39;&amp;lt;div style=&amp;quot;overflow: hidden; text-overflow: ellipsis; word-break: break-all; white-space: normal; color: #000; padding: .25em;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float: right; color: #3a3; margin-left: .25em;&amp;quot;&amp;gt;Uploaded&amp;lt;/div&amp;gt;{0}&amp;lt;/div&amp;gt;&amp;#39;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;uploadingFormat&lt;/code&gt;: HTML template to use for an uploading item
&lt;ul&gt;
&lt;li&gt;default: &lt;em&gt;&amp;#39;&amp;lt;div style=&amp;quot;overflow: hidden; text-overflow: ellipsis; word-break: break-all; white-space: normal; color: #000; padding: .25em;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float: right; margin-top: .25em; margin-left: .25em; border: solid 1px #999; background-color: #eee; width: 50px; height: .5em;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;background-color: #7e7; width: {1}%; height: .5em;&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;{0}&amp;lt;/div&amp;gt;&amp;#39;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;toUploadFormat&lt;/code&gt;: HTML template to use for an item to be uploaded
&lt;ul&gt;
&lt;li&gt;default: &lt;em&gt;&amp;#39;&amp;lt;div style=&amp;quot;overflow: hidden; text-overflow: ellipsis; word-break: break-all; white-space: normal; color: #666; font-style: italic; padding: .25em;&amp;quot;&amp;gt;{0}&amp;lt;/div&amp;gt;&amp;#39;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;errorFormat&lt;/code&gt;: HTML template to use for an error
&lt;ul&gt;
&lt;li&gt;default: &lt;em&gt;&amp;#39;&amp;lt;div style=&amp;quot;overflow: hidden; text-overflow: ellipsis; word-break: break-all; white-space: normal; color: #000; padding: .25em;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;float: right; color: #f00; margin-left: .25em;&amp;quot;&amp;gt;Error&amp;lt;/div&amp;gt;{0}&amp;lt;/div&amp;gt;&amp;#39;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;renderMode&lt;/code&gt;: UI presentation mode.  Options are &amp;#39;default&amp;#39; (full UI), &amp;#39;dragdrop&amp;#39; (only provides a drag/drop target for file uploading), or &amp;#39;link&amp;#39; (overrides the behavior of the container to be a link to select a file)
&lt;ul&gt;
&lt;li&gt;default: &amp;#39;default&amp;#39;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;selectFileLabel&lt;/code&gt;: The text rendered on the button used to select a file to upload
&lt;ul&gt;
&lt;li&gt;default: &amp;#39;Browse...&amp;#39;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;initialFileName&lt;/code&gt;: The name of a file that has already been uploaded and should be rendered as an existing file selection
&lt;ul&gt;
&lt;li&gt;default: &amp;#39;&amp;#39;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;contentTypeId&lt;/code&gt;: The Guid ID of the content type into which this file will be stored.
&lt;ul&gt;
&lt;li&gt;default: null&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;applicationTypeId&lt;/code&gt;: The Guid ID of the application type into which this file will be stored.
&lt;ul&gt;
&lt;li&gt;default: null&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;applicationId&lt;/code&gt;: The Guid ID of the application into which this file will be stored.
&lt;ul&gt;
&lt;li&gt;default: null&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;type&lt;/code&gt;: The type of file being uploaded (used for validation). Options are: &amp;#39;Image&amp;#39;
&lt;ul&gt;
&lt;li&gt;default: null&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a id="Methods" name="Methods"&gt;&lt;/a&gt;Methods&lt;/h3&gt;
&lt;h4&gt;&lt;a id="val" name="val"&gt;&lt;/a&gt;val&lt;/h4&gt;
&lt;p&gt;Returns the file name of the uploaded file&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var fileName = $(&amp;#39;SELECTOR&amp;#39;).glowUpload(&amp;#39;val&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="destory" name="destory"&gt;&lt;/a&gt;destory&lt;/h4&gt;
&lt;p&gt;Destroys the upload behavior.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var fileName = $(&amp;#39;SELECTOR&amp;#39;).glowUpload(&amp;#39;destroy&amp;#39;);
&lt;/code&gt;&lt;/pre&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>