<?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: URGENT: Unable to create custom content model. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197718#M150848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The XML isn't well formed (as the exception points out).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2009 11:08:13 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2009-03-31T11:08:13Z</dc:date>
    <item>
      <title>URGENT: Unable to create custom content model.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197716#M150846</link>
      <description>HelloI have created a new custom content as suggested in http://wiki.alfresco.com/wiki/Data_Dictionary_GuideStep-1] Code is as below and have placed it in C:\Alfresco\tomcat\shared\classes\alfresco\extension.&amp;lt;model name="cus:custommodel" xmlns="http://www.alfresco.org/model/dictionary/1.0"&amp;gt;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Mon, 30 Mar 2009 14:52:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197716#M150846</guid>
      <dc:creator>amit_wmw</dc:creator>
      <dc:date>2009-03-30T14:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT: Unable to create custom content model.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197717#M150847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anybody please help me on resolving the above basic configuration issue? Is there any correction I need to do in my above mentioned .xml files or do I need to configure few more things to run this correctly. Well I can see issue only at configuration level (i.e either something went wrong in example-model-context.xml file or I have to do few more configuration in some other place)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please please suggest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Amit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 09:48:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197717#M150847</guid>
      <dc:creator>amit_wmw</dc:creator>
      <dc:date>2009-03-31T09:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT: Unable to create custom content model.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197718#M150848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The XML isn't well formed (as the exception points out).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 11:08:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197718#M150848</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-03-31T11:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT: Unable to create custom content model.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197719#M150849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In particular the closing tags for "types" and "aspects" are missing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 11:21:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197719#M150849</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-03-31T11:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT: Unable to create custom content model.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197720#M150850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Mike &amp;amp; Rogers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for you kind help! Now I corrected the XML file and made it well formed, so server started properly without any issues. But I still stuck up while executing my java programs if I use my custom model tag "cus:" instead of "cm:" while creating nodes. Program terminates with below error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;org.alfresco.service.namespace.NamespaceException: Namespace prefix cus is not mapped to a namespace URI error while creating nodes org.alfresco.service.namespace.NamespaceException: Namespace prefix cus is not mapped to a namespace URI&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.service.namespace.QName.createQName(QName.java:103)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.service.namespace.QName.createQName(QName.java:125)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.jcr.item.JCRPath$SimpleElement.&amp;lt;init&amp;gt;(JCRPath.java:118)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.jcr.item.JCRPath.&amp;lt;init&amp;gt;(JCRPath.java:70)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.jcr.item.NodeImpl.addNode(NodeImpl.java:152)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.reflect.Method.invoke(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.jcr.util.JCRProxyFactory$SessionContextInvocationHandler.invoke(JCRProxyFactory.java:138)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at $Proxy85.addNode(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.hcl.grcmip.workflow.document.jcr.impl.JCRTemplateImpl.save(JCRTemplateImpl.java:63)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.hcl.grcmip.workflow.document.vo.impl.Main.main(Main.java:30)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And I suppose its coming because of the below lines which I put while making my custom content model:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;namespaces&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;namespace uri="&lt;A href="http://www.alfres.orz/model/content/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfres.orz/model/content/1.0&lt;/A&gt;" prefix="cus"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/namespaces&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will you please suggest if this also should be configured some where else or do I need to specify this in a diffrent way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Amit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 13:48:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197720#M150850</guid>
      <dc:creator>amit_wmw</dc:creator>
      <dc:date>2009-03-31T13:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT: Unable to create custom content model.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197721#M150851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;can anybody please suggest if namesapce &amp;lt;"namespace uri="&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/using/1.0" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/using/1.0&lt;/A&gt;&lt;SPAN&gt;" prefix="cus"/"&amp;gt; we give while building our custom model has to be configured somewhere else also? Like in some Metadata extractor or Qname or in some other place or property file? Because while I execute my java program the exception&amp;nbsp; suggest the same "Namespace prefix cus is not mapped to a namespace URI"!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Amit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 11:07:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197721#M150851</guid>
      <dc:creator>amit_wmw</dc:creator>
      <dc:date>2009-04-01T11:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: URGENT: Unable to create custom content model.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197722#M150852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see that Namespace prefix and namespace URI are configured in "NamespaceService" interface in SDK. But if I am not using alfresco SDK but only alfresco server and my own custom jsr code how and where to make this configuration(in alfresco server)? Or is there some problem something somewhere else? Please suggest, I am a bit lost here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Amit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 13:47:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/urgent-unable-to-create-custom-content-model/m-p/197722#M150852</guid>
      <dc:creator>amit_wmw</dc:creator>
      <dc:date>2009-04-01T13:47:34Z</dc:date>
    </item>
  </channel>
</rss>

