<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>IContent Plugin Supplementary Type</title><link>https://community.telligent.com/community/11/w/api-documentation/64165/icontent-plugin-supplementary-type</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>IContent Plugin Supplementary Type</title><link>https://community.telligent.com/community/11/w/api-documentation/64165/icontent-plugin-supplementary-type</link><pubDate>Tue, 19 Nov 2019 19:39:00 GMT</pubDate><guid isPermaLink="false">d1265c49-a0d4-4a5b-b841-ea2c5c837509</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/64165/icontent-plugin-supplementary-type#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/19/2019 19:39:00&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;div class="documentation"&gt;&lt;p&gt;Content created on the site must implement this interface for the social services to support it.&lt;/p&gt;&lt;p&gt;&lt;code&gt;IContent&lt;/code&gt; is defined in the &lt;code&gt;Telligent.Evolution.Extensibility.Content.Version1&lt;/code&gt; namespace of Telligent.Evolution.Platform.dll&lt;/p&gt;&lt;div class="documentation-stub"&gt;&lt;h2&gt;&lt;a id="Definition" name="Definition"&gt;&lt;/a&gt;Definition&lt;/h2&gt;&lt;pre&gt;interface IContent
{
	[[IApplication Plugin Supplementary Type|IApplication]] Application { get;  }
	string AvatarUrl { get;  }
	Guid ContentId { get;  }
	Guid ContentTypeId { get;  }
	int? CreatedByUserId { get;  }
	DateTime CreatedDate { get;  }
	bool IsEnabled { get;  }
	string Url { get;  }
	string HtmlDescription(string target);
	string HtmlName(string target);
}
&lt;/pre&gt;&lt;/div&gt;&lt;div class="documentation-members properties"&gt;&lt;h2&gt;&lt;a id="Properties" name="Properties"&gt;&lt;/a&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;Type&lt;/th&gt;&lt;th&gt;Description&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&gt;Application&lt;/td&gt;&lt;td&gt;&lt;code&gt;[[IApplication Plugin Supplementary Type|IApplication]]&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The application in which the IContent is located.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;AvatarUrl&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Url to an image particular to the content or content type.  If none, return null.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;ContentId&lt;/td&gt;&lt;td&gt;&lt;code&gt;Guid&lt;/code&gt;&lt;/td&gt;&lt;td&gt;A Guid uniquely identifying the content.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;ContentTypeId&lt;/td&gt;&lt;td&gt;&lt;code&gt;Guid&lt;/code&gt;&lt;/td&gt;&lt;td&gt;A Guid identifying the type of content.  All content of the same type (i.e. wiki page) will have the same value here.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;CreatedByUserId&lt;/td&gt;&lt;td&gt;&lt;code&gt;int?&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The Id of the user who originated the content.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;CreatedDate&lt;/td&gt;&lt;td&gt;&lt;code&gt;DateTime&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The date the content was created.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;IsEnabled&lt;/td&gt;&lt;td&gt;&lt;code&gt;bool&lt;/code&gt;&lt;/td&gt;&lt;td&gt;A flag representing whether the content is enabled.  This can be a wrapper for approval states, etc.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Url&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;A Url to the content on the site.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&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;&lt;a id="Methods" name="Methods"&gt;&lt;/a&gt;Methods&lt;/h2&gt;&lt;h3&gt;	string HtmlDescription(string target);
&lt;/h3&gt;&lt;p&gt;Return the Html encoded description of the content (the body, for example).  Possible values for “target” are “Web”, “Email”, “WebServices”, or “raw”.  When “raw” is specified as the target, the description should not be encoded or have any special rendering done to it.&lt;/p&gt;&lt;h4&gt;&lt;a id="Parameters" name="Parameters"&gt;&lt;/a&gt;Parameters&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&gt;target&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Target&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;a id="Return_Type" name="Return_Type"&gt;&lt;/a&gt;Return Type&lt;/h4&gt;&lt;p&gt;&lt;code&gt;string&lt;/code&gt;&lt;/p&gt;&lt;h3&gt;	string HtmlName(string target);
&lt;/h3&gt;&lt;p&gt;Return the Html encoded name of the content (the subject for example).  Possible values for “target” are “Web”, “Email”, or “raw”.  When “raw” is specified as the target, the name should not be encoded.&lt;/p&gt;&lt;h4&gt;&lt;a id="Parameters" name="Parameters"&gt;&lt;/a&gt;Parameters&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&gt;target&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Target&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;a id="Return_Type" name="Return_Type"&gt;&lt;/a&gt;Return Type&lt;/h4&gt;&lt;p&gt;&lt;code&gt;string&lt;/code&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>