Make template available for multiple groups

wiltonr
Giga Contributor

How can I share a template (for incident) with more than one group and not global? the current "group" field only lets us select one group. Anyone know an alternative? Or possibly a way to make the "group" field able to select multiple groups (like a Watch List looking field)?

I changed the group field type in our Dev instance from Reference to List and changed the size of the field and broke our template form.   Now I have to wait for support to fix our field type/length.   Once they fix it though, I still have the request to find a way to allow more than one group to apply a template.   In Demo, I created a List field on the sys_template table called u_groups and can add multiple groups to the field but I can't figure out how to allow the groups in that field to Apply Template - the option does not appear in the Context Menu.   How can I do this?

21 REPLIES 21

Hi,



Thanks for bringing this to my attention. We have been using a UI Action Form Button to bring up the list of templates as long as I can remember as some users asked for quicer access. But I found out what you need to change in order to make the templates to show up in the Context Menu as well.



Go to the UI Macro "template_context" look for "var mine = 'user=javascript:gs.getUserID()^ORgroup=javascript:getMyGroups()';"


Replace it with "var mine = 'user=javascript:gs.getUserID()^ORgroup=javascript:getMyGroups()^ORu_groupsLIKEjavascript:getMyGroups()';"



This should help.



I'll update my post above as well.


Thanks!



Regards,


Johan


I have already done that earlier, but it is not showing.


Bhavesh Jain1
Giga Guru

Isn't it better to create multiple templates;one for each group by doing Insert and Stay rather than going into complications of changing OOB functionality ?



I understand that in future if one template needs change, all other templates needs to be updated. I think templates do not change very often. Also I assume that you do not want to make this template visible for 50 groups. It would be max 10 groups Correct?


Hi,



I tried this too and it doesn't work either for me. I would also be interested in a solution to allow templates to be available for multiple groups and/or users (like provided in reports).




Francis


Marc A Love
Giga Expert

We had a similar requirement.... what I did was create a "hidden" group for this template and added users from multiple groups to it for template use only....since it is a "hidden" group it is not seen for assignments etc....



Just my work-a-round.



ML