web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch with Combo Box S...
Power Apps
Unanswered

Patch with Combo Box Syntax

(0) ShareShare
ReportReport
Posted on by 378

Here's my Patch but it seems the below either saves 1 of them or saves the other.  It doesn't patch the item as I need it.

@RandyHayes 

Patch(
SPList,
LookUp(
List,
ID = SharePointIntegration.Selected.'ID'
),
{
Name1:
If(IsBlank(ComboBox10.Selected.Mail), Blank(),
{Claims: "i:0#.f|membership|" & Lower(ComboBox10.Selected.Mail),
Department: "",
DisplayName: "",
Email: "",
JobTitle: "",
Picture: ""
}
)
},
{
Name2:
If(IsBlank(ComboBox10_1.Selected.Mail), Blank(),
{Claims: "i:0#.f|membership|" & Lower(ComboBox10_1.Selected.Mail),
Department: "",
DisplayName: "",
Email: "",
JobTitle: "",
Picture: ""
}
)
},
{
Name3:
If(IsBlank(ComboBox12.Selected.Mail), Blank(),
{Claims: "i:0#.f|membership|" & Lower(ComboBox12.Selected.Mail),
Department: "",
DisplayName: "",
Email: "",
JobTitle: "",
Picture: ""
}
)
},

{
Name4:
If(IsBlank(ComboBox12_1.Selected.Mail), Blank(),
{Claims: "i:0#.f|membership|" & Lower(ComboBox12_1.Selected.Mail),
Department: "",
DisplayName: "",
Email: "",
JobTitle: "",
Picture: ""
}
)
},
{
Name5:
If(IsBlank(ComboBox12_2.Selected.Mail), Blank(),
{Claims: "i:0#.f|membership|" & Lower(ComboBox12_2.Selected.Mail),
Department: "",
DisplayName: "",
Email: "",
JobTitle: "",
Picture: ""
}
)
},
{
Name6:
If(IsBlank(ComboBox12_3.Selected.Mail), Blank(),
{Claims: "i:0#.f|membership|" & Lower(ComboBox12_3.Selected.Mail),
Department: "",
DisplayName: "",
Email: "",
JobTitle: "",
Picture: ""
}
)
},
{
Name7:
If(IsBlank(ComboBox12_4.Selected.Mail), Blank(),
{Claims: "i:0#.f|membership|" & Lower(ComboBox12_4.Selected.Mail),
Department: "",
DisplayName: "",
Email: "",
JobTitle: "",
Picture: ""
}
)
},
{
Name8:
If(IsBlank(ComboBox12_5.Selected.Mail), Blank(),
{Claims: "i:0#.f|membership|" & Lower(ComboBox12_5.Selected.Mail),
Department: "",
DisplayName: "",
Email: "",
JobTitle: "",
Picture: ""
}
)
},
{
Name9:
If(IsBlank(ComboBox12_6.Selected.Mail), Blank(),
{Claims: "i:0#.f|membership|" & Lower(ComboBox12_6.Selected.Mail),
Department: "",
DisplayName: "",
Email: "",
JobTitle: "",
Picture: ""
}
)
},
{
Name10:
If(IsBlank(ComboBox12_7.Selected.Mail), Blank(),
{Claims: "i:0#.f|membership|" & Lower(ComboBox12_7.Selected.Mail),
Department: "",
DisplayName: "",
Email: "",
JobTitle: "",
Picture: ""
}
)
},
{SubmitFlag:"1"}
);

 

Categories:
  • MVP-Phipps Profile Picture
    3,526 Super User 2024 Season 1 on at

    Is an error being shown?

  • olsen9 Profile Picture
    378 on at

    No errors but I want to treat each (IF) as their own and be able to clear and save data.  How it's functioning is it either saves for Name 1 or clears Name 1 when I put data in Name2 etc.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @olsen9 

    As mentioned in your last post, you are providing a snippet of your formula.  It is hard to tell what all is going on with the entire formula.  If you could provide the full context of your formula, that would be helpful.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard