<?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 Importing XSD in web forms in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/importing-xsd-in-web-forms/m-p/213239#M166369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are trying to include a XSD file from the home directory to alfresco template. We have shared.xsd in alfresco home and we are importing it in other xsds for webforms. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If we import XSD as,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;xs:import schemaLocation="/shared.xsd" namespace="&lt;/SPAN&gt;&lt;A href="http://www.myhome.com%22/" rel="nofollow noopener noreferrer"&gt;http://www.myhome.com'/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco somehow replaces it as following.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;xs:import namespace="&lt;/SPAN&gt;&lt;A href="http://www.myhome.com" rel="nofollow noopener noreferrer"&gt;http://www.myhome.com&lt;/A&gt;&lt;SPAN&gt;" schemaLocation="&lt;/SPAN&gt;&lt;A href="http://user-name.company-home.www--sandbox.127-0-0-1.ip.alfrescodemo.net:8180/shared.xsd%22/" rel="nofollow noopener noreferrer"&gt;http://user-name.company-home.www--sandbox.127-0-0-1.ip.alfrescodemo.net:8180/shared.xsd'/&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And we can not create the content, because it can not resolve elements in shared.xsd. Anyone knows how to import XSDs in webforms?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unmesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Sep 2009 16:04:23 GMT</pubDate>
    <dc:creator>unmeshjoshi</dc:creator>
    <dc:date>2009-09-06T16:04:23Z</dc:date>
    <item>
      <title>Importing XSD in web forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-xsd-in-web-forms/m-p/213239#M166369</link>
      <description>Hi,We are trying to include a XSD file from the home directory to alfresco template. We have shared.xsd in alfresco home and we are importing it in other xsds for webforms. If we import XSD as,&amp;lt;xs:import schemaLocation="/shared.xsd" namespace="http://www.myhome.com'/&amp;gt;Alfresco somehow replaces</description>
      <pubDate>Sun, 06 Sep 2009 16:04:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-xsd-in-web-forms/m-p/213239#M166369</guid>
      <dc:creator>unmeshjoshi</dc:creator>
      <dc:date>2009-09-06T16:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Importing XSD in web forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-xsd-in-web-forms/m-p/213240#M166370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The new (as of Alfresco v2.2SP3 / v3.0SP1) recommended way of achieving this is through webscripts. For more information see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms_Authoring_Guide#Using_dynamic_types_in_schemas" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms_Authoring_Guide#Using_dynamic_types_in_schemas&lt;/A&gt;&lt;SPAN&gt; and example attachments in &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ETWOTWO-926" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ETWOTWO-926&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2009 09:08:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-xsd-in-web-forms/m-p/213240#M166370</guid>
      <dc:creator>pyppe</dc:creator>
      <dc:date>2009-10-01T09:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Importing XSD in web forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-xsd-in-web-forms/m-p/213241#M166371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try uploading xsd into web project and use the relative path in your imports. Basically this approach works with all versions of Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However I have faced difficulty in some version (3.0) while trying to include/import xsd from DM Space. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And as mentioned above the third way is to write the webscript to import. But i guess if web forms are not shared accross the projects then importing in the web project would be easier…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 22:00:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-xsd-in-web-forms/m-p/213241#M166371</guid>
      <dc:creator>kmehta31</dc:creator>
      <dc:date>2009-11-06T22:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Importing XSD in web forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-xsd-in-web-forms/m-p/213242#M166372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might find the solution described at &lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/pmonks/2009/07/07/including-a-static-xsd-in-a-web-form/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/pmonks/2009/07/07/including-a-static-xsd-in-a-web-form/&lt;/A&gt;&lt;SPAN&gt; helpful.&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>Sat, 07 Nov 2009 06:06:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-xsd-in-web-forms/m-p/213242#M166372</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2009-11-07T06:06:34Z</dc:date>
    </item>
  </channel>
</rss>

