We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

create record in associated object from workspace addin

Received Response
14
Views
3
Comments
edited Oct 11, 2016 10:59AM in UI Extensibility 3 comments

Content

Hi

 

I have an incident that has an associated object table called AHT

I want to create a new record in the AHT object and cannot see how i do this

globals.incidentRecord = this.RecordContext.GetWorkspaceRecord(RightNow.AddIns.Common.WorkspaceRecordType.Incident) as IIncident;

gives me a handle on the incident but how do i then create a record entry in the associated object ?

if i were to use the create function such as 
globals.globalContext.AutomationContext.CreateWorkspaceRecord("ATM$ATM");

how do i then get a handle on that to enter details to it ?

any help is appreciated

Mark

Code Snippet

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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