<?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 Get list of files in a repository for a constraint in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256845#M209975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to create a constraint class to show a drop-down box to the user of all files within the current folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is - how, within my Java constraint class can I get the list of files? How do I get a handle on the current nodeRef to then use the FileFolderService? Do I need to get the nodeRef from the url and if so, how do I do that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for your time&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2012 06:59:57 GMT</pubDate>
    <dc:creator>mikepoole</dc:creator>
    <dc:date>2012-09-05T06:59:57Z</dc:date>
    <item>
      <title>Get list of files in a repository for a constraint</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256845#M209975</link>
      <description>I am trying to create a constraint class to show a drop-down box to the user of all files within the current folderMy question is - how, within my Java constraint class can I get the list of files? How do I get a handle on the current nodeRef to then use the FileFolderService? Do I need to get the n</description>
      <pubDate>Wed, 05 Sep 2012 06:59:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256845#M209975</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-09-05T06:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of files in a repository for a constraint</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256846#M209976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes of course you can do that&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out this post&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=4&amp;amp;t=11687" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=4&amp;amp;t=11687&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 07:21:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256846#M209976</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-09-05T07:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of files in a repository for a constraint</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256847#M209977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks so much for the link&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Excuse my ignorance, but I cannot see in that post where it refers to getting the current node/noderef to then be able to access the list of files within the folder/repository. Am I missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 09:14:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256847#M209977</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-09-05T09:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of files in a repository for a constraint</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256848#M209978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi this is one more link&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=19&amp;amp;t=43663" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=19&amp;amp;t=43663&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There he is getting current node from the propertysheet as follow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Node currentNode = (Node)propertySheet.getNode();&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2012 13:14:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256848#M209978</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-09-05T13:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of files in a repository for a constraint</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256849#M209979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I get the nodeRef from the URL from my constraint code? I don't yet understand how to use the UIPropertySheet class so I keep getting a NullPointerException&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 09:34:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256849#M209979</guid>
      <dc:creator>mikepoole</dc:creator>
      <dc:date>2012-09-06T09:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of files in a repository for a constraint</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256850#M209980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Then I guess you can get the current node from either FacesContext or from the NavigationBean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As navigation bean keeps the track of currentnode.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2012 11:55:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-list-of-files-in-a-repository-for-a-constraint/m-p/256850#M209980</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-09-06T11:55:38Z</dc:date>
    </item>
  </channel>
</rss>

