Last active
November 28, 2019 17:45
-
-
Save beckettkev/84438ed664b42c78e6515230e9f08123 to your computer and use it in GitHub Desktop.
Setting a single valued taxonomy column from a combo box
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
// Where 'My Document Library Name' is the name of your document library / list | |
Patch('My Document Library Name', { | |
// Where 'MyInternalTaxonomyFieldName' is the internal name of the Managed Metadata column in SharePoint | |
MyInternalTaxonomyFieldName: { | |
// Where MyComboSelectBox is the single select combo box containing the selected choice in your Power App | |
'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy", | |
TermGuid: MyComboSelectBox.Selected.TermGuid, | |
WssId: MyComboSelectBox.Selected.WssId, | |
Label: MyComboSelectBox.Selected.Label, | |
Path: MyComboSelectBox.Selected.Path, | |
Value: MyComboSelectBox.Selected.Value | |
} | |
// Each of your other fields would be comma separated below... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment