Verbessere die Verarbeitung von Taxonomie-Feldwerten, um Mehrwert-Paare korrekt zu trennen und Parsing-Probleme zu vermeiden.
This commit is contained in:
@@ -2222,7 +2222,10 @@ function Set-SPTaxonomyFieldValue {
|
||||
$labelGuidPairs += ("{0}|{1}" -f $label, $termGuid)
|
||||
}
|
||||
|
||||
$pairString = $labelGuidPairs -join ";#"
|
||||
# PopulateFromLabelGuidPairs expects repeated label|Guid pairs separated
|
||||
# by a plain semicolon. ";#" is SharePoint's serialized field-value
|
||||
# delimiter and causes multi-value collections to be parsed incorrectly.
|
||||
$pairString = $labelGuidPairs -join ";"
|
||||
$taxonomyCollection = $null
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user