Contributor.. KNiles Contributor..
Contributor..
56 views

Not copy/display 'unselected' SRC User Options to SM IM or RF ticket.

Jump to solution

We only want the User Selections that have a value copied from SRC to SM when an IM or RF is created.

Now all possible options are showing in the Service Catalog Options tab in the ticket, and we only want the ones that have a value associated with them.

Is there a way to parse out the NULL value options in the svc.options 'before' the ticket is created OR to not display them on the Service Catalog Options tab?

 

0 Likes
1 Solution

Accepted Solutions
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Not copy/display 'unselected' SRC User Options to SM IM or RF ticket.

Jump to solution

Yes it's possible. It might depends on the version you are using but it will require a bit of coding. The dynamic form used by svc.options is rendered at run time and it's input is an XML. You might have an variable as the input or the JS code responsible for it.

Either way, what you need to do is: based on the already existing function create your own function that hides the empty values (or any other rule you want to apply) and use it instead on the places you want this behavior.

I know that this is very high level but I hope it gives you the way, if not let us know!

Regards,
Breno Abreu

If you feel this was helpful please click the KUDOS! thumb below!
1 Reply
Knowledge Partner Knowledge Partner
Knowledge Partner

Re: Not copy/display 'unselected' SRC User Options to SM IM or RF ticket.

Jump to solution

Yes it's possible. It might depends on the version you are using but it will require a bit of coding. The dynamic form used by svc.options is rendered at run time and it's input is an XML. You might have an variable as the input or the JS code responsible for it.

Either way, what you need to do is: based on the already existing function create your own function that hides the empty values (or any other rule you want to apply) and use it instead on the places you want this behavior.

I know that this is very high level but I hope it gives you the way, if not let us know!

Regards,
Breno Abreu

If you feel this was helpful please click the KUDOS! thumb below!
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.