Hi everyone,
I have a SP list with a custom power apps form, I am required to use patch as part of the submit/save function to pull in external data from a lookup.
I also, ideally, need to have a field which is conditionally required (depending on the response to another question).
I have managed to acheive this in a test list but only where patching is not part of the saving. When I try to acheive the same but also using patching, the item saves regardless. I have attempted to amend my patch formula using an IF statement, such as described in the following article, but I have yet to get this to work:
My patch formula (or an example of the one I am using), is as follows:
If(SharePointForm1.Mode=New,
Concurrent(Patch('test',Defaults('test'),
{
Title:DataCardValue1.Text,
Mandatory:DataCardValue6.Selected,
MandatoryText:DataCardValue3.Text
});
ResetForm(SharePointForm1),RequestHide()
)
,
Concurrent(
Patch('test',SharePointIntegration.Selected,
{
Title:DataCardValue1.Text,
Mandatory:DataCardValue6.Selected,
MandatoryText:DataCardValue3.Text
});
ResetForm(SharePointForm1),RequestHide()
)
))
Is anyone able to advise, firstly if this is possible, and if so, what options are available to acheive what I am looking to do?
Thanks in advance
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
214 | |
205 | |
84 | |
59 | |
38 |
User | Count |
---|---|
322 | |
258 | |
125 | |
86 | |
55 |