After a document is uploaded, the 'Edit Properties' window is displayed.
Due to restrictions with integration with other applications, the 'Edit Properties' window must be displayed, but I need to immediately close it without any user input.
I'm using C# to run some workflows immediately after a document is uploaded, so it will show that the SharePoint system has made changes, so if a user clicks 'Save' on that 'Edit Properties' window, it will throw an error.
Could someone point me in the right direction of where to start? Is there a way to just click the 'Cancel' button with code?