Dear All,
I try to create an automate to upload data from powerapps to sharepoint. When i run manually, it is successful. But i run in powerapps , it is fail. i see the error " Unable to process template language expressions in action 'Create_file' inputs at line '0' and column '0': 'The template language expression 'triggerBody()['file']['Name']' cannot be evaluated because property 'file' cannot be selected. Please see https://aka.ms/logicexpressions for usage details.'.". Can you please help to resolve it ? Thanks you so much.
Hi V-Chengfen-msft,
Thank for your support, the test run have created file success on my sharepoint , then i add this flow to powerapps, but i see the new issue.
"Access denied.
clientRequestId: 2ccc0aa0-df44-44f0-9d35-07b3a135df7d
serviceRequestId: 2ccc0aa0-df44-44f0-9d35-07b3a135df7"
I checked connection in flow, it is normal.
Hi @ITSYS ,
I found two video explanations, detailed video explanations should help you more
Here are some links for your reference:
https://www.youtube.com/watch?v=5XsWgVnR7SU
https://www.youtube.com/watch?v=UYK7yruBHDM
If this post helps, then please consider Accept it as the solution to help the other members find it.
Best Regards
Cheng Feng
Hi @ITSYS ,
I found two video explanations, detailed video explanations should help you more
Here are some links for your reference:
https://www.youtube.com/watch?v=5XsWgVnR7SU
https://www.youtube.com/watch?v=UYK7yruBHDM
If this post helps, then please consider Accept it as the solution to help the other members find it.
Best Regards
Cheng Feng
Hi v-chengfen-msft,
The flow run successful with test. but it's failed in powerapps.
Hi @ITSYS ,
Here is a test for your reference:
Note (remember to include the suffix in the file name, otherwise the file content cannot be recognized)
Here is result:
If this post helps, then please consider Accept it as the solution to help the other members find it.
Best Regards
Cheng Feng
Hi v-chengfen-msft,
As you say, user must input name of files which will be uploaded from powerapps. I try adding Textinput to get Filename but it still same.
HI @ITSYS ,
The reason for this problem is:
You get the content of the file, not the filename,
You can't get filename with formula
Please try to add a Text input to get the filename from power apps
If this post helps, then please consider Accept it as the solution to help the other members find it.
Best Regards
Cheng Feng