web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The flow does not gene...
Power Apps
Unanswered

The flow does not generate a download of the file

(0) ShareShare
ReportReport
Posted on by 49

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
);;
Captura.PNG
Categories:
  • Shaheer Ahmad Profile Picture
    2,194 Moderator on at

    Does your code launch SharePoint or returns error?

  • EvaSantos Profile Picture
    49 on at

    No hay errores disponibles. Me las arreglé para insertar todos los registros agregando un retraso al flujo. La opción de enviar el archivo funciona. Pero me gustaría que cada usuario pudiera tener su descarga, ya que los datos provienen de una galería filtrada por el usuario.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard