<?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: Extract and convert string from input in HPE Morpheus Enterprise</title>
    <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/extract-and-convert-string-from-input/m-p/7248520#M1694</link>
    <description>&lt;P&gt;Thanks for your feedback. I used the above syntax with a custom input field name in the instance naming section of the service catalog. However, Morpheus threw a gasket error when we ordered the service catalog.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;
Aung&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 17:54:08 GMT</pubDate>
    <dc:creator>AungKT</dc:creator>
    <dc:date>2023-10-26T17:54:08Z</dc:date>
    <item>
      <title>Extract and convert string from input</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/extract-and-convert-string-from-input/m-p/7248518#M1692</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can we extract and convert the user input string without using the option list?&lt;/P&gt;
&lt;P&gt;For example, the user provides the input “Digital Service”. In the backend, will extract only some characters “DS” and convert to new string and use in service catalogue json.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;
Aung&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 13:19:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/extract-and-convert-string-from-input/m-p/7248518#M1692</guid>
      <dc:creator>AungKT</dc:creator>
      <dc:date>2023-10-26T13:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and convert string from input</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/extract-and-convert-string-from-input/m-p/7248519#M1693</link>
      <description>&lt;P&gt;It’s possible there may need to be alternate  quoting on the objects (or ways of parsing).  I simply grabbed the first example of regex with groovy to highlight a way forward.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 18:19:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/extract-and-convert-string-from-input/m-p/7248519#M1693</guid>
      <dc:creator>cbunge</dc:creator>
      <dc:date>2023-10-26T18:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and convert string from input</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/extract-and-convert-string-from-input/m-p/7248520#M1694</link>
      <description>&lt;P&gt;Thanks for your feedback. I used the above syntax with a custom input field name in the instance naming section of the service catalog. However, Morpheus threw a gasket error when we ordered the service catalog.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;
Aung&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 17:54:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/extract-and-convert-string-from-input/m-p/7248520#M1694</guid>
      <dc:creator>AungKT</dc:creator>
      <dc:date>2023-10-26T17:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Extract and convert string from input</title>
      <link>https://community.hpe.com/t5/hpe-morpheus-enterprise/extract-and-convert-string-from-input/m-p/7248521#M1695</link>
      <description>&lt;P&gt;Anything between &lt;CODE style="background : #f0f1f2;"&gt;&amp;lt;=%&lt;/CODE&gt; and &lt;CODE style="background : #f0f1f2;"&gt;%&amp;gt;&lt;/CODE&gt; is groovy syntax.  So regex could be applied to your customOption.fieldName to select only the first character of each word.&lt;/P&gt;
&lt;P&gt;Might be able to do (with a quick google):&lt;/P&gt;
&lt;P&gt;&lt;CODE style="background : #f0f1f2;"&gt;&amp;lt;%= customOptions.fieldName.replaceAll(/\b\w/g) { it[0] }.toUpperCase() %&amp;gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 13:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-morpheus-enterprise/extract-and-convert-string-from-input/m-p/7248521#M1695</guid>
      <dc:creator>cbunge</dc:creator>
      <dc:date>2023-10-26T13:27:47Z</dc:date>
    </item>
  </channel>
</rss>

