Configuration Items based on Category&Sub-Category
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2015 12:41 PM
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.
- Labels:
-
Scripting and Coding
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2015 01:14 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2015 09:36 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2015 01:16 PM
Figured it out. I need to use Assignment Lookup Rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2015 01:31 PM
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.