SOLVED

Migrate Libraries using ShareGate's Copy Site Object misses DispForm.aspx for the library

%3CLINGO-SUB%20id%3D%22lingo-sub-117310%22%20slang%3D%22en-US%22%3EMigrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-117310%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20noticed%20an%20issue%20with%20using%20ShareGate's%20Copy%20Site%20Object%20to%20migrate%26nbsp%3BSharePoint%20libaries%20from%20one%20SharePoint%20Online%20site%20to%20another.%26nbsp%3B%20I%20migrated%20the%20libraries%20without%20content.%20It's%20only%20after%20a%20while%20did%20I%20noticed%20that%20when%20I%20try%20to%20look%20at%20the%20property%20of%20any%20documents%2C%20I%20got%20the%20following%20error%20message%3A%20Unable%20to%20find%20the%20default%20display%20form.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20563px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F22304iEE8DD5B9DB739941%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22cannot_find_display_form.png%22%20title%3D%22cannot_find_display_form.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20opened%20SharePoint%20Designer%202013%20to%20compare%20the%20original%20and%20migrated%20library%20and%20found%20that%20the%20following%20forms%20are%20all%20missing.%3C%2FP%3E%3CP%3EDispForm.aspx%2C%20EditForm.aspx%2C%20Upload.aspx.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20looked%20at%20the%20migration%20report.%20There%20were%20indeed%20warnings%20about%20unable%20to%20create%20ListFormWebpart.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F22305iA4EB8C3B366C71EB%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22ShareGate_Error.png%22%20title%3D%22ShareGate_Error.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20clicked%20ont%20he%20How%20to%20solve%20this.%20It%20took%20me%20to%20a%20ShareGate%20page%20that%20suggested%20I%20should%20enable%20custom%20scripts%20on%20my%20SharePoint%20online%20environment.%20I%20did%20that.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F22306i3BACBAF0C55CCD42%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22custom_script.jpg%22%20title%3D%22custom_script.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWaited%20for%20over%20a%20week%20before%20attempting%20the%20next%20Copy%20Site%20Object%20action.%20The%20same%20thing%20happened.%20ShareGate%20missed%20the%20forms.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20an%20issue%20because%20Not%20able%20to%20migate%20the%20library%20forms%20meant%20users%20cannot%20edit%20document%20properties.%20Not%20being%20able%20to%20use%20the%20Copy%20Site%20Objects%20function%20seriously%20limits%20the%20usefulness%20of%20ShareGate.%26nbsp%3BDoes%20anybody%20know%20how%20I%20can%20migrate%20these%20library%20forms%3F%20I%20tried%20to%20use%20the%20New%20button%20to%20create%20a%20new%20DispForm%20but%26nbsp%3BI%20got%20an%20error%20that%20it%20cannot%20save%20the%20list%20changes%20to%20the%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20714px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F22307i9581BC31BDC8E5E7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Libray_forms.png%22%20title%3D%22Libray_forms.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20522px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F22308i80C01FCC7B4B490C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22CreateNew%20List%20form.png%22%20title%3D%22CreateNew%20List%20form.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20312px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F22309iDA45F2A405534F3D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22cannot_save_list_changes.png%22%20title%3D%22cannot_save_list_changes.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-117310%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-481780%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-481780%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F88473%22%20target%3D%22_blank%22%3E%40Mia%20Loh%C3%A9%20Chung%3C%2FA%3E%26nbsp%3BThanks%20for%20your%20solution%20because%20we%20had%20the%20same%20problem%20for%20duplicating%20our%20CRM%20community.the%20other%20unsolve%20problem%20is%20that%20after%20duplicating%20the%20drop-down%20menu%20doesn't%20migrate.%20any%20solution%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-357959%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-357959%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20the%20information.%20In%20my%20case%20I%20had%20already%20deleted%20the%20source%20and%20the%20forms%20weren't%20that%20important%20that%20I%20would%20worry%20about%20losing%20them.%3C%2FP%3E%3CP%3EIt%20appears%20the%20forms%20are%20copied%20across%20but%20the%20link%20from%20the%20list%20to%20the%20forms%20is%20missing.%20In%20my%20case%20I%20used%20designer%20to%20browse%20all%20files%20and%20lists%20and%20delete%20the%20original%20forms.%20I%20then%20used%20Designer%20to%20re-create%20the%20forms.%3C%2FP%3E%3CP%3EIf%20you%20didn't%20want%20to%20delete%20the%20migrated%20forms%2C%20you%20could%20just%20recreate%20with%20a%20different%20name%2C%20using%20Designer.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269518%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269518%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20Microsoft%20plan%20on%20creating%20an%20API%20for%20the%20modern%20lists%20and%20libraries%20so%20that%20ShareGate%20will%20be%20able%20to%20copy%20lists%2Flibraries%20to%20modern%20lists%2Flibraries%3F%26nbsp%3B%20it%20is%20a%20pain%20point%20for%20our%20current%20migration.%26nbsp%3B%20For%20Each%20list%20online%2C%20I%20am%20creating%20a%20new%20app%2C%20adding%20and%20setting%20columns%20(re-creating%20the%20list)%2C%20the%20using%20migration%20tool%20to%20migrate%20content.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269515%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269515%22%20slang%3D%22en-US%22%3E%3CP%3EMia%2C%3C%2FP%3E%3CP%3EIf%20I%20understand%20your%20process%20you%20would%20have%20to%20run%20this%20script%20on%20every%20single%20site%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169506%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169506%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Jonathan!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20only%20copying%20the%20content%20of%20your%20site%20(Copy%20Content)%2C%20then%20yes%20it%20is%20possible.%20If%20you%20copy%20the%20full%20structure%20of%20your%20lists%20and%20libraries%20in%20your%20Site%2C%20the%20pages%20will%20also%20be%20copied.%20Hope%20this%20helps!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-169331%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-169331%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20this%20same%20issue%2C%20just%20trying%20to%20understand%2C%20would%20the%20migration%20tool%20just%20migrate%20the%20lists%20and%20contents%20but%20default%20to%20the%20new%2Fedit%20pages%20on%20SharePoint%20Online%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20will%20run%20the%20below.%26nbsp%3B%20thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-118644%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-118644%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20happy%20it%20worked!%20If%20ever%20you%20have%20any%20other%20questions%2C%20don't%20hesitate%20to%20contact%20our%20support%20team%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-118610%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-118610%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Mia%2C%20I've%20tried%20it%20and%20it%20worked%20perfectly!%20It's%20so%20annoying%20with%26nbsp%3BSharePoint%20Online%26nbsp%3Bthat%20enabling%20script%20in%20the%20admin%20console%20is%20not%20enough.%26nbsp%3BYou%26nbsp%3Bhad%20to%20use%20Powershell%20too.%20It%20worked.%20The%20migrated%20libraries%20now%20have%20the%20missing%20forms.%20It%20also%20solved%20another%20issue%20with%20the%20OneDrive%20iOS%20app.%20It%20can%20now%20see%20the%20migrated%20library.%20Before%20this%2C%20the%20OneDrive%20iOS%20app%20could%20not%20see%20the%20migrated%20libraries.%20I%20assume%20that's%20because%20of%20the%20missing%20forms.%20Thanks%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-118150%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-118150%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Louis%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFull%20disclosure%2C%20I%20work%20for%20Sharegate%20%3A)%3C%2Fimg%3E%20Here's%20what%20you%20need%20to%20do%20to%20resolve%20your%20problem%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20Download%20and%20install%20Sharepoint%20Online%20Management%20Shell%3CBR%20%2F%3E2.%20Open%20a%20Sharepoint%20Online%20Management%20Shell%20prompt%3CBR%20%2F%3E3.%20Run%20the%20two%20following%20commands%3A%3CBR%20%2F%3EConnect-SPOService%20-Url%20%3CA%20href%3D%22https%3A%2F%2FYourDomain-admin.sharepoint.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2FYourDomain-admin.sharepoint.com%3C%2FA%3E%3CBR%20%2F%3ESet-SPOSite%20-Identity%20%3CA%20href%3D%22https%3A%2F%2FYourDomain.sharepoint.com%2Fsites%2FYourSite%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2FYourDomain.sharepoint.com%2Fsites%2FYourSite%2F%3C%2FA%3E%20-DenyAddAndCustomizePages%200%3CBR%20%2F%3E4.%20Try%20to%20remigrate.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20that%20doesn't%20work%2C%20contact%20support%40share-gate.com%20and%20they'll%20be%20happy%20to%20give%20you%20a%20hand!%20Good%20luck%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-117476%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20Libraries%20using%20ShareGate's%20Copy%20Site%20Object%20misses%20DispForm.aspx%20for%20the%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-117476%22%20slang%3D%22en-US%22%3EI%20think%20you%20should%20report%20this%20issue%20to%20Sharegate%20guys%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

 

