Forum Discussion
SharePoint IOS app diverts document library to the OneDrive IOS app, which does not show the library
- Oct 20, 2017
Thanks to Sharegate's help, I've got to the bottom of this. When you use Copy Site Objects to migrate a library to a modern Team site on SharePoint Online, it will not copy the DispForm.aspx, EditForm.aspx and Upload.aspx. You can check using SharePoint Designer 2013. Without these, not only can you not edit the properties of an item, the OneDrive iOS app cannot see the library.
On the Sharegate migration tool troubleshoot, it suggested you to enable Custom Script on the SharePoint Online environment. There is an option on the SharePoint Online Admin settings. However, that is not enough. You have enable this using PowerShell from the SharePoint Online Management Console.
This is the instruction from Sharegate:
- Download and install Sharepoint Online Management Shell
- Open a Sharepoint Online Management Shell prompt
- Run the two following commands: Connect-SPOService -Url https://yourdomain-admin.sharepoint.com/ Set-SPOSite -Identity https://yourdomain.sharepoint.com/sites/YourSite/ -DenyAddAndCustomizePages 0
- Try to remigrate.
It worked perfectly! The forms are now in the migrated library. The OneDrive iOS app can now see the library and its content.
ShareGate suggested it's a OneDrive iOS app issue or that it's bad practice to use multiple document libraries. Since the only libraries that the OneDrive app cannot see are the ones created using Copy Site Objects, it implies to me that there is something missing when we use Copy Site Objects such as some sort of marker or step for the app to register that these document libraries exist. Being able to work on a mobile device is important for users on the go. Not everybody carries laptops with them especially if they are executives. Sharegate will investigate this further to rule out any bugs. I would probably not use the Copy site objects from Sharegate again until there is some know fix from either Sharegate or Microsoft.
Thanks to Sharegate's help, I've got to the bottom of this. When you use Copy Site Objects to migrate a library to a modern Team site on SharePoint Online, it will not copy the DispForm.aspx, EditForm.aspx and Upload.aspx. You can check using SharePoint Designer 2013. Without these, not only can you not edit the properties of an item, the OneDrive iOS app cannot see the library.
On the Sharegate migration tool troubleshoot, it suggested you to enable Custom Script on the SharePoint Online environment. There is an option on the SharePoint Online Admin settings. However, that is not enough. You have enable this using PowerShell from the SharePoint Online Management Console.
This is the instruction from Sharegate:
- Download and install Sharepoint Online Management Shell
- Open a Sharepoint Online Management Shell prompt
- Run the two following commands: Connect-SPOService -Url https://yourdomain-admin.sharepoint.com/ Set-SPOSite -Identity https://yourdomain.sharepoint.com/sites/YourSite/ -DenyAddAndCustomizePages 0
- Try to remigrate.
It worked perfectly! The forms are now in the migrated library. The OneDrive iOS app can now see the library and its content.