pnp / PnP-Sites-Core

Microsoft 365 Dev PnP Core component (.NET) targeted for increasing developer productivity with CSOM based solutions.
Other
415 stars 642 forks source link

CreateFolder method fails in Custom Document Set Content Types #553

Open Chiliyago opened 8 years ago

Chiliyago commented 8 years ago

Which PnP repository to report the issue?

[X ] Bug [ ] Enhancement

Environment

[X] Office 365 / SharePoint Online [ ] SharePoint 2016 [ ] SharePoint 2013

If SharePoint on-premises, what's exact CU version:

Expected or Desired Behavior

docSet.CreateFolder(folderName) should create a folder within the custom Document Set even if a column in the SharedFieldCollection contains a space in field name.

Observed Behavior

This error occurs when the Library contains a custom Document Set Content type where one or more columns in the SharedFieldCollection contains space (X000) in the internal name.

We found a work-around as long as the custom Document Set Content type is defined at the site collection level. If defined in Content Type Hub the work-around does not work even if we un-publish the content type.

image

jansenbe commented 7 years ago

Internal testing feedback: Source:

Failed: Online:

Note: I can create new folder manually in UI.