Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Pre populate values on new incident workspace — Cloud Customer Connect
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

Pre populate values on new incident workspace

Received Response
edited Jun 8, 2022 12:00PM in General Technical Discussions 7 comments


Hi all,

I have a button on Custom object work space, if i click on button it will open a new Incident work space.i am able to open and assign contact to new incident work space.

below is the code i am using on workspace button click 

context = _glbcontext.AutomationContext.CreateWorkspaceRecord(RightNow.AddIns.Common.WorkspaceRecordType.Incident);

void context _dataloaded(object sender, EventArgs e)

IIncident incident = IRecordContext.GetWorkspaceRecord(RightNow.AddIns.Common.WorkspaceRecordType.Incident);

IList<IInc2Contact> contactList = new List<IInc2Contact>();

            IInc2Contact inc2Contact = AddInViewsDataFactory.Create<IInc2Contact>();

            inc2Contact.Cid = 123; //Convert.ToInt32(123);
            inc2Contact.Prmry = true;


Howdy, Stranger!

Log In

To view full details, sign in.


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