In my gallery I have a description and checkbox. When the submit button is hit I want the persons name and description to come though on the sharepoint list. In the sharepoint list I have columns Description and name. I tried using
ForAll(Checkbox1.value,
Patch('Removal', Defaults('Removal'), {Name_:varUser.FullName,Description:ThisItem.Description)});
but I couldn't get it to work.
Solved! Go to Solution.
Please consider changing your Formula to the following:
Collect('Removal',
ForAll(
Filter(YourGalleryName.AllItems, Checkbox1.value) As galItem,
Patch(Defaults('Removal'),
{Name_: varUser.FullName,
Description: galItem.Description
}
)
)
)
I hope this is helpful for you.
Please consider changing your Formula to the following:
Collect('Removal',
ForAll(
Filter(YourGalleryName.AllItems, Checkbox1.value) As galItem,
Patch(Defaults('Removal'),
{Name_: varUser.FullName,
Description: galItem.Description
}
)
)
)
I hope this is helpful for you.
The formula I provided is good an works, so you must have something that is not matching the names you have in your app.
What is your Gallery name?
Checkbox1 is in your Gallery?
The gallery has an items property that will have a Description in it?
varUser is valid and has a FullName property?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
208 | |
97 | |
60 | |
52 | |
51 |
User | Count |
---|---|
255 | |
158 | |
87 | |
79 | |
64 |