<?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: Favorites webscript not working in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/favorites-webscript-not-working/m-p/306539#M259669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure why something working on locally is not working on server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I can see is to get list of favorite documents you are using doclist webscript with parameter. This is the way to get favorite document but not the ideal way. To get list of favorite documents Alfresco providing &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.0/pra/1/concepts/pra-favorites-get-favorites.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/pra/1/concepts/pra-favorites-get-favorites.html&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;REST API &amp;lt;/a&amp;gt;. By using it you can get list of favorite document for particular user.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; &lt;A href="http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/people/gawadesk/favorites" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/people/gawadesk/favorites&lt;/A&gt;&lt;BR /&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will provide list of favorite document for user mentioned in URL in JSON format. You can always parse that JSON and display in your page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if this solve your problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2016 05:34:57 GMT</pubDate>
    <dc:creator>gawadesk</dc:creator>
    <dc:date>2016-08-08T05:34:57Z</dc:date>
    <item>
      <title>Favorites webscript not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/favorites-webscript-not-working/m-p/306538#M259668</link>
      <description>Hey everybody,when programming against Alfresco I encountered a problem with the favorites function.I'm using the following webscript:http://localhost:8080/alfresco/service/slingshot/doclib/doclist/all/node/alfresco/company/home?filter=favouritesLocally, it return all folders and documents that I ma</description>
      <pubDate>Sun, 07 Aug 2016 11:29:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/favorites-webscript-not-working/m-p/306538#M259668</guid>
      <dc:creator>kingkong</dc:creator>
      <dc:date>2016-08-07T11:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Favorites webscript not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/favorites-webscript-not-working/m-p/306539#M259669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure why something working on locally is not working on server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I can see is to get list of favorite documents you are using doclist webscript with parameter. This is the way to get favorite document but not the ideal way. To get list of favorite documents Alfresco providing &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.0/pra/1/concepts/pra-favorites-get-favorites.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/pra/1/concepts/pra-favorites-get-favorites.html&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;REST API &amp;lt;/a&amp;gt;. By using it you can get list of favorite document for particular user.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; &lt;A href="http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/people/gawadesk/favorites" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/people/gawadesk/favorites&lt;/A&gt;&lt;BR /&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will provide list of favorite document for user mentioned in URL in JSON format. You can always parse that JSON and display in your page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if this solve your problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 05:34:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/favorites-webscript-not-working/m-p/306539#M259669</guid>
      <dc:creator>gawadesk</dc:creator>
      <dc:date>2016-08-08T05:34:57Z</dc:date>
    </item>
  </channel>
</rss>

