<?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>getdocumentfromfolder() plugin</title><link>https://community.appian.com/discussions/f/plug-ins/22373/getdocumentfromfolder-plugin</link><description>Hi i am using the getDocumentFromFolder() function from a plugin. The sortBy paramater was not accepting the value &amp;quot;created&amp;quot;. Please advise on what to do. Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: getdocumentfromfolder() plugin</title><link>https://community.appian.com/thread/87586?ContentTypeID=1</link><pubDate>Wed, 03 Nov 2021 14:47:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2775bc26-de2e-4c4d-8913-e44c38e8d82b</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Typically functions do not support keyword arguments, you will also want to pass a value for the recursiveSearch parameter such as:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="csharp"&gt;a!localVariables(
  local!document: getdocumentsfromfolder(
    cons!LCP_QCK_FINALREPORTS_FOLDER,
    false,
    &amp;quot;created&amp;quot;,
    false
  ),
  local!document
)
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>