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.
I've figured out the cause of the issue. The libraries that showed up on the SharePoint app were created fresh in SharePoint. All the missing libraries were created by the Copy Site Objects using ShareGate from one SharePoint Online site to another.
- Benjamin NiaulinSep 18, 2017Iron Contributor
Hmmm interesting, we use the CSOM to create the structure such as lists/libraries so it should be what is supported for the app.
I'll ask the team to take a look into it just in case. Would you mind reaching out to support@share-gate.com with the issue so we can be in contact with you and see what's up?
Thanks!
- Louis KwongSep 18, 2017Copper Contributor
Hi Benjamin, thanks. I've already submitted a request to Sharegate support. I've tested it. I created a new document library from a site that the migrated document libraries did not show on the OneDrive app. The new library shows. The missing libraries also showed on the OneDrive app when I looked at the source site that the original libraries were created on.
- Louis KwongSep 20, 2017Copper Contributor
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.
- Dean_GrossSep 18, 2017Silver Contributor
Benjamin Niaulinis this a known issue with ShareGate?