AutomationContext - UniqueId for CloseEditor
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");
Tagged:
0