<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Managing Dependencies</title><link>https://community.telligent.com/community/11/w/developer-training/65119/managing-dependencies</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>Managing Dependencies</title><link>https://community.telligent.com/community/11/w/developer-training/65119/managing-dependencies</link><pubDate>Tue, 04 Aug 2020 21:55:09 GMT</pubDate><guid isPermaLink="false">aef3236a-036c-4fee-b9c7-3fb5705c20ae</guid><dc:creator>Former Member</dc:creator><comments>https://community.telligent.com/community/11/w/developer-training/65119/managing-dependencies#comments</comments><description>Current Revision posted to Developer Training by Former Member on 08/04/2020 21:55:09&lt;br /&gt;
&lt;p&gt;Grouping plugins can make setup and configuration of your project more manageable using [[api-documentation:IPluginGroup Plugin Type|IPluginGroup]]. This will allow you to organize and create multiple plugins and group them in the administration panel.&lt;/p&gt;
&lt;p&gt;[toc]&lt;/p&gt;
&lt;h2&gt;&lt;a id="Why_should_I_group_plugins" name="Why_should_I_group_plugins"&gt;&lt;/a&gt;Why should I group plugins?&lt;/h2&gt;
&lt;p&gt;When creating a content type it may be necessary to add multiple integrations with core services such as [[api-documentation:IRateableContentType Plugin Type|IRateableContentType]], [[api-documentation:ICommentableContentType Plugin Type|ICommentableContentType]] and [[api-documentation:ILikeableContentType Plugin Type|ILikeableContentType]]. By creating a Group Plugin these plugins will all be enabled simultaneously when the Group Plugin is enabled.&lt;/p&gt;
&lt;h2&gt;&lt;a id="Creating_a_Group_Plugin" name="Creating_a_Group_Plugin"&gt;&lt;/a&gt;Creating a Group Plugin&lt;/h2&gt;
&lt;p&gt;The Group Plugin interface only has one property called &lt;code&gt;Plugins&lt;/code&gt;. It returns a list of types to be grouped. In this sample there are three simple classes that implement [[api-documentation:IPlugin Plugin Type|IPlugin]], these are grouped by the&amp;nbsp;[[api-documentation:IPluginGroup Plugin Type|IPluginGroup]] interface.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.telligent.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-12-83/MyGroupPlugin_2E00_cs"&gt;community.telligent.com/.../MyGroupPlugin_2E00_cs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is how the Group Plugin is displayed in the UI.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-12-83/3817.png"&gt;&lt;img style="border:1px solid #DEDEDE;" alt=" " src="/resized-image/__size/331x276/__key/communityserver-wikis-components-files/00-00-00-12-83/3817.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: IPluginGroup&lt;/div&gt;
</description></item><item><title>Managing Dependencies</title><link>https://community.telligent.com/community/11/w/developer-training/65119/managing-dependencies/revision/1</link><pubDate>Thu, 13 Jun 2019 19:28:55 GMT</pubDate><guid isPermaLink="false">aef3236a-036c-4fee-b9c7-3fb5705c20ae</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/developer-training/65119/managing-dependencies#comments</comments><description>Revision 1 posted to Developer Training by Ben Tiedt on 06/13/2019 19:28:55&lt;br /&gt;
&lt;p&gt;Grouping plugins can make setup and configuration of your project more manageable using [[api-documentation:IPluginGroup Plugin Type|IPluginGroup]]. This will allow you to organize and create multiple plugins and group them in the administration panel.&lt;/p&gt;
&lt;p&gt;[toc]&lt;/p&gt;
&lt;h2&gt;&lt;a id="Why_should_I_group_plugins" name="Why_should_I_group_plugins"&gt;&lt;/a&gt;Why should I group plugins?&lt;/h2&gt;
&lt;p&gt;When creating a content type it may be necessary to add multiple integrations with core services such as [[api-documentation:IRateableContentType Plugin Type|IRateableContentType]], [[api-documentation:ICommentableContentType Plugin Type|ICommentableContentType]] and [[api-documentation:ILikeableContentType Plugin Type|ILikeableContentType]]. By creating a Group Plugin these plugins will all be enabled simultaneously when the Group Plugin is enabled.&lt;/p&gt;
&lt;h2&gt;&lt;a id="Creating_a_Group_Plugin" name="Creating_a_Group_Plugin"&gt;&lt;/a&gt;Creating a Group Plugin&lt;/h2&gt;
&lt;p&gt;The Group Plugin interface only has one property called &lt;code&gt;Plugins&lt;/code&gt;. It returns a list of types to be grouped. In this sample there are three simple classes that implement [[api-documentation:IPlugin Plugin Type|IPlugin]], these are grouped by the&amp;nbsp;[[api-documentation:IPluginGroup Plugin Type|IPluginGroup]] interface.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://community.telligent.com/cfs-file/__key/communityserver-wikis-components-files/00-00-00-12-83/MyGroupPlugin_2E00_cs"&gt;community.telligent.com/.../MyGroupPlugin_2E00_cs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is how the Group Plugin is displayed in the UI.&lt;/p&gt;
&lt;p&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-12-83/3817.png"&gt;&lt;img style="border:1px solid #DEDEDE;" src="/resized-image/__size/331x276/__key/communityserver-wikis-components-files/00-00-00-12-83/3817.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>