I've noticed an issue with using ShareGate's Copy Site Object to migrate SharePoint libaries from one SharePoint Online site to another.  I migrated the libraries without content. It's only after a while did I noticed that when I try to look at the property of any documents, I got the following error message: Unable to find the default display form.

 

 cannot_find_display_form.png

 

I opened SharePoint Designer 2013 to compare the original and migrated library and found that the following forms are all missing.

DispForm.aspx, EditForm.aspx, Upload.aspx.

 

I looked at the migration report. There were indeed warnings about unable to create ListFormWebpart.

ShareGate_Error.png

I clicked ont he How to solve this. It took me to a ShareGate page that suggested I should enable custom scripts on my SharePoint online environment. I did that.

 

custom_script.jpg

 

Waited for over a week before attempting the next Copy Site Object action. The same thing happened. ShareGate missed the forms.

 

This is an issue because Not able to migate the library forms meant users cannot edit document properties. Not being able to use the Copy Site Objects function seriously limits the usefulness of ShareGate. Does anybody know how I can migrate these library forms? I tried to use the New button to create a new DispForm but I got an error that it cannot save the list changes to the server.

 

Libray_forms.png

CreateNew List form.png

 cannot_save_list_changes.png

10 Replies
Highlighted
I think you should report this issue to Sharegate guys
Highlighted
Best Response confirmed by Louis Kwong (Occasional Contributor)
Solution

