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

AutomationContext - UniqueId for CloseEditor

Received Response
11
Views
1
Comments
edited Jun 13, 2022 4:09AM in General Technical Discussions 1 comment

Content

Hello!  We're creating a workspace add-in that we're hoping can detect if a particular record is open, then close the record if so.  I'm using the following code to close the record, but I'm stuck on what the UniqueId parameter is looking for.  Obviously it can't just be the ID since each type of record could potentially have duplicate ID's.  What is the correct parameter to pass in here?  Thank you!

 _globalContext.AutomationContext.CloseEditor("143618630");

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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