HPE Morpheus Enterprise
1851092 Members
2120 Online
104056 Solutions
New Discussion

Custom Input FieldName with Separators

 
SOLVED
Go to solution
RJ12
Frequent Advisor

Custom Input FieldName with Separators

Hi ,

I am create a custom input where the fieldname is like “uni-app-app1” , “uni-app-app2” but service catalog is not accepting the inputs.
<%=customOptions.uni-app-app1%>

Is there any other way or syntax to use the input fieldname with separators ?

As per Morpheus Documentation, we can use “_” , “-” , “.” for separators.

5 REPLIES 5
cdtaylor
Trusted Contributor

Re: Custom Input FieldName with Separators

Please can you try <%=customOptions.“uni-app-app1”%>

RJ12
Frequent Advisor

Re: Custom Input FieldName with Separators

Service Catalog does not accept like “<%=customOptions.“uni-app-app1”%>”

cdtaylor
Trusted Contributor

Re: Custom Input FieldName with Separators

yep that’s fine “” would work if you were not using double quotes around the whole variable. Cheers

RJ12
Frequent Advisor
Solution

Re: Custom Input FieldName with Separators

It works with <%=customOptions.‘uni-app-app1’%>

RJ12
Frequent Advisor

Re: Custom Input FieldName with Separators

@ctaylor : Can we use separators with custom inputs ? As per doc, we can but it is not working.