Macro to list all documents field value only select list
<p>I am trying to list all items in a section of Kentico as a drop-down list but want only one field value to be returned for each document.</p>

<p>What I have tried</p>

<p><strong>Lists Nothing:</strong> </p>

<p><code>Documents.WithAllData["/Foo/Bar/Bar"].AllChildren.WithAllData.All.GetValue("FooBar")</code></p>

<p><strong>Lists all document information:</strong></p>

<pre><code>Documents.WithAllData["/Foo/Bar/Bar"].AllChildren
</code></pre>