Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Configuration Items based on Category&Sub-Category

samwallace881
Giga Expert

I am trying to limit the Configuration Item list to a specific few that depend on Category and Sub-Category.

When I choose a Category and corresponding Sub-category, In the CI field, I want only certain CIs to be in the drop down.

How can I do this?

I notice that some of my CIs don't even have a Category section when I go to create a new one.

13 REPLIES 13

HV1
Mega Guru

Open the CI field dictionary and add an advance reference qualifier:


javascript:"category="+current.<your category field name>+"^subcategory="+current.<your subcategory field name>



Regards,


Hardik Vora


Hardik-


I am now getting to work on this and I don't know if this will work. I have multiple Categories and Subcategories...my plan is to limit the number of CI's available based on the cat/sub-cat choices. I only want a certain number of CI's to show up when I have cat/sub cat selected. If cat/sub-cat are empty, I can see all of the CI's. If I do what you said, I am limited to only one set of category and subcategory...How would I be able to add more options? Script include?


Figured it out. I need to use Assignment Lookup Rules


Hi Sam,



But using this you can provide only one CI . this will   not be good if you are required to show 10 or 20 CI for Cat/Subcat.



Thanks & Regards


Govind Kumar Sharma



PS: Hit like, Helpful or Correct depending on the impact of the response.