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

Open Custom Workspace using WorkspaceRecordType.Generic?

Accepted answer
12
Views
2
Comments
edited May 23, 2017 1:54PM in UI Extensibility 2 comments

Content

I am looking to build an add-in that opens a custom workspace type called Order. I have successfully opened regular workspaces using the code below, but I am unsure how to go about accessing a custom  workspace type. Imagine it has to do with the Generic member, but lost beyond that. I guess I'm just not sure how I would define the custom workspace type. Surprisingly, I haven't found anyone else talk about using this.

Version

Aug 16

Code Snippet

             _globalContext.AutomationContext.EditWorkspaceRecord(RightNow.AddIns.Common.WorkspaceRecordType.Generic, long.Parse(val)); 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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