Hi everyone,
This flow should start a download from the Power apps app, but what it does is it directly opens the Excel document. Also, when the file is opened, it takes several seconds for the inserted rows to appear. Why could this be? Any ideas on how to fix it? Thanks for the help:
Set(
VarpopupDescarga;
true
);;
Clear(DatosRegistro);;
ForAll(
Galeria_incidencias.AllItems;
Collect(
DatosRegistro;
{
Estado: Label_Estado.Text;
Proceso: Label_Proceso.Text;
Usuario: Label_Usuario.Text;
Fecha_Inicio: Label_Fecha_Inicio.Text;
Fecha_Fin: Label_Fecha_Fin.Text
}
)
);;
UpdateContext({JSONExcel: JSON(DatosRegistro)});;
Set(
_url;
GenerarExcel.Run(
JSON(
DatosRegistro;
JSONFormat.IgnoreUnsupportedTypes & JSONFormat.IgnoreBinaryData
)
).url
);;
Launch(_url);;
Set(
VarpopupDescarga;
false
);;