Hi Louis,

 

Full disclosure, I work for Sharegate :) Here's what you need to do to resolve your problem:

 

 

1. Download and install Sharepoint Online Management Shell
2. Open a Sharepoint Online Management Shell prompt
3. Run the two following commands:
Connect-SPOService -Url https://YourDomain-admin.sharepoint.com
Set-SPOSite -Identity https://YourDomain.sharepoint.com/sites/YourSite/ -DenyAddAndCustomizePages 0
4. Try to remigrate.

 

If that doesn't work, contact support@share-gate.com and they'll be happy to give you a hand! Good luck :)

Highlighted

Thanks Mia, I've tried it and it worked perfectly! It's so annoying with SharePoint Online that enabling script in the admin console is not enough. You had to use Powershell too. It worked. The migrated libraries now have the missing forms. It also solved another issue with the OneDrive iOS app. It can now see the migrated library. Before this, the OneDrive iOS app could not see the migrated libraries. I assume that's because of the missing forms. Thanks again.

Highlighted

So happy it worked! If ever you have any other questions, don't hesitate to contact our support team :)

Highlighted

I have this same issue, just trying to understand, would the migration tool just migrate the lists and contents but default to the new/edit pages on SharePoint Online?

 

I will run the below.  thanks!

Highlighted

Hi Jonathan!

 

If you are only copying the content of your site (Copy Content), then yes it is possible. If you copy the full structure of your lists and libraries in your Site, the pages will also be copied. Hope this helps!

Highlighted

Mia,

If I understand your process you would have to run this script on every single site?

Highlighted

Does Microsoft plan on creating an API for the modern lists and libraries so that ShareGate will be able to copy lists/libraries to modern lists/libraries?  it is a pain point for our current migration.  For Each list online, I am creating a new app, adding and setting columns (re-creating the list), the using migration tool to migrate content.

Highlighted

Thanks for the information. In my case I had already deleted the source and the forms weren't that important that I would worry about losing them.

It appears the forms are copied across but the link from the list to the forms is missing. In my case I used designer to browse all files and lists and delete the original forms. I then used Designer to re-create the forms.

If you didn't want to delete the migrated forms, you could just recreate with a different name, using Designer.

Highlighted

@Mia Lohé Chung Thanks for your solution because we had the same problem for duplicating our CRM community.the other unsolve problem is that after duplicating the drop-down menu doesn't migrate. any solution?