 Group&quot; });

// we can use this 'field' variable to run more queries on the field:
const r = await field.field.select(&quot;Id&quot;)();

// log the field Id to console
console.log(r.Id);
</code></pre>
<h3 id="add-an-image-field">Add an Image Field<a class="headerlink" href="#add-an-image-field" title="Permanent link">&para;</a></h3>
<p>Use the addImageField method to create a new image field.</p>
<pre><code class="language-TypeScript">import { spfi } from &quot;@pnp/sp&quot;;
import { IFieldAddResult,