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

AutomationContext.EditWorkspaceRecord hangs on most interfaces

Received Response
8
Views
6
Comments
edited May 11, 2016 12:55PM in UI Extensibility 6 comments

Content

I created an IEventConsoleOpen addin that starts a TCP listener when the console is opend.
In the TCP connected-event we read the connecting URL (http://127.0.0.1:12345/TaskID=123), which contains the Task ID we want to popup.
This taskid is used to open the existing task:
var rec = _Globalcontext.AutomationContext.EditWorkspaceRecord(RightNow.AddIns.Common.WorkspaceRecordType.Task, taskid);

This works all fine in 1 interface. (customer.custhelp.com) When I start a different interface (customer_nl.custhelp.com or customer_uk.custhelp.com, etc...) the same code is executed, the task workspace is popping up, but the workspace keeps loading all the time. The code doesn't hang, it simply steps through every line of code, but the console hangs.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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