- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise Software
- >
- Multi select list
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2023 06:35 PM
04-13-2023 06:35 PM
Multi select list
To build AWS Load Balancer via Catalog item, I need to select at least two subnets. how can I make it multi select list?
- Tags:
- catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 08:41 PM
04-25-2023 08:41 PM
Re: Multi select list
Thanks, I could resolve it that way as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2023 06:58 AM
04-25-2023 06:58 AM
Re: Multi select list
Hi @Ripon_Banik,
If you are using the Morpheus variables in your CloudFormation Catalog Item, then I would expect the following example to work, or at least lead you to your resolution. Be sure to use your input name, instead of mine:
"<%= customOptions.testmultiitems.join(',') %>"
Inside of the variable tags, you can perform Groovy actions, such as join(). In this case, I have a multi-select that provides an array:
[ub1, ub2, ub3]
When I use the join() function, I get the following:
ub1,ub2,ub3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2023 07:48 PM
04-16-2023 07:48 PM
Re: Multi select list
Thanks @kgawronski I tried but does not provide it as comma separated e.g. Ubuntu1, Ubutu2. How to make it comma separated as it is needed as input to cloudformation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2023 06:59 PM
04-13-2023 06:59 PM
Re: Multi select list
Hello @Ripon_Banik!
I’d recommend using the typeahead input and enable the Allow Multiple Selections setting.
For example:
More info:
https://docs.morpheusdata.com/en/latest/library/options/option_types.html#create-input
Hope that helps!