<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>editableGroup JavaScript API Module</title><link>https://community.telligent.com/community/13/w/api-documentation/75717/editablegroup-javascript-api-module</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.586 14</generator><item><title>editableGroup JavaScript API Module</title><link>https://community.telligent.com/community/13/w/api-documentation/75717/editablegroup-javascript-api-module</link><pubDate>Fri, 08 Mar 2024 17:51:06 GMT</pubDate><guid isPermaLink="false">6125fd03-fc43-467f-b76b-26e95e16ca99</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75717/editablegroup-javascript-api-module#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:51:06&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;jQuery.telligent.evolution.editableGroup&lt;/h3&gt;
&lt;p&gt;The editable group module enables widgets to be validated and edited in groups.  This is how the editable user profile is implemented.&lt;/p&gt;
&lt;p&gt;Note that this API works with the &lt;code&gt;$core_editableGroup&lt;/code&gt; scripted widget extension that exposes methods to simplify registration, retrieving the save script, retrieving the validation script, loading related widgets in edit mode and view mode.&lt;/p&gt;
&lt;h3&gt;Methods&lt;/h3&gt;
&lt;h4&gt;register&lt;/h4&gt;
&lt;p&gt;Registers a widget or script to be edited within a group identified by groupName.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.editableGroup.register(groupName, options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;options:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;save&lt;/code&gt;: a function that, when called, should perform the grouped save associated to this registration.  The function can return true or false to identify whether the save was successful or not return a boolean but use the passed in function parameters success and failure to identify success and failure asynchronously.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;validate&lt;/code&gt;: a function that, when called, should perform validation associated to this registration.  The function can return true or false to identify whether the save was successful or not return a Boolean but use the passed in function parameters success and failure to identify success and failure asynchronously.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;save&lt;/h4&gt;
&lt;p&gt;Initiates the saving functionality related to the specified groupName.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.editableGroup.save(groupName, options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;options:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;success&lt;/code&gt;: a function to execute when all registered save behavior has completed successfully.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;error&lt;/code&gt;: a function to execute when any of the registered save behavior identifies an error.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;validate&lt;/h4&gt;
&lt;p&gt;Initiates the validation functionality related to the specified groupName.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.editableGroup.validate(groupName, options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;em&gt;options:&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;success&lt;/code&gt;: a function to execute when all registered validations have been successful.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;error&lt;/code&gt;: a function to execute when any of the registered validations have failed.&lt;/li&gt;
&lt;/ul&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>