<?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 Custom Aspect get no value in web in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-aspect-get-no-value-in-web/m-p/152587#M107223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the webservices to create a document containing the TITLED aspect, and a custom aspect of mine, with 10 properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While the document gets created, the aspects get added, my aspect properties values are not being displayed in the web interface (the NamedValue do have the right values in them etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Running my code in the Eclipse debugger, once I get to the executing of the CML update (WebServiceFactory.getRepositoryService().update(cml):smileywink:, the debugger tells me that an InvocationTargetException is thrown, with arg0 cause being NullPointerException, containing another nested NPE, etc… This everytime it calls NamedValue class getValues() function on one of my aspect property. There is no details, however… and I have no idea why &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; Right before that, I can see my variable is populated with the intended data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what this is? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;fred&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Aug 2008 13:10:15 GMT</pubDate>
    <dc:creator>chapeaurouge</dc:creator>
    <dc:date>2008-08-01T13:10:15Z</dc:date>
    <item>
      <title>Custom Aspect get no value in web</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-aspect-get-no-value-in-web/m-p/152587#M107223</link>
      <description>Hello all,I am using the webservices to create a document containing the TITLED aspect, and a custom aspect of mine, with 10 properties.While the document gets created, the aspects get added, my aspect properties values are not being displayed in the web interface (the NamedValue do have the right v</description>
      <pubDate>Fri, 01 Aug 2008 13:10:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-aspect-get-no-value-in-web/m-p/152587#M107223</guid>
      <dc:creator>chapeaurouge</dc:creator>
      <dc:date>2008-08-01T13:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Aspect get no value in web</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-aspect-get-no-value-in-web/m-p/152588#M107224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Found out why…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had this, ie:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;paoProps[1] = Utils.createNamedValue(biModel.PROP_PAO_ACCT_DATE, "2007-04-01T00:00:00.000-05:00");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Had to be&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;paoProps[1] = Utils.createNamedValue(Constants.createQNameString(biModel.NAMESPACE_BI_CONTENT_MODEL, biModel.PROP_PAO_ACCT_DATE)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Works now &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2008 13:27:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-aspect-get-no-value-in-web/m-p/152588#M107224</guid>
      <dc:creator>chapeaurouge</dc:creator>
      <dc:date>2008-08-01T13:27:18Z</dc:date>
    </item>
  </channel>
</rss>

