<?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: Javascript API - group membership in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108243#M75881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The good news is that Create Group and Add User/Group to a Group has been added to the JavaScript API for Alfresco 2.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For 2.0 now, you would need to create a java class that performs the service calls you need and configure that in as a custom javascript object using Spring:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API#Adding_custom_Script_APIs" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API#Adding_custom_Script_APIs&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;You can then call that object from javascript until you upgrade to 2.1. You can get the code out from our public SVN if you want to see how the API has been expanded on the People object in JavaScript for 2.1 - then you can make your custom object very similar so the transition is easy for you when 2.1 comes out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2007 13:50:39 GMT</pubDate>
    <dc:creator>kevinr</dc:creator>
    <dc:date>2007-04-27T13:50:39Z</dc:date>
    <item>
      <title>Javascript API - group membership</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108242#M75880</link>
      <description>Hi, I would like to make a user member of a group depending on information extracted from ldap.I use Alfresco 2.0 CE and I think the people API doesn't (yet?) support a setMember method, nor a createGroup method. Or this could maybe be accomplished through the Node API?If not, what best alternative</description>
      <pubDate>Fri, 27 Apr 2007 08:35:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108242#M75880</guid>
      <dc:creator>stebans</dc:creator>
      <dc:date>2007-04-27T08:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript API - group membership</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108243#M75881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The good news is that Create Group and Add User/Group to a Group has been added to the JavaScript API for Alfresco 2.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For 2.0 now, you would need to create a java class that performs the service calls you need and configure that in as a custom javascript object using Spring:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API#Adding_custom_Script_APIs" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API#Adding_custom_Script_APIs&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;You can then call that object from javascript until you upgrade to 2.1. You can get the code out from our public SVN if you want to see how the API has been expanded on the People object in JavaScript for 2.1 - then you can make your custom object very similar so the transition is easy for you when 2.1 comes out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 13:50:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108243#M75881</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-04-27T13:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript API - group membership</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108244#M75882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;StÃ©phane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 14:29:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108244#M75882</guid>
      <dc:creator>stebans</dc:creator>
      <dc:date>2007-04-27T14:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript API - group membership</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108245#M75883</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;In Javascript API of Alfresco-dev 11-June-2007, I have seen the extension of the people API with createGroup(groupName) method. But I haven't found how to add a person to a group… Is it not implemented yet (or hidden somewhere else :wink: )?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;StÃ©phane&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS. Where to put/check issues/remarks about nightly builds releases? in Jira or it does pollute Jira repository?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 14:29:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108245#M75883</guid>
      <dc:creator>stebans</dc:creator>
      <dc:date>2007-06-13T14:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript API - group membership</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108246#M75884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The API you want is: people.addAuthority(groupNode, authorityNode)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It can be used to add a person or a group to an existing group. Note that you will need to retrieve the authority (i.e. person) with the people.getPerson(username) or people.getGroup(groupname) first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 14:53:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108246#M75884</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-06-13T14:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript API - group membership</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108247#M75885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I should have guessed, tsss!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;StÃ©phane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2007 14:55:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-api-group-membership/m-p/108247#M75885</guid>
      <dc:creator>stebans</dc:creator>
      <dc:date>2007-06-13T14:55:31Z</dc:date>
    </item>
  </channel>
</rss>

