Using Patch
About the Author: Manish Luhana
Microsoft business applications specialist and certified trainer.
Categories: Power Apps, Power Platform0 CommentsPublished On: 29 March 2022

patch-multiselect

USE POWERAPPS TO PATCH MULTISELECT LOOKUP IN SHAREPOINT

I’ve observed a couple situations where a user needs to repair a multi-select lookup using PowerApps. Patch the lookup is different than the basic data type in general because Lookup is a complicated type.

Solution

Because ComboBoxSelectedItems is a table, we must loop through the chosen items.

Patching Command

{ Title: TitleInput.Text, Event: ForAll( EventComboBox.SelectedItems, { ‘@odata.type’: “#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference”, Id: Id, Value: Value } ) }

  • Event – The column name in SharePoint EventComboBox
  • Displays a list of all events from the SP List
tech mentor sidebanner
  • Continue reading
  • Continue reading
  • Continue reading
  • Continue reading
  • Continue reading

Leave A Comment