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

Get Custom Incident Attribute from Chat Workspace Add-In

Accepted answer
19
Views
2
Comments
edited May 16, 2017 10:17PM in UI Extensibility 2 comments

Content

I have created a Custom System Attribute for an Incident and placed the field on a Chat Workspace.  The value of this field is being passed in from the Customer Portal.  It will be used when creating an Incident after the Chat ends.

I have created a Workspace Add-In for the Chat Workspace.  When the Workspace loads, I need to grab the value which is stored in that field on the Workspace; however, since it is an Incident Custom Attribute, it is not available when I use _recordContext.GetWorkspaceRecord(), as this returns an IChat object.  Since, when the Workspace loads, the Chat is still either starting or in progress, there is not an associated Incident at that point in time; therefore, I can not just query for the Incident and pull it that way.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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