Whenever you approve a revision, you get a popup form called RevisionCheckInForm. We don’t ever use this field. Has anyone been able to disable it or automate it so it just closes itself? I tried to create a fake button click on the OK button when the form_shown event happens. It doesn’t work, though.
Turns out the Form Shown event wasn’t working… but Form Load did. For curious minds, I ended up creating a form load event, and I put these two lines in it and the box immediately closes and accepts the changes.
EpiButton fakeOKButton = (EpiButton)csm.GetNativeControlReference("put the real OK button GUID here");
fakeOKButton.PerformClick();
1 Like