<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating new form widgets in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-new-form-widgets/m-p/174692#M127822</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is documented at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms_Authoring_Guide" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms_Authoring_Guide&lt;/A&gt;&lt;SPAN&gt;, although I don't believe there are any examples posted up there yet.&amp;nbsp; Basically the way it works is that XML Schema annotations (specifically the &amp;lt;alf:appearance&amp;gt; annotation) are used by the developer to tell Alfresco which widget to use for each element, using a symbolic widget name.&amp;nbsp; If you implement a custom widget (as documented at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Creating_XForms_Widgets" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Creating_XForms_Widgets&lt;/A&gt;&lt;SPAN&gt;) one of the steps is to define a symbolic name for it, which can then be used in this annotation to select that widget for a given element.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the annotation isn't included in a schema, Alfresco falls back to a default based on the data type of the element; these defaults are listed at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms_Authoring_Guide#Supported_XML_Schema_Data_Types_in_Alfresco_2.0_and_higher" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms_Authoring_Guide#Supported_XML_Schema_Data_Types_in_Alfresco_2.0_and_higher&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Sep 2008 02:46:50 GMT</pubDate>
    <dc:creator>pmonks</dc:creator>
    <dc:date>2008-09-12T02:46:50Z</dc:date>
    <item>
      <title>Creating new form widgets</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-new-form-widgets/m-p/174691#M127821</link>
      <description>Are there any examples on how to implement a new form widget into a form? Perhaps how to click a simple widget such as s button. I'm interested in how types defined in the xsd (normalizedString,anyURI) are mapped to entries in web-client-config-wcm.xml. For example, anyURI is mapped to a filepicker.</description>
      <pubDate>Sun, 24 Aug 2008 00:37:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-new-form-widgets/m-p/174691#M127821</guid>
      <dc:creator>et3rnul</dc:creator>
      <dc:date>2008-08-24T00:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new form widgets</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-new-form-widgets/m-p/174692#M127822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is documented at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms_Authoring_Guide" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms_Authoring_Guide&lt;/A&gt;&lt;SPAN&gt;, although I don't believe there are any examples posted up there yet.&amp;nbsp; Basically the way it works is that XML Schema annotations (specifically the &amp;lt;alf:appearance&amp;gt; annotation) are used by the developer to tell Alfresco which widget to use for each element, using a symbolic widget name.&amp;nbsp; If you implement a custom widget (as documented at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Creating_XForms_Widgets" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Creating_XForms_Widgets&lt;/A&gt;&lt;SPAN&gt;) one of the steps is to define a symbolic name for it, which can then be used in this annotation to select that widget for a given element.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the annotation isn't included in a schema, Alfresco falls back to a default based on the data type of the element; these defaults are listed at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms_Authoring_Guide#Supported_XML_Schema_Data_Types_in_Alfresco_2.0_and_higher" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms_Authoring_Guide#Supported_XML_Schema_Data_Types_in_Alfresco_2.0_and_higher&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2008 02:46:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-new-form-widgets/m-p/174692#M127822</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2008-09-12T02:46:50Z</dc:date>
    </item>
  </channel>
</rss>

