<?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 Can't access to 'people' api in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-t-access-to-people-api/m-p/281669#M234799</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;I have to made some modifications inside the "task-edit-header.js" file in order to control the workflow tasks reassignment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I try to access to all the groups of the user selected I always get some errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried different things with the people API like (args[1] is my person object):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var groupes = people.getContainerGroups(args[1]);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it seems that I'm not able to use the API people or another one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an import or a special thing to do to make it works?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I have to use an other way to get the informations I need? If yes, can someone help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2014 07:14:01 GMT</pubDate>
    <dc:creator>theoryoflinkin</dc:creator>
    <dc:date>2014-07-01T07:14:01Z</dc:date>
    <item>
      <title>Can't access to 'people' api</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-access-to-people-api/m-p/281669#M234799</link>
      <description>Hi,I have to made some modifications inside the "task-edit-header.js" file in order to control the workflow tasks reassignment.But when I try to access to all the groups of the user selected I always get some errors.I tried different things with the people API like (args[1] is my person object):var</description>
      <pubDate>Tue, 01 Jul 2014 07:14:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-access-to-people-api/m-p/281669#M234799</guid>
      <dc:creator>theoryoflinkin</dc:creator>
      <dc:date>2014-07-01T07:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can't access to 'people' api</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-t-access-to-people-api/m-p/281670#M234800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;people is alfresco server side javascript object and task-edit-header.js is share client side javascript .So of course you can't access people oject in task-edit-header.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can call people webscript api using ajax&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 09:41:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-t-access-to-people-api/m-p/281670#M234800</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-07-01T09:41:13Z</dc:date>
    </item>
  </channel>
</rss>

