Hi,
I have a SP List as source, and an app with an Edit Form.
The people picker is "empty" in the form, if I enter a person it gets saved into the SP-List.
If I remove the entry it is not beeing deleted in the SP-List.
!Other fields in the same form and list gets updated, also if I delete textbox fields, content gets updated/deleted - only with that people picker it is not working!
Hope you have an advice,
Thanks,
Sonja
Solved! Go to Solution.
Hi Howley. In my example I am clearing all the fields in the form - except for the Comment field. When the user clears the record they often want to comment on why the record content was cleared. If you are clearing the entire content of the record then the _Body parameter is not needed. If you are only clearing the People Picker, then only the People Picker fields need to be represented in the Body of the request.
If indeed you need to clear the picker AND update content in other fields at the same time – then you will need reference(s) to SendanHTTPrequesttoSharePoint_Body .
You pass the fields you want to update in your Button’s flow.Run() function on the OnSelect property. In my example I would code OnSelect = myFlow.Run(ItemID,FormComment). The contents of FormComment populates the ‘SendanHTTPrequesttoSharePoint_Body’ element in the Dynamic Content dropdown (see attchment).
For each passed parameter in the Run function there will be a _Body Json param generated.
This is really ugly. Microsoft can you please share us the eta on the fix
@SonjaK wrote:Hi,
I have a SP List as source, and an app with an Edit Form.
The people picker is "empty" in the form, if I enter a person it gets saved into the SP-List.
If I remove the entry it is not beeing deleted in the SP-List.
!Other fields in the same form and list gets updated, also if I delete textbox fields, content gets updated/deleted - only with that people picker it is not working!
Hope you have an advice,
Thanks,
Sonja
Hi JWB,
I have created the flow according to your picture. But I still don't know how to run the flow in PowerApps in a right way.
What should I write for "FormComment" variable in PowerApps? see Screenshots below:
Best Regards,
Mengting
@JWB wrote:Hi Howley. In my example I am clearing all the fields in the form - except for the Comment field. When the user clears the record they often want to comment on why the record content was cleared. If you are clearing the entire content of the record then the _Body parameter is not needed. If you are only clearing the People Picker, then only the People Picker fields need to be represented in the Body of the request.
If indeed you need to clear the picker AND update content in other fields at the same time – then you will need reference(s) to SendanHTTPrequesttoSharePoint_Body .
You pass the fields you want to update in your Button’s flow.Run() function on the OnSelect property. In my example I would code OnSelect = myFlow.Run(ItemID,FormComment). The contents of FormComment populates the ‘SendanHTTPrequesttoSharePoint_Body’ element in the Dynamic Content dropdown (see attchment).
For each passed parameter in the Run function there will be a _Body Json param generated.
Hi @JWB
May I ask how you have build the PowerApp "SendAnHTTPrequesttoSharePoint_Uri" dynamic content? I want to use your solution, but cannont wrap my head around how you have build that in PowerApp in order to choose it as an dynamic content
/Frank
Denmark
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
257 | |
251 | |
84 | |
36 | |
32 |
User | Count |
---|---|
339 | |
265 | |
123 | |
72 | |
46 |