Replies: 4 comments 2 replies
-
You needn't specify Changing it to |
Beta Was this translation helpful? Give feedback.
-
First - thanks for prompt response. These tools close major gaps and are seriously useful - thanks 🙇 If I hardcode a string inside the .ps1, that works (though formatting doesn't seem to match the documentation here?). If I try to read the strings from a CSV for a bulk update, value1;#value2 and value1,value2 both fail 😢
|
Beta Was this translation helpful? Give feedback.
-
You will need to process your CSV data to make it work. So, Am moving this to discussion as it is not an issue with the module. |
Beta Was this translation helpful? Give feedback.
-
Hi, Error seems still to exist. I only could solve this for me by leaving out the batch. |
Beta Was this translation helpful? Give feedback.
-
Reporting an Issue or Missing Feature
Adding/updating Choice fields that accept multiple values is breaks when is used.
Correctly formatted strings (length =n) submitted for Add-PnPListItem and Set-PnPListItem via PnPBatch to add/update a Choice field that allows multiple values are split into n single character values.
Expected behavior
string of "value1;#value2" submitted to add/update a mulit-choice field should result in a record with 2 values in that field:
v1, v2
Actual behavior
record contains 6 values:
v,1,;,#,v,2
Steps to reproduce behavior
Sample repro code
Results with/without batching:
What is the version of the Cmdlet module you are running?
1.11.0
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions