I did the following:-
- I created a new modern SharePoint page >> inside it i added a Button web part, as follow:-
The url for the button refers to the upload dialog for a document library, as follow @
Now I click on the above Button >> Upload the document, as follow:-
- Then i will be redirected to the edit properties form (since the document library has a custom content type with custom columns), as follow:-
- After that i populated the required properties inside the edit form >> click on Save.
But the issue is that the uploaded document will be checked-out by default as follow:-
So can anyone advice why this is happening? why the document will be checked-out after been uploaded?
I checked the versioning settings for the document library and i have the following, so the document should not be checked-out by default when been uploaded and edited !!!:-