I have more than 50k document libraries in a site collection.
When we upload the document and hit cancel on EditForm.aspx (Mode=Upload), it still uploads the document in checked out status. I want to overright the cancel button (not from ribbon) on EditForm.aspx to delete the document if certain fields are not filled up. How can I do it for all libraries?


Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Nov 20, 2015, 10:01 PM EST
Aditya Shrivastava20 reputationPosted Nov 23, 2015, 5:24 AM EST
Upendra,
EditForm.aspx is an application page and I have not yet written any code so far.