Sharepoint Issue ? - Error moving a file to a doc library with lookup column ( Sharepoint Online )

%3CLINGO-SUB%20id%3D%22lingo-sub-435860%22%20slang%3D%22en-US%22%3ESharepoint%20Issue%20%3F%20-%20Error%20moving%20a%20file%20to%20a%20doc%20library%20with%20lookup%20column%20(%20Sharepoint%20Online%20)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-435860%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%20!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20seems%20it%20is%20not%20possible%20to%20move%20a%20document%20to%20a%20document%20library%20containing%20lookup%20fields.%3C%2FP%3E%3CP%3EThis%20seems%20amazing%20to%20me%20so%20I%20must%20be%20failing%20at%20some%20point%20...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnybody%20can%20confirm%20that%20or%20give%20some%20help%20%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EStep%20to%20reproduce%20%3A%3C%2FP%3E%3CP%3E-%20create%20a%20simple%20list%20with%20some%20items%3C%2FP%3E%3CP%3E-%20create%20a%20document%20library%3C%2FP%3E%3CP%3E-%20add%20a%20lookup%20column%20using%20the%20simple%20list%3C%2FP%3E%3CP%3E-%20move%20a%20document%20to%20this%20new%20library%20(%20REST%20call%20or%20site%20interface%20)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3D%26gt%3B%20we%20get%20the%20following%20error%20%3A%20%22This%20operation%20is%20not%20supported%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-436699%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Issue%20%3F%20-%20Error%20moving%20a%20file%20to%20a%20doc%20library%20with%20lookup%20column%20(%20Sharepoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-436699%22%20slang%3D%22en-US%22%3ELookup%20fields%20are%20always%20tricky%20and%20I%20think%20you%20have%20hit%20here%20a%20limitation...I%20will%20give%20a%20try%20when%20I%20found%20some%20free%20time%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-438236%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20Issue%20%3F%20-%20Error%20moving%20a%20file%20to%20a%20doc%20library%20with%20lookup%20column%20(%20Sharepoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-438236%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20I%20perform%20this%20task%20with%20code%2C%20I%20found%20a%20workaround%20by%20copying%20the%20file%20and%20then%20deleting%20the%20original%20file%2C%20which%20works.%3C%2FP%3E%3CP%3EI%20won%20a%20battle%20but%20lost%20my%20honor%20on%20this%20move%20!%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20I%20can%20do%20better%20soon%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi all !

 

It seems it is not possible to move a document to a document library containing lookup fields.

This seems amazing to me so I must be failing at some point ...

 

Anybody can confirm that or give some help ? 

 

Step to reproduce :

- create a simple list with some items

- create a document library

- add a lookup column using the simple list

- move a document to this new library ( REST call or site interface )

 

=> we get the following error : "This operation is not supported"

2 Replies
Highlighted
Lookup fields are always tricky and I think you have hit here a limitation...I will give a try when I found some free time
Highlighted

As I perform this task with code, I found a workaround by copying the file and then deleting the original file, which works.

I won a battle but lost my honor on this move ! ;)

 

I hope I can do better soon