<?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 Plans disappear when changing customoptions.selectedcloud value in catalog config in HPE Morpheus Enterprise</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251479#M4653</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have been working on a catalog with optionlists and inputs.&lt;/P&gt;
&lt;P&gt;Currently in the morpheus environment we have one VMware cloud, however we will be deploying to a morpheus environment with mulitple clouds, so I want to verify that all the custom options in the catalog are working.&lt;/P&gt;
&lt;P&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/150084iB91BCAF877AB3C20/image-size/large?v=v2&amp;amp;px=2000" role="button" title="c275396dff29298be53b74a6099cdae013527832.png" alt="c275396dff29298be53b74a6099cdae013527832.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The only issue I’m having is if I change the cloud id to the customoptions.selectcloud, my plans list disappear on the catalog form so it’s empty.&lt;/P&gt;
&lt;P&gt;If I leave it hardcoded to 1 everything works.&lt;/P&gt;
&lt;P&gt;Just to check the outputs, I have added the customoptions.selectedcloud under customoptions and ran a ansible workflow and can see it being listed as ‘1’&lt;/P&gt;
&lt;P&gt;I wondering whether it’s being pedantic and not liking ‘1’ and only accepting “1”&lt;/P&gt;
&lt;P&gt;Any ideas why the plans entry would go blank when changing the id to customoptions input?&lt;/P&gt;
&lt;P&gt;Cheers&lt;BR /&gt;
Jon&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2023 19:58:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2023-08-10T19:58:51Z</dc:date>
    <item>
      <title>Plans disappear when changing customoptions.selectedcloud value in catalog config</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251479#M4653</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have been working on a catalog with optionlists and inputs.&lt;/P&gt;
&lt;P&gt;Currently in the morpheus environment we have one VMware cloud, however we will be deploying to a morpheus environment with mulitple clouds, so I want to verify that all the custom options in the catalog are working.&lt;/P&gt;
&lt;P&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/150084iB91BCAF877AB3C20/image-size/large?v=v2&amp;amp;px=2000" role="button" title="c275396dff29298be53b74a6099cdae013527832.png" alt="c275396dff29298be53b74a6099cdae013527832.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The only issue I’m having is if I change the cloud id to the customoptions.selectcloud, my plans list disappear on the catalog form so it’s empty.&lt;/P&gt;
&lt;P&gt;If I leave it hardcoded to 1 everything works.&lt;/P&gt;
&lt;P&gt;Just to check the outputs, I have added the customoptions.selectedcloud under customoptions and ran a ansible workflow and can see it being listed as ‘1’&lt;/P&gt;
&lt;P&gt;I wondering whether it’s being pedantic and not liking ‘1’ and only accepting “1”&lt;/P&gt;
&lt;P&gt;Any ideas why the plans entry would go blank when changing the id to customoptions input?&lt;/P&gt;
&lt;P&gt;Cheers&lt;BR /&gt;
Jon&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 19:58:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251479#M4653</guid>
      <dc:creator />
      <dc:date>2023-08-10T19:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Plans disappear when changing customoptions.selectedcloud value in catalog config</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251480#M4654</link>
      <description>&lt;P&gt;Make sure your Option Lists are all set to ‘Public’ so they are viewable/consumable in Subtenants&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 13:56:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251480#M4654</guid>
      <dc:creator>cbunge</dc:creator>
      <dc:date>2023-08-11T13:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Plans disappear when changing customoptions.selectedcloud value in catalog config</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251481#M4655</link>
      <description>&lt;P&gt;This is resolved, seperate issue where permissions to the subtenant were not set correctly.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 08:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251481#M4655</guid>
      <dc:creator />
      <dc:date>2023-08-21T08:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Plans disappear when changing customoptions.selectedcloud value in catalog config</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251482#M4656</link>
      <description>&lt;P&gt;Yep a catalog in the master set to visible works fine.&lt;/P&gt;
