Idea ID: 1654525

filter service recipient and contact

Status : Declined
over 2 years ago

Hi,

I got request example: there are users from the different company, when user log the case via ess and when user search for service recipient or contact, they are not allowed to see others company's contacts name. They only see the list of contacts based on operator login company. Any script can share in link file?

Tags:

  • Please update your script with $query="true"  and try. It will filter contacts in all companies

    Or you can set  $query="company isin {\"companyA\", \"companyB\"}" .It will filter the contacts in companyA and companyB

  •  

    below are my link file script for ess.sd.open but I m not sure why the last syntax in bold color it's not working. When I not null, it dosen't filtered

    Appreciate that if you can guide me

    $fill.search.format="contacts.search"
    $query="company= $lo.company"
    if null(callback.contact in $File) then ($query=$query)
    if (not (null(callback.contact in $File))) then ($query=$query+" and contact.name#callback.contact in $File") else ($query=$query)

    Thanks

  •  thanks fro your reply,

    yes, i am talking about the ESS in Service Manager. When the ESS user from company ABC, he/she only allow to search all the contacts belongs to ABC company

  •  are you talking about ESS in Service Manager or anything else? And we are not very clear about your request, could you please provide more in detail? thank you