<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>IPropertyTemplateOptions Plugin Supplementary Type</title><link>https://community.telligent.com/community/13/w/api-documentation/72406/ipropertytemplateoptions-plugin-supplementary-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.586 14</generator><item><title>IPropertyTemplateOptions Plugin Supplementary Type</title><link>https://community.telligent.com/community/13/w/api-documentation/72406/ipropertytemplateoptions-plugin-supplementary-type</link><pubDate>Fri, 08 Mar 2024 17:13:37 GMT</pubDate><guid isPermaLink="false">98159e90-8443-41de-9506-6df672d4e128</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/72406/ipropertytemplateoptions-plugin-supplementary-type#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:13:37&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;div class="documentation"&gt;&lt;p&gt;&lt;code&gt;IPropertyTemplateOptions&lt;/code&gt; is defined in the &lt;code&gt;Telligent.Evolution.Extensibility.Configuration.Version1&lt;/code&gt; namespace of Telligent.Evolution.Platform.dll&lt;/p&gt;&lt;div class="documentation-stub"&gt;&lt;h2&gt;Definition&lt;/h2&gt;&lt;pre&gt;interface IPropertyTemplateOptions
{
	bool CanStoreUrlContents { get;  }
	string DateFormatString { get;  }
	string DateTimeFormatString { get;  }
	string FormId { get;  }
	string JsonApi { get;  }
	[[Property Plugin Supplementary Type|Property]] Property { get;  }
	string TimeFormatString { get;  }
	string UniqueId { get;  }
	string ValidUrlPattern { get;  }
	Object Value { get;  }
	string ResolveResource(string resourceName, string defaultText);
}
&lt;/pre&gt;&lt;/div&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;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;CanStoreUrlContents&lt;/td&gt;&lt;td&gt;&lt;code&gt;bool&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Returns true if the configuration store for this property supports storing referenced URL contents. When URL contents can be stored, local CFS URL references in HTML, Url, UrlList, and configured Custom properties will be saved with this configuration data.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;DateFormatString&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The .net format string used to format a DateTime object into a date string.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;DateTimeFormatString&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The .net format string used to format a DateTime object into a date-and-time string.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;FormId&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The client identifier used by the form. This ID can be used with the dynamicForm jQuery plugin to interace with other properties within the same configuration form.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;JsonApi&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The JSON private API to interface with the overall form:
&lt;pre&gt;
{
  register: function({
    hasValue: function() { /* return true or false */ }
    val: function(val) { /* if val is defined, set the value of the property. if not, return the current value */ } 
  }),
  changed: function(val) { /* notify the form of changes to this property&amp;#39;s value */ }
}
&lt;/pre&gt;
This API should be rendered by the template and used to interact with the overall form. The register function should be called by this property template and define the hasValue and val functions. When the value of this property is changed by the rendering of this template, the changed function should be called.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Property&lt;/td&gt;&lt;td&gt;&lt;code&gt;[[Property Plugin Supplementary Type|Property]]&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The property to render.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;TimeFormatString&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The .net format string used to format a DateTime object into a time string.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;UniqueId&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The unique identifier to use for client rendering. Any additional identifiers required by the rendering of the property should be extended from this one.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;ValidUrlPattern&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The regular expression pattern that can be used to validate a URL.&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Value&lt;/td&gt;&lt;td&gt;&lt;code&gt;Object&lt;/code&gt;&lt;/td&gt;&lt;td&gt;The current value of the property.&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;Methods&lt;/h2&gt;&lt;h3&gt;	string ResolveResource(string resourceName, string defaultText);
&lt;/h3&gt;&lt;p&gt;Resolves a language resource name to a string or defaults to the provided text if the resource is not available.&lt;/p&gt;&lt;h4&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;resourceName&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Resource Name&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;tr&gt;&lt;td&gt;defaultText&lt;/td&gt;&lt;td&gt;&lt;code&gt;string&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Default Text&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;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>