<?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: [SOLVED]Adding cm:person as property (aspect) from wizard. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184577#M137707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It worked when I first developped it, but later no more. I tested everything I could: the line is executed, the strings are correct, the QName should also be ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Nov 2008 10:02:52 GMT</pubDate>
    <dc:creator>libman</dc:creator>
    <dc:date>2008-11-21T10:02:52Z</dc:date>
    <item>
      <title>[SOLVED]Adding cm:person as property (aspect) from wizard.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184576#M137706</link>
      <description>Hi,I have a wizard where I get the list of usernames. When selected, I get from personService the user. I did not get a null, so it should be good. But while adding it as property (association), the property is empty after the wizard is finished. I can select persons in the detail view.I use the fol</description>
      <pubDate>Thu, 20 Nov 2008 11:15:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184576#M137706</guid>
      <dc:creator>libman</dc:creator>
      <dc:date>2008-11-20T11:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]Adding cm:person as property (aspect) from wizard.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184577#M137707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It worked when I first developped it, but later no more. I tested everything I could: the line is executed, the strings are correct, the QName should also be ok.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2008 10:02:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184577#M137707</guid>
      <dc:creator>libman</dc:creator>
      <dc:date>2008-11-21T10:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]Adding cm:person as property (aspect) from wizard.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184578#M137708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you are managing a parent-child association, like space-content one. Can you establish such type of relationship with only properties?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the model this associations must be defined as it is said in &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Child_Associations" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Child_Associations&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Non-Child_Associations" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Data_Dictionary_Guide#Non-Child_Associations&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not worked with this type of properties, so it would be very interesting to know how you resolve this problem. I guess you have to work with CML.addChild property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can be completely wrong&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:. I am only supposing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2008 20:18:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184578#M137708</guid>
      <dc:creator>vsuarez</dc:creator>
      <dc:date>2008-11-21T20:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]Adding cm:person as property (aspect) from wizard.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184579#M137709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is not a parent-child relationship:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;associations&amp;gt;&lt;BR /&gt; &amp;lt;association name="project:projectmanager"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;title&amp;gt;Project manager&amp;lt;/title&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;source&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;many&amp;gt;false&amp;lt;/many&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/source&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;target&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;class&amp;gt;cm:person&amp;lt;/class&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;mandatory&amp;gt;false&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;many&amp;gt;false&amp;lt;/many&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/target&amp;gt;&lt;BR /&gt;&amp;lt;/association&amp;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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;I am sure it worked before, with the same code. Very strange.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 08:14:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184579#M137709</guid>
      <dc:creator>libman</dc:creator>
      <dc:date>2008-11-24T08:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]Adding cm:person as property (aspect) from wizard.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184580#M137710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Node.getProperties() only returns a List&amp;lt;NamedValue&amp;gt;, and each NamedValue object is a pair of strings, so I can't guess how we can get a person from a String. I'll try to study a little more this case (if I get some free time).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: there is a queryAssociated method in the repository service, but I haven't time to test it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 14:00:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184580#M137710</guid>
      <dc:creator>vsuarez</dc:creator>
      <dc:date>2008-11-24T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]Adding cm:person as property (aspect) from wizard.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184581#M137711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To clarify:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;getManager() gives a String which is get by:&lt;BR /&gt;nodeService.getProperty(ref,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentModel.PROP_USERNAME).toString());&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Where ref is a NodeRef from personService.getAllPeople();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understood your reply, you think that I want to get a property from the aspect. This is not correct. I just want to set the person as property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 10:21:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184581#M137711</guid>
      <dc:creator>libman</dc:creator>
      <dc:date>2008-11-25T10:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED]Adding cm:person as property (aspect) from wizard.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184582#M137712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is not a property, but association. It cannot be added as "property", but realised with use of the "createAssociation" function of the nodeService service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 08:41:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-adding-cm-person-as-property-aspect-from-wizard/m-p/184582#M137712</guid>
      <dc:creator>libman</dc:creator>
      <dc:date>2008-11-27T08:41:37Z</dc:date>
    </item>
  </channel>
</rss>

