question

RonG-7489 avatar image
0 Votes"
RonG-7489 asked EchoDu-MSFT commented

Edit form not coming up after uploading document in SharePoint Online Library.

I have a SharePoint Online site with a standard document library with additional custom columns. After uploading a document into this library I was expecting the edit form to come up so that I may enter values into the custom columns. Unfortunately, it did not show up. I researched online and sources say, as a workaround until Microsoft fixes the problem, to turn off the Modern UI Experience in the Site Features and Library Advanced settings. I did that and it still does not work as expected. Does anyone know of another workaround?

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered EchoDu-MSFT commented

Hello anonymous user-7489 ,

By design, you aren't prompted for required information when you upload a file to a SharePoint Online library using the new experience version(modern mode).

As a workaround, I suggest you switch the Document library to classic mode or disable new experience feature at the site collection level. Then, upload document by clicking Upload button instead of drag-drop document.

85592-upload-files.gif

Thanks,
Echo Du

===================== Updated Answer ==================

Hi anonymous user-7489 ,

Please following steps:

1.Switch the Document library to the Classic mode, click the Settings icon in the upper right corner, and then select Edit page

88023-1.png

2.On the Editing page, click "Add a Web Part" link to add a ScriptEditor webpart

88024-2.png

3.On the ScriptEditor webpart, click "EDIT SNIPPET" and apply the this code.

88025-3.png

4.Click Stop Editing to exit edit.

Thanks,
Echo Du
=====================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



upload-files.gif (675.8 KiB)
1.png (94.6 KiB)
2.png (55.2 KiB)
3.png (37.3 KiB)
code.txt (4.2 KiB)
· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@EchoDu-MSFT I believe I stated that I disabled the Modern UI Experience and changed the setting on the library to use the classic experience in my post and that did not work for me.

0 Votes 0 ·

Hi anonymous user-7489 ,

Doesn’t the Edit Form pop up even when you click the Upload button?

1.Please set the column as a required field. In my test, I set the Type column as a required field.

85947-1.png

2.Then, click the Upload button. When you upload a document, the Edit Form will pop up.

85992-2.png

Thanks,
Echo Du

0 Votes 0 ·
1.png (31.0 KiB)
2.png (165.5 KiB)

@EchoDu-MSFT no it does not work for me. Hence, my question for ANOTHER workaround.

0 Votes 0 ·
Show more comments