I would like to hide one class of config items on Incident form

billcravey
Kilo Contributor

When our Service Desk members are creating a new Incident and select the Configuration Item field, I would like to hide the "Epic Ini" class from them in order to reduce the number of unnecessary returns that they see. I am trying to make this work with an ACL but can't seem to get it.

Thank you

1 ACCEPTED SOLUTION

Hi Bill,



That makes more sense! A picture is worth a thousand words. It looks like someone tried hard coding in a static reference qualifier at one point (all the other text.) You wanted to do it dynamically with a script. Use either or. The objective is to tell the lookup "Hey, this is additional query information you'll want to know". That script looks a bit of a mess and tricky to maintain. Replace it with just the single line:



javascript:hideMyCiClass();



give it another test. Of course, copy all that text somewhere in case you need to put it back at some point! 🙂


View solution in original post

17 REPLIES 17

Hi Bill,



That makes more sense! A picture is worth a thousand words. It looks like someone tried hard coding in a static reference qualifier at one point (all the other text.) You wanted to do it dynamically with a script. Use either or. The objective is to tell the lookup "Hey, this is additional query information you'll want to know". That script looks a bit of a mess and tricky to maintain. Replace it with just the single line:



javascript:hideMyCiClass();



give it another test. Of course, copy all that text somewhere in case you need to put it back at some point! 🙂


Sorry for the delay. I removed all of that text, saved it of course, and had only javascript:hideMyCiClass(); in the ref. qualifier field. That's when I discovered that not having that text their increased the number of items found when using the "lookup using list" magnifying glass went from 8084 to 590598. So as a solution, I added that long string of text to my script include, hideMyCiClass, instead and made a few other edits to it and it worked! Back to 8084 items when doing a look up and members of the Service Desk cannot see the items I wanted to hide. Thank you!!


You are welcome. I figured you would need a more complex query statement than my simple example. Glad you got it working!