How to set the presence status for external contacts

Hi,

I’m trying to customize the contactsearch in the Purecloud Embeddable Framework. Our customer has a requirement that an agent may only search for Genesys Cloud users in the same division as the division of the agent. So, users outside the division of the agent shouldn't be showed in the search result.

What I've done so far:

  1. I removed “people” from the setting of the framework “searchTargets” because the default search function returns all users from the Genesys Cloud organization:
    searchTargets: [ 'queues', 'frameworkcontacts'],

  2. I created a custom search function in my CRM that searches for contacts in Genesys Cloud organization and filter the results by division. This function works fine and I’m able to only show contacts from the division of the agent. These contacts are returned as external contact to PEF.

My questions are:

  1. Is there a way to show the status of the people when they are returned as External contacts?
  2. The parameters of the external contacts are type, name, phone and attributes. Can I use the parameter "attributes" to set the status of an external user? And how?

Thank you.
Hafid

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.