Hi Anna I'm going to detail look I have the following sharepoint page where in it I detailThe 3 Steps to Load Data into a SharePoint List.
Step 1 Download an excel file where the information to be loaded into the sharepoint will be loaded.(Image attached).
Step 2 An embedded power apps where this app contains a delete sharepoint list button this I did with power automate formula .run (I did it this way because my company's policies prevent me from placing a button to make an http call). (Image attached).(Let me know if you'd like me to pass the flows in power automate to you).
The code of the button Step 2 in power apps: BorrarDatosCargadosdeInventario.Run()
Step 3 An embedded power apps where this app contains a button to upload an excel file what it does is that each line of the file sends it to the sharepoint list. (Image attached) (Let me know if you'd like me to pass the flows to you)
The code of the button Step 3 in power apps:
Set(
varFlow;
MigratetoSharepoint.Run(
{
name: Last(DataCardValue3.Attachments).Name;
contentBytes: Last(DataCardValue3.Attachments).Value
};
Last(DataCardValue3.Attachments).Name
)
)
The problem is that when I enter the sharepoint page I press the button from step 2 and your flow runs but the button from step 3 when I press it does not run the power automate flow. Then I tried to enter power apps and run the application from there for step 3 when loading the file and pressing the button the power automate fujo does not run either. What works for me is to go into power automate and from there I go into the flow, load the file and test the flow and it runs.
Do you know why this reason is?