title: Get all managed properties SharePoint Online SPFx Search Result Webpart
body: <p>I have a SPFx seacrh result webpart in which the 'SelectProperties'(the managed properties returned in the search result) for the search query is currently hard coded. I need to fetch all the managed properties and replace the hard coding.</p>
  <pre><code>let selectProperties = [&quot;SSWDDocumentType&quot;, &quot;SSWDValidTo&quot;, &quot;SSWDProcess&quot;];//need to replace this hard coded value.
  this.query = {
        Querytext: `(Path:&quot;${this.props.absoluteURL}&quot;) 
          AND SSWDProcessID:&quot;GP0|#${term.queryData}&quot; AND IsDocument:1 ListID:${this.props.DocumentLibraryId}  `,
        TrimDuplicates: true,
        RowLimit: 1000,
        SelectProperties: selectProperties
      };
  </code></pre>
  <p>Is there any possible way to fetch all managed properties in SPFx webpart using pnp or any other option.</p>
  <p>Any help would be really appreciable.</p>
  <p>Thanks!</p>