Hello,
thank you very much for advice, I will try it right now. We are comfortable with both options, and very thanks for info about Access Type of assignee, It is very useful to keep it mind in this case. I tried modify agt factory couple of times in the start of this week but with no success to set all types except group (2308) in RESTRICT "type = 2308" { type!= 2308} ; It just give me always error in std.logs that is not possible to make this way becasue "=" is expected. Do you have any solution for this definition? can this be multiplied for every wanted contact_type? even if I make it for Technicians only (2301) like "RESTRICT "type = 2301" { type = 2301} ;" in base.maj file situated in site\mods folder, it wasnt ensure that Technicians were visible from detail forms. I was digging where else could be defined agt factory to type 2307 and found in cmpcd.spl but it is partialy encrypted file so it is dead end for me. But Thank you very much, I will keep trying :)
So If I want to create new factory I will use definition from base.maj file with my new name of factory lets sasy z_agt and put it in some file in site\mods .maj file? Do I I understand you well ? So far we have no customization on factory level.
FACTORY z_agt {
RESTRICT "type = 2307" { type = 2307} ;
DOMSET agt_list "combo_name,phone_number,contact_num,organization,location" "" DYNAMIC;
STANDARD_LISTS {
SORT_BY "combo_name,phone_number,contact_num,organization=organization.name,location=location.name";
WHERE "delete_flag = 0" ;
MLIST OFF ;
RLIST OFF ;
};
REL_ATTR id ;
COMMON_NAME combo_name ;
FUNCTION_GROUP "contact" ;
} ;
Thank you once again for your help and effort :)
Best regards,
Petr P.
Original Message:
Sent: 07-26-2019 01:35 AM
From: James Campbell
Subject: How to ADD contact_type into agt (agent) factory
Hi Petr,
I would be inclined to create a new factory and add 'factory=<mynewfactory>' in the PDM_MACRO line defining the Assignee field in detail_in / detail_cr / detail_pr. Alternatively you could modify the 'agt' factory, but that will also affect what appears in detail_chg and you may not want that. See bopcfg\majic\base.maj for the out-of-box 'agt' factory definition, put your version in a maj file in site\mods\majic.
Bear in mind that if your assignee contacts are not 'licensed' (set in their Access Type) then even if assigned they will not be able to access a ticket.
Hope that helps,
Regards,
James
------------------------------
Senior Consultant
HCL
Original Message:
Sent: 07-25-2019 07:56 AM
From: Petr Procházka
Subject: How to ADD contact_type into agt (agent) factory
Hello, we are getting trouble with Any_contact options... if its installed, it is possible to add group contacts into assignee field while creating call_req from detail form. The problem is that we wanted to filter out theese group type contacts from popup hints while creating tickets. I tried to customize Any_contact.maj file, customize detail.htmpl form with extraurl="ADDITIONAL_WHERE=(type=2307 OR type!=2308)" clause to lookup element, or modify sitemods.js but with no results...
If Any_contact option is not installed, only Analyst contact_types (contact_type = 2307) are shown in whisperer popup window while filling Assignee attribute, but we must be able to fill in Supervisors, Technicians, Managers contact types which are members of groups.
Is there any solution for this or do anyone some hints what to try next ?
Thank you very much,
Best regards,
Petr P.