title: AEM list children from path
body: <p>I am relatively new to AEM and on version 6.1. I am trying to list out children based on an authorable filepath, but can't seem to figure it out. Previously, I had something like</p>
  
  <pre><code>&lt;sly data-sly-list.child="${currentPage.getParent.listChildren}" data-sly-unwrap&gt;...&lt;/sly&gt;
  </code></pre>
  
  <p>and it worked as intended. Now, I need to make it more generic, but </p>
  
  <pre><code>&lt;sly data-sly-list.child="${properties.filePath.listChildren}" data-sly-unwrap&gt;...&lt;/sly&gt;
  </code></pre>
  
  <p>doesn't iterate through. I think I need to use the "resource" object, but not sure how. Can I use it directly in my Sightly call? Or do I have to create/edit current java files? Thanks in advance!</p>