- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2017 08:34 AM
Hi all. How do I make Assignment group dependant on Category given there is no relationship between the fields and no 'Dependant' field on the assignment_group table? I need to do this using a Dictionary Override. Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2017 08:32 AM
Hi Wayne,
Indeed, what Valentina wrote above.
It depends on how you manage your categories and ags.
If the assignment group can have only one category assigned to it, then add a reference category field to the assignment groups table (where you have all of your assignment groups).
If an assignment group can appear in more than one category, then you will need a new table where you can specify what's connected where.
Re the reference qualifier, you will probably need to add it to the assignment group dictionary override ref qualifiers and not directly to the field itself, as it is a global field. You will then be able to add a reference qualifier that looks a lot like a simple query or use something like:
javascript:'assignment_group='+current.category
So I think the first question would be - is it a one ag-many categories or one category-many ags relationship ?
harel
Edit:
Added a category field called u_inc_category on the group [sys_user_group] table and configured a category for several groups.
Configured the following Dictionary Override ref qual (table incident): javascript:'u_inc_category='+current.category
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2017 06:04 AM
Hi,
If I got well, your request is about dynamically populate the assignment group 'list' based on the category field.
1. First you need a mapping category-assignment group (if it is a 1-1 relationship, just add a custom field in the sys_user_group table, otherwise a new table must be created)
2. Second you have to create an override of the reference qual field >> Reference qualifiers
Regards,
Valentina
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2017 08:32 AM
Hi Wayne,
Indeed, what Valentina wrote above.
It depends on how you manage your categories and ags.
If the assignment group can have only one category assigned to it, then add a reference category field to the assignment groups table (where you have all of your assignment groups).
If an assignment group can appear in more than one category, then you will need a new table where you can specify what's connected where.
Re the reference qualifier, you will probably need to add it to the assignment group dictionary override ref qualifiers and not directly to the field itself, as it is a global field. You will then be able to add a reference qualifier that looks a lot like a simple query or use something like:
javascript:'assignment_group='+current.category
So I think the first question would be - is it a one ag-many categories or one category-many ags relationship ?
harel
Edit:
Added a category field called u_inc_category on the group [sys_user_group] table and configured a category for several groups.
Configured the following Dictionary Override ref qual (table incident): javascript:'u_inc_category='+current.category
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2017 12:54 AM
I've just got around to implementing your proposed solution and it works perfectly! Thank you to valentinaardò who put us in the right direction.