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

DataLoaded event not firing on new Incident?

Accepted answer
18
Views
7
Comments
edited Jul 9, 2015 9:43PM in UI Extensibility 7 comments

Content

Hi,

I'm trying to create a new Contact and a new Incident and pre-fill in some of the fields.

I understand how to use the DataLoaded event to get the workspace record I just created, and it works just fine for Contacts.

However when I create a new Incident the DataLoaded event isn't firing for me. Am I missing something? Code samples of both attached.

Version

February 2015 SP2

Code Snippet

             // This works just fine for Contacts:
               var rc = _globalContext.AutomationContext.CreateWorkspaceRecord(WorkspaceRecordType.Contact);
                EventHandler dataLoadedEvent = null;
                dataLoadedEvent = (sender, e) =>
                {
       

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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