0

Have big problem, i created custom form and one input is Person type in dropdown input. This input i limited only for persons in specific group.

Problem is, if i choose one member from the group, save button did not save person email to the list.

All other inputs in custom form, are saved.

Dropdown advance setup

OnSelect - false
OnChange - false
DisplayFields - ["mail"]
SearchFields -  ["mail"]
Items - Office365Groups.ListGroupMembers("id").value
IsSearchable - true

SharePointForm setup

If(
   IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),
   First([@tab]),
   SharePointIntegration.Selected
  )

Save and edit buttons are not custom, using default one.

thank you for any advice.

1 Answer 1

1

Change items property of dropdown/combobox to:

ForAll(
    Filter(
        Office365Groups.ListGroupMembers("id").value, 
        "@company.com" in Mail
    ),
    { 
       Claims:"i:0#.f|membership|" & Lower(Mail), 
       Department: "", 
       DisplayName: DisplayName, 
       Email: Mail, 
       JobTitle: "", 
       Picture: ""
    }
)

Replace @company.com with your company/tenant name as per email address.

Then set Update property of your Data card control to:

ComboboxControlName.SelectedItems

Reference: PowerApps People picker column issues

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.