When I select a category in the incident form than an associated subcategory, both fields revert back to -- None --

dalemiller
Mega Contributor

Need help with Incident Category/Subcategory association:

I set up 15 categories and 100 sub categories.   Each subcategory has the category in the Dependent Value field to associate them with the appropriate category.   However, when I select a category in the incident form than an associated subcategory, both fields revert back to -- None --.   The associations are working (selecting a category has the right subcategories).   Its just when I select category/subcategory they both revert back to None..

Here is a screen shot of the categories

find_real_file.png

Here is a screen shot of subcategories

find_real_file.png

1 ACCEPTED SOLUTION

Uncheck the "Use dependent field" checkbox on the Category Dictionary Entry form:



find_real_file.png


View solution in original post

7 REPLIES 7

harishdasari
Tera Guru

Hi Dale,



check the client scripts and also UI policies on that table. Which might be setting the value as none.



Thanks.


dalemiller
Mega Contributor

Hello Harish, thanks for the suggestion...



Specific behavior is when I select the category, the category holds.   When I select the subcategory, both category and subcategory revert back to none. Leads me to believe the problem lies with subcategory.. just my own hunch.  



I admit, I'm a bit of a neophyte here at this level.   I apologize for all the screen snap shots but I wanted to present as much evidence as possible.   Below are client script screens...    



I right click on the category (or subcategory) off the incident form and then select configure dictionary. First I see the Dictionary Entry - Category (advanced view) screen and see I'm dealing with the incident table. Nothing on the advanced view give me any clues. Is there anything here to examine (see screens below)?



Category Screens:


find_real_file.png




find_real_file.png



find_real_file.png


I then right click on the top line and click configure client scripts and here are the client scripts I. But none of them look like the problem because I don't know JS well at all...  



find_real_file.png



Subcategory Screens:   Is there anything here that are clues?


find_real_file.png



find_real_file.png


find_real_file.png



Subcategory Client Scripts List...



find_real_file.png


The problem is the Category field is set to be dependent on the Subcategory field, which is not correct.   Subcategory depends on the Category field, but not the other way around.   You are setting up an endless loop there.  


dalemiller
Mega Contributor

Hi Jim,



I don't see the Category field set to be dependent on Subcategory.   Here is a list of categories but the dependent field is empty.



find_real_file.png



Here is a list of Subcategories with Dependent Field set to the Category Field



find_real_file.png