pnp / PnP-Sites-Core

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

Template Provisioning Files - Setting Taxonomy Field Values #1848

Open SnappyFPV opened 6 years ago

SnappyFPV commented 6 years ago

Reopen - Issue still exist

Category [o ] Bug [ ] Enhancement

Environment [o ] Office 365 / SharePoint Online [ ] SharePoint 2016 [ ] SharePoint 2013

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

Expected or Desired Behavior Taxonomy field values to be set on uploaded files where the value is specified in the template that specifies metadata

Observed Behavior File uploaded, Taxonomy field values are not populated.

Steps to Reproduce Upload the pnp:Files template block:

(Behaviour is seen on both single and multi valued taxonomy fields). Info from old issue: Deserialization code in the codebase has been tested independently, and the values in the "Category" fields below successfully deserialize to a TaxonomyFieldValue[] array object. The "Title" field successfully is set from this file also, so the framework is definitely reading the values correctly. Any Syntax errors in the text body of the Category Value are thrown during processing, so the Category field is also definitely being read.
stevebeauge commented 6 years ago

I guess #1762 may help