Forum Discussion
sabrinekalboussi
Sep 17, 2019Copper Contributor
cannot get the ID of the seleted item
Hello PowerApps Team, I am a beginner in Sharepoint and I need to use PowerApps and flows to update a word document value and to send it after that by email. More specifically, for a selected item...
- Sep 18, 2019
Sep 18, 2019
You cannot use selected item with a powerapps trigger like that. What you need to do is pass the identifier via powerapps. So for that ID in get File you use the “ask in powerapps” option in the identifier field. This way when you call the flow you can use the selected item identifier from powerapp when calling the flow.
An i understanding this is what your doing by making a button call a flow from the app right?
An i understanding this is what your doing by making a button call a flow from the app right?
- sabrinekalboussiSep 18, 2019Copper Contributor
- Sep 18, 2019
sabrinekalboussi Sorry meant to click reply not mark best answer :(.
Anyway, You should just have a flow like show. Inside powerapps when editing the form, select the button then on action tab, is flow. Create a flow, then you just need to go into the ID field and click the ask in powerapps. Then update The file properties column you need updated.
Can I ask a few questions. Why flow in this case? Are you doing something to update a column instead of just having the form itself update the data on the item you are editing? Or am I missing something here.
- sabrinekalboussiSep 19, 2019Copper Contributor
Many thanks for your help ChrisWebbTech. 🙂 I have managed to solve the issue and to run successfully my flow.
Have a nice day 🙂 Sabrine
- sabrinekalboussiSep 18, 2019Copper Contributor
Thanks for your reply ChrisWebbTech; I am still lost because It looks like I am not doing things in the good orders...I am going to explain by screenshots... In fact, when I select an item in my share point list and click on edit, I have a button "Send Letter test" (step1). When, I click on it, I need to update a word document according to the selected line (item) values and then to send it by email to Attendee. I have created a flows as follows (step 2),but I cannot get the selected item in the 3th step as you can see in the screenshot. I have got automatically apply to each 3 in GET ITEM step when I put the ID (for the selected Item) in the Id field...