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

GlobalContext in WorspaceRibbonAddin

Accepted answer
edited May 7, 2015 10:55AM in UI Extensibility 7 comments


Hi all,

I am looking for the way to develop an AddIn, that will make changes on record and after that create a new record and switch RecordContext to a new one.

For this I developed WorkspaceRibbonAddin and tried to make a new record:
IRecordContext RecordContextanswer2 = (IRecordContext)GlobalContext.AutomationContext.CreateWorkspaceRecord(RightNow.AddIns.Common.WorkspaceRecordType.Answer);

but this failed. Error is

Object reference not set to an instance of an object.

Can you please help me with this?




Howdy, Stranger!

Log In

To view full details, sign in.


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