web.ExcludeFromOfflineClient property with CMOS

%3CLINGO-SUB%20id%3D%22lingo-sub-3711%22%20slang%3D%22en-US%22%3Eweb.ExcludeFromOfflineClient%20property%20with%20CMOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3711%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20folks%2C%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20setup%20the%20web.ExcludeFromOfflineClient%20property%20with%20CMOS%3F%20I%20only%20managed%20to%20set%20this%20up%20with%20a%20Sandbox%20Solution.%20Any%20ideas%3F%20Thank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-5612%22%20slang%3D%22en-US%22%3ERe%3A%20web.ExcludeFromOfflineClient%20property%20with%20CMOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-5612%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Martin%2C%3C%2FP%3E%3CP%3Ewe%20are%20working%20on%20updated%20process%20internally%2C%20so%20if%20you%20have%20these%20kind%20of%20gaps%20in%20the%20API%2C%20which%20are%20blocking%20your%20transition%20from%20sandbox%20solutions%20to%20CSOM%2C%20please%20ask%20for%20extension%20for%20your%20sandbox%20solution%20with%20the%20details%20on%20missing%20APIs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20submit%20extension%20request%20using%20the%20normal%20SharePoint%20Online%20support%20channels.%20API%20gaps%20are%20identified%20from%20these%20support%20cases%20and%20collectively%26nbsp%3Bfixed%20for%20helping%20you%20to%20proceed.%20We%20do%20require%20these%20to%20be%20submitted%20using%20the%20official%20support%20channels%2C%20so%20that%20we%20can%20get%20them%20collected%20using%20official%20channels.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethx%20for%20your%20submission%20advance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4996%22%20slang%3D%22en-US%22%3ERE%3A%20web.ExcludeFromOfflineClient%20property%20with%20CMOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4996%22%20slang%3D%22en-US%22%3EWe%20are%20right%20now%20collecting%20all%20the%20APIs%20which%20are%20available%20from%20SB%20assembly%2C%20but%20not%20in%20the%20CSOM%2C%20so%20looking%20on%20getting%20this%20introduced%20sooner%20or%20later.%20In%20general%20would%20also%20suggest%20to%20submit%20user%20voice%20entries%20for%20these%20kind%20of%20gaps%20from%20%3CA%20href%3D%22http%3A%2F%2Fsharepoint.uservoice.com%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fsharepoint.uservoice.com%2F%3C%2FA%3E%2C%20so%20that%20they%20are%20processed%20accordingly.%20Due%20removal%20of%20code-behind%20sandbox%20support%20from%20the%20SharePoint%20Online%2C%20we%20will%20ensure%20that%20this%20will%20be%20on%20the%20prioritized%20list%20of%20what's%20available%20in%20SB%2C%20but%20not%20in%20CSOM.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-4980%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20web.ExcludeFromOfflineClient%20property%20with%20CMOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-4980%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20has%20become%20a%20larger%20issue%20as%20the%20OP%20noted%20this%20was%20previously%20only%20available%20via%20the%20Sandbox%20solutions.%26nbsp%3B%20As%20of%20the%20past%20couple%20weeks%20the%20policy%20to%20remove%20support%20for%20code%20inside%20Sandbox%20solutions%20has%20been%20formalized%20leaving%20no%20way%20of%20setting%20the%20web.ExcludeFromOfflineClient%20value%20programmatically.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20work%20around%20ideas%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3766%22%20slang%3D%22en-US%22%3ERE%3A%20web.ExcludeFromOfflineClient%20property%20with%20CMOS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3766%22%20slang%3D%22en-US%22%3EI%20assume%20you%20have%20checked%20latest%20CSOM%20version%20released%20by%20SPO%20and%20the%20property%20is%20not%20there%2C%20don't%20you%3F%20By%20the%20way%2C%20it%20does%20not%20appear%20in%20the%20official%20documentation%20in%20Microsoft%20TechNet%20so%20I%20would%20say%20there%20is%20no%20way%20to%20do%20this%20in%20CSOM%20at%20the%20moment%3C%2FLINGO-BODY%3E
Highlighted
Senior Member

Hi folks,

Is there a way to setup the web.ExcludeFromOfflineClient property with CMOS? I only managed to set this up with a Sandbox Solution. Any ideas? Thank you!

4 Replies
Highlighted
I assume you have checked latest CSOM version released by SPO and the property is not there, don't you? By the way, it does not appear in the official documentation in Microsoft TechNet so I would say there is no way to do this in CSOM at the moment
Highlighted

This has become a larger issue as the OP noted this was previously only available via the Sandbox solutions.  As of the past couple weeks the policy to remove support for code inside Sandbox solutions has been formalized leaving no way of setting the web.ExcludeFromOfflineClient value programmatically.

 

Any work around ideas?

Highlighted
We are right now collecting all the APIs which are available from SB assembly, but not in the CSOM, so looking on getting this introduced sooner or later. In general would also suggest to submit user voice entries for these kind of gaps from http://sharepoint.uservoice.com/, so that they are processed accordingly. Due removal of code-behind sandbox support from the SharePoint Online, we will ensure that this will be on the prioritized list of what's available in SB, but not in CSOM.
Highlighted

Hi Martin,

we are working on updated process internally, so if you have these kind of gaps in the API, which are blocking your transition from sandbox solutions to CSOM, please ask for extension for your sandbox solution with the details on missing APIs.

 

You can submit extension request using the normal SharePoint Online support channels. API gaps are identified from these support cases and collectively fixed for helping you to proceed. We do require these to be submitted using the official support channels, so that we can get them collected using official channels.

 

thx for your submission advance.