&lt;P&gt;It’s more if I deploy a catalog directly into a subtenant, so that subtenant has all the optionlists/inputs etc.&lt;BR /&gt;
I don’t see plans etc when changing the catalog config for cloud id to the custom options.&lt;/P&gt;
&lt;P&gt;Cheers&lt;BR /&gt;
Jon&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 14:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251482#M4656</guid>
      <dc:creator />
      <dc:date>2023-08-11T14:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Plans disappear when changing customoptions.selectedcloud value in catalog config</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251483#M4657</link>
      <description>&lt;P&gt;What release are you on?  Pre-Catalog Forms (6.1.0+)?&lt;/P&gt;
&lt;P&gt;If pre-forms, what do your translation and request scripts look like for plan?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 23:37:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251483#M4657</guid>
      <dc:creator>cbunge</dc:creator>
      <dc:date>2023-08-10T23:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Plans disappear when changing customoptions.selectedcloud value in catalog config</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251484#M4658</link>
      <description>&lt;ASIDE class="quote group-Certified-Engineer" data-username="cbunge" data-post="4" data-topic="1380"&gt;
cbunge:
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;CODE style="background : #f0f1f2;"&gt;results.provisionTypeCode == 'vmware'&lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/ASIDE&gt;
&lt;P&gt;Brill that works.&lt;/P&gt;
&lt;P&gt;So if I create a catalog in master tenant and make it visible to all other tenants, then they also see the changes and it works.&lt;/P&gt;
&lt;P&gt;If I have deploy the same catalog directly to a subtenant the plans are still blank.&lt;/P&gt;
&lt;P&gt;Any ideas why that is the case?&lt;/P&gt;
&lt;P&gt;Cheers&lt;BR /&gt;
Jon&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 13:36:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251484#M4658</guid>
      <dc:creator />
      <dc:date>2023-08-11T13:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Plans disappear when changing customoptions.selectedcloud value in catalog config</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251485#M4659</link>
      <description>&lt;P&gt;This works for me:&lt;/P&gt;
&lt;P&gt;Description (A note to myself on this object):&lt;BR /&gt;
needs to have siteId + zoneId (layoutId OR provisionTypeCode can be used for futher filtering and they will be pulled from catalog item config if hardcoded)&lt;/P&gt;
&lt;P&gt;Translation:&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;Request:&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;if (input.targetCloud &amp;amp;&amp;amp; input.targetGroup) {
  results.siteId = input.targetGroup
  results.zoneId = input.targetCloud
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;though I usually just hardcode the provisionTypeCode in the Option LIst to be cloud specific.  I.E -&lt;/P&gt;
&lt;P&gt;Request:&lt;/P&gt;
&lt;PRE style="background : #f0f1f2;"&gt;&lt;CODE class="lang-auto"&gt;if (input.targetCloud &amp;amp;&amp;amp; input.targetGroup) {
  results.siteId = input.targetGroup
  results.zoneId = input.targetCloud
  results.provisionTypeCode == 'vmware'
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Aug 2023 11:13:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251485#M4659</guid>
      <dc:creator>cbunge</dc:creator>
      <dc:date>2023-08-11T11:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Plans disappear when changing customoptions.selectedcloud value in catalog config</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251486#M4660</link>
      <description>&lt;P&gt;6.0.2&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/150290i962AF7E47CC11451/image-size/large?v=v2&amp;amp;px=2000" role="button" title="a1fd546a6c7a6f6365ed77bc8c7774f2557501a9.png" alt="a1fd546a6c7a6f6365ed77bc8c7774f2557501a9.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;var i=0;&lt;BR /&gt;
results = &lt;SPAN class="chcklst-box fa fa-square-o fa-fw"&gt;&lt;/SPAN&gt;;&lt;BR /&gt;
for(i; i&amp;lt;data.length; i++) {&lt;BR /&gt;
if (data[i].name.includes (‘Plan’))&lt;BR /&gt;
{&lt;BR /&gt;
results.push({name: data[i].name, value: data[i].value});&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;/P&gt;
&lt;P&gt;This filters out everything and only displays plans beginning with Plan.&lt;BR /&gt;
I have removed the includes part out but that does not make a difference.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 07:33:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/plans-disappear-when-changing-customoptions-selectedcloud-value/m-p/7251486#M4660</guid>
      <dc:creator />
      <dc:date>2023-08-11T07:33:46Z</dc:date>
    </item>
  </channel>
</rss>

