You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Stop the Close Event of Workspace

Accepted answer
17
Views
4
Comments
edited Sep 11, 2015 3:56AM in Integrations and APIs 4 comments

Content

After the chat , the incident opens in the saved form. So even if some fields are compulsory, the agent is able to close the workspace.

Using an addin, I am able to capture the Close event of the workspace by the following event handler

    _recordContext.Closing += new System.ComponentModel.CancelEventHandler(record_Closed);

But how to stop the close event.

My requirement is that agent should not be able to close the incident without filling the compulsory fileds.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!