SOLVED

SharePoint Library Sync Issues

%3CLINGO-SUB%20id%3D%22lingo-sub-1601547%22%20slang%3D%22en-US%22%3ESharePoint%20Library%20Sync%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1601547%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20simple%20document%20library%20in%20SharePoint%20online%3A%3C%2FP%3E%3CUL%3E%3CLI%3ENo%20checkout%20required%3C%2FLI%3E%3CLI%3ENo%20validation%3C%2FLI%3E%3CLI%3EA%20number%20of%20required%20metadata%20fields%20are%20present%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20see%20the%20following%20oddity%20when%20using%20sync%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3ELibrary%20works%20as%20expected%20opening%2Fediting%20and%20saving%20in%20Word%20online%20and%20desktop%20client.%3C%2FLI%3E%3CLI%3EAfter%20I%20choose%20%22Sync%22%20in%20the%20document%20library%20the%20files%20are%20successfully%20synced%20to%20desktop.%3C%2FLI%3E%3CLI%3ENow%20if%20I%20choose%20%22Open%20in%20desktop%20client%22%20from%20SharePoint%20the%20file%20is%20read%20only.%3C%2FLI%3E%3CLI%3ERemove%20sync%20from%20OneDrive.%3C%2FLI%3E%3CLI%3ENow%20if%20I%20choose%20%22Open%20in%20desktop%20client%22%20I%20can%20edit%20and%20save%20with%20no%20issues.%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhy%20does%20using%20the%20desktop%20client%20when%20sync%20is%20enabled%20make%20the%20file%20read-only%2C%20am%20I%20missing%20something%20or%20is%20there%20an%20issue%20here%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1601547%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOneDrive%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESync%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1601667%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Library%20Sync%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1601667%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F733624%22%20target%3D%22_blank%22%3E%40BarryAnderson%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDue%20to%20there%20being%20required%20meta%20data%20fields%20which%20you%20cannot%20fill%20when%20opening%20a%20desktop%20file%20OneDrive%20makes%20the%20whole%20folder%20read%20only.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20an%20update%20coming%20-%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3ESynced%20metadata%20support%3C%2FSTRONG%3E%3CSPAN%3E%E2%80%94Metadata%20adds%20structure%20and%20compliance%20to%20your%20files.%20Currently%20shared%20libraries%20with%20mandatory%20metadata%20synchronizes%20as%20read-only.%20We%20are%20excited%20to%20announce%20that%20in%20the%20next%20few%20weeks%20we%20are%20rolling%20out%20an%20update%20to%20the%20OneDrive%20sync%20app%20supporting%20read%20and%20write%20sync%20for%20shared%20libraries%20that%20contain%20required%20metadata.%20This%20will%20enable%20business%20users%20to%20edit%20content%20in%20their%20synced%20libraries%20while%20working%20from%20their%20desktops.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fblog%2F2020%2F07%2F01%2Fintroducing-new-onedrive-features-to-share-and-collaborate-across-work-and-life%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fblog%2F2020%2F07%2F01%2Fintroducing-new-onedrive-features-to-share-and-collaborate-across-work-and-life%2F%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1606205%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Library%20Sync%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1606205%22%20slang%3D%22en-US%22%3EI%20don%E2%80%99t%20think%20this%20is%20entirely%20true.%20Office%20apps%20can%20open%20and%20work%20with%20files%20with%20required%20metadata.%20However%20you%20cannot%20work%20directly%20with%20the%20files%20stored%20local%20because%20of%20it.%20%3CBR%20%2F%3E%3CBR%20%2F%3EThere%20is%20an%20option%20in%20your%20onedrive%20sync%20client%20under%20the%20office%20tab%20that%20you%20need%20to%20make%20sure%20is%20on%2Foff%20where%20your%20office%20apps%20will%20open%20the%20files%20from%20online%20and%20not%20locally.%20I%20think%20this%20will%20let%20you%20work%20on%20them.%20Usually%20it%E2%80%99s%20on%20by%20default%20I%20think%20thou.%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEither%20way.%20Syncing%20with%20metadata%20is%20not%20supported%20other%20than%20read%20only%20when%20it%20comes%20to%20moving%20files%20in%20and%20out%20etc.%20as%20stated%20above%20so%20not%20ideal%20to%20use%20yet%20till%20update%20hits.%20%3CBR%20%2F%3E%3CBR%20%2F%3EI%20could%20be%20wrong%20here%20since%20I%20can%E2%80%99t%20test%20it%20but%20I%E2%80%99m%20pretty%20sure%20that%20option%20is%20why%20you%20can%E2%80%99t%20open%20in%20desktop%20app%20via%20SharePoint%20since%20it%E2%80%99s%20trying%20to%20open%20the%20local%20copy%20cause%20of%20the%20file%20being%20synced%20and%20that%20option%20in%20onedrive%20being%20(uncheck%3F)%20or%20check%20can%E2%80%99t%20remember%20which%20it%20is%20but%20it%E2%80%99ll%20make%20sense%20when%20you%20go%20see%20it.%20Just%20a%20hunch%20thou.%3C%2FLINGO-BODY%3E
Contributor

I have a simple document library in SharePoint online:

  • No checkout required
  • No validation
  • A number of required metadata fields are present

 

I see the following oddity when using sync:

 

  1. Library works as expected opening/editing and saving in Word online and desktop client.
  2. After I choose "Sync" in the document library the files are successfully synced to desktop.
  3. Now if I choose "Open in desktop client" from SharePoint the file is read only.
  4. Remove sync from OneDrive.
  5. Now if I choose "Open in desktop client" I can edit and save with no issues.

 

Why does using the desktop client when sync is enabled make the file read-only, am I missing something or is there an issue here?

 

Thanks.

 

2 Replies
best response confirmed by BarryAnderson (Contributor)
Solution

@BarryAnderson 

 

Due to there being required meta data fields which you cannot fill when opening a desktop file OneDrive makes the whole folder read only. 

 

There is an update coming - 

 

Synced metadata support—Metadata adds structure and compliance to your files. Currently shared libraries with mandatory metadata synchronizes as read-only. We are excited to announce that in the next few weeks we are rolling out an update to the OneDrive sync app supporting read and write sync for shared libraries that contain required metadata. This will enable business users to edit content in their synced libraries while working from their desktops.

 

https://www.microsoft.com/en-us/microsoft-365/blog/2020/07/01/introducing-new-onedrive-features-to-s...

I don’t think this is entirely true. Office apps can open and work with files with required metadata. However you cannot work directly with the files stored local because of it.

There is an option in your onedrive sync client under the office tab that you need to make sure is on/off where your office apps will open the files from online and not locally. I think this will let you work on them. Usually it’s on by default I think thou.


Either way. Syncing with metadata is not supported other than read only when it comes to moving files in and out etc. as stated above so not ideal to use yet till update hits.

I could be wrong here since I can’t test it but I’m pretty sure that option is why you can’t open in desktop app via SharePoint since it’s trying to open the local copy cause of the file being synced and that option in onedrive being (uncheck?) or check can’t remember which it is but it’ll make sense when you go see it. Just a hunch thou.