Created
November 28, 2019 17:40
-
-
Save beckettkev/6a718f69c91f9ba0c73196a62093afeb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// First of all we need to loop through each of the selected items in the combo box... | |
ForAll( | |
// Where 'MyComboMultiSelectBox' is your multi select combox box containing the selected items... | |
MyComboMultiSelectBox.SelectedItems, | |
Collect( | |
// Create a new collection called TaxonomyValuesFromComboBox | |
TaxonomyValuesFromComboBox, | |
{ | |
// Create a new entry in the collection for each of the selected items... | |
'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy", | |
TermGuid: TermGuid, | |
WssId: WssId, | |
Label: Label, | |
Path: Path, | |
Value: Value | |
} | |
) | |
); | |
Patch('My Document Library Name', { | |
// Save this collection against the internal SP Column name... | |
MyInternalMultiTaxonomyFieldName: TaxonomyValuesFromComboBox | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment