<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Folder extraction from inside the document folder</title><link>https://community.appian.com/discussions/f/general/26329/folder-extraction-from-inside-the-document-folder</link><description>Hi All, 
 In our application folder more than 4000 child folder reside inside the folder. First of all, I want to extract all the folder and show in the grid and then I want to seach them by folder creation Date. 
 Kindly guide me on how to do this. </description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Folder extraction from inside the document folder</title><link>https://community.appian.com/thread/103481?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 12:01:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:82f513fd-6950-4f4c-95dc-2f11bc49bfd1</guid><dc:creator>vikrams247</dc:creator><description>&lt;p&gt;Thank you Chris. Its really helpful. I will use DB approach to get the folder creation date.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Folder extraction from inside the document folder</title><link>https://community.appian.com/thread/103337?ContentTypeID=1</link><pubDate>Fri, 21 Oct 2022 18:52:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:885e2e09-69f7-4639-81fd-32b571f0c253</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Is this a one-time initiative such as cleanup or something you need to build dynamically to utilize regularly?&lt;/p&gt;
&lt;p&gt;Is the folder structure changing often or can we do something such as, have a separate process which loops all folders and records their metadata to the DB, where we can then display and search them from more easily?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure of any mechanism that will allow you to search folder objects in memory real-time by created date &lt;em&gt;&lt;strong&gt;directly&lt;/strong&gt; &lt;/em&gt;(hence the DB suggestion above) unfortunately.&amp;nbsp; There are some non-scalable solutions we could implement such as looping the folders metadata into a local variable on form load with &lt;em&gt;&lt;strong&gt;fn!folder(cons!ROOT_FOLDER,&amp;quot;dateCreated&amp;quot;)&lt;/strong&gt;&lt;/em&gt;, but again completely not scalable and certainly not recommended for 4000 folders.&lt;/p&gt;
&lt;p&gt;Just to note, if you have the &lt;a href="/b/appmarket/posts/content-tools"&gt;Content Tools plugin&lt;/a&gt; installed there is a function &lt;em&gt;&lt;strong&gt;fn!getsubfoldersfromfolder()&lt;/strong&gt;&lt;/em&gt; to easily pull sub folders from a parent folder without having to pull a folder&amp;#39;s entire contents and filter out non-folder objects, but this nor the other functions that I am aware of have filtering capability on created date.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>