The parent gallery receives the count of selected items from a combo box, generating a corresponding number of rows. Within each row, the second combo box determines the count of items for the child gallery, creating additional rows. The next step involves individually patching each of these items to a SharePoint list. For instance, if California and Texas are selected at the first level, followed by LA and SFO under California, and Dallas under Texas, a total of three records need to be patched into the SharePoint list.
I tried below code, which is not working
ForAll(
MainGallery.AllItems,
ForAll(
SubGallery.AllItems,
Patch(
List,
Defaults(List),
{
Product Name: Label5_1.Text,
Title: Label8_1.Text,
Status: {Value: "In Progress"}
}
)
)
);

Report
All responses (
Answers (