Set the value in Task workspace through Addin
Content
Hi,
I need to set the incident ID in incident field of task workspace which is opened through Addin[Asp.net code]. I have tried below code but it is not working. kindly let us know how to set it from Addin.
objTask.IID = 1133;
Thanks,
Vella
Version
service cloud May 2016Code Snippet
IRecordContext _rc= _globalContext.AutomationContext.CreateWorkspaceRecord(WorkspaceRecordType.Task); ITask objTask = _rc.GetWorkspaceRecord(WorkspaceRecordType.Task) as ITask; objTask.IID = 1133; // It is now working
0