Difference between revisions of "Power Apps Save Combo Box with Office 365 Users to SharePoint List's Person Data"
Jump to navigation
Jump to search
(Created page with "<pre> Clear(colTeamMembers); ForAll( cmbTeamMembers.SelectedItems, Collect( colTeamMembers, { '@odata.type':"#Microsoft.Azure.Connectors.Sh...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 30: | Line 30: | ||
Picture:"" | Picture:"" | ||
}, | }, | ||
− | 'Team Members: colTeamMembers, | + | 'Team Members': colTeamMembers, |
} | } | ||
) | ) | ||
</pre> | </pre> | ||
+ | |||
+ | [[Category:PowerApps]] | ||
+ | [[Category:SharePoint List]] |
Latest revision as of 15:58, 27 June 2020
Clear(colTeamMembers); ForAll( cmbTeamMembers.SelectedItems, Collect( colTeamMembers, { '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser", Claims:"i:0#.f|membership|" & DisplayName, Department:"", DisplayName: DisplayName, Email: Mail, JobTitle:"", Picture:"" } ) ); Patch( 'People Tracker', Defaults('People Tracker'), { Title: "Group B", 'Primary Contact': {'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser", Claims:"i:0#.f|membership|" & cmbPrimaryContact.Selected.DisplayName, Department:"", DisplayName: cmbPrimaryContact.Selected.DisplayName, Email: cmbPrimaryContact.Selected.Mail, JobTitle:"", Picture:"" }, 'Team Members': colTeamMembers, } )