<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error processing option list , Make sure the final dataset is an array&amp;quot; in HPE Morpheus Enterprise Software</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/error-processing-option-list-make-sure-the-final-dataset-is-an/m-p/7247435#M609</link>
    <description>&lt;P&gt;You have to translate the data to return as name/value pairs. Request and Translation scripts are written in JS. A good starting point is using this as your translation and modifying to return the correct results:&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;for(var x=0;x &amp;lt; data.length; x++) {
  results.push({name: data[x].name,value:data[x].id});
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Check out this site for a bit more details:&lt;BR /&gt;
&lt;A href="https://docs.morpheusdata.com/en/latest/library/options/option_lists.html" class="onebox" target="_blank" rel="noopener"&gt;https://docs.morpheusdata.com/en/latest/library/options/option_lists.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2023 13:31:50 GMT</pubDate>
    <dc:creator>cbunge</dc:creator>
    <dc:date>2023-04-10T13:31:50Z</dc:date>
    <item>
      <title>Error processing option list , Make sure the final dataset is an array"</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/error-processing-option-list-make-sure-the-final-dataset-is-an/m-p/7247434#M608</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Am making an API call to my application , it returned e an error “Error processing option list , Make sure the dinal dataset is an array”&lt;/P&gt;
&lt;P&gt;How to sort out this ?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.hpe.com/t5/image/serverpage/image-id/150333i8E5305A8B3DF0A50/image-size/large?v=v2&amp;amp;px=2000" role="button" title="8524a9e92d59385f6c520293a93f3cbc37fe1272.png" alt="8524a9e92d59385f6c520293a93f3cbc37fe1272.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 06:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/error-processing-option-list-make-sure-the-final-dataset-is-an/m-p/7247434#M608</guid>
      <dc:creator />
      <dc:date>2023-04-10T06:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error processing option list , Make sure the final dataset is an array"</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/error-processing-option-list-make-sure-the-final-dataset-is-an/m-p/7247435#M609</link>
      <description>&lt;P&gt;You have to translate the data to return as name/value pairs. Request and Translation scripts are written in JS. A good starting point is using this as your translation and modifying to return the correct results:&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;for(var x=0;x &amp;lt; data.length; x++) {
  results.push({name: data[x].name,value:data[x].id});
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Check out this site for a bit more details:&lt;BR /&gt;
&lt;A href="https://docs.morpheusdata.com/en/latest/library/options/option_lists.html" class="onebox" target="_blank" rel="noopener"&gt;https://docs.morpheusdata.com/en/latest/library/options/option_lists.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 13:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise-software/error-processing-option-list-make-sure-the-final-dataset-is-an/m-p/7247435#M609</guid>
      <dc:creator>cbunge</dc:creator>
      <dc:date>2023-04-10T13:31:50Z</dc:date>
    </item>
  </channel>
</rss>

