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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Flow Saved Filed (jpg ...
Power Apps
Answered

Flow Saved Filed (jpg and png) Not Opening in Library

(0) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2

Thought I had this nailed, but no. The files aren't opening in the library, even though they show created as a .jpg and .png

Formula in button -
UploadEventDocumentsFlow.Run(Label15.Text,Subtitle2_20.Text &" - "& Subtitle2_18.Text,
{ file: {
contentBytes: First(Client_Attachments_Control_2.Attachments).Value,
name: Label15.Text & ".jpg"
}
});

Phineas_0-1703371500850.pngPhineas_1-1703371621902.png

When I try to open -

Phineas_2-1703371879428.png
And when I download and try to open -

Phineas_3-1703371938792.png

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    Are you using the new designer in Power Automate to build the flow? There have been issues when working with file content with that designer. It tries to add an additional base64() function to the content that isn't necessary. If you are using the new designer switch to the legacy designer and try again.

  • Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at

    Old version. Just went back in to check.

    Formula -

    UploadEventDocumentsFlow.Run(Label15.Text,Subtitle2_20.Text &" - "& Subtitle2_18.Text,
    { file: {
    contentBytes: First(Client_Attachments_Control_2.Attachments).Value,
    name: Label15.Text & ".jpg"
    }
    });


    Flow -

    Phineas_0-1703377314892.png

     

  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    @Phineas ,

    Responding here as you have asked this question as part of two other threads I have responded to. You appear to be defining a folder path without using Create Folder to ensure it exists.

  • Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at

    Interesting, in my original test everything (I assumed) worked fine. The folder was created, the file was created and did open.

    And when I doubled back to upload another file for the same person the (sub)-file was created in the same 'main' folder, as if flow new the folder had already been created and just added the new file.

    Is that even possible with my flow as currently constructed? 

  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    @Phineas ,

    That works with OneDrive, but I have always needed to create folders in SharePoint.

  • Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at

    But the flow created the folder, as shown, yes?

    Is it your assertion that what I want to do is not doable using Power Apps V2?

  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    @Phineas ,

    No - you just have use Create New Folder - the Flow below is one of my older Prod Items using Power Apps V1, but that part is not relevant to the folder issue

    WarrenBelz_0-1703385249838.png

     

  • Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at

    Just did a test.

    My current configuration, first run creates and names the folder and creates and places the file.

    Second run creates the the files and places it in the previously created folder. 

     

    Phineas_2-1703386565134.png

    Phineas_5-1703386805769.png

  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    @Phineas ,

    Not if you send the second new folder as the parameter in the second flow. 

  • Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at

    I don't understand.

    My flow create the first folder and added the file.

    Then it added another file to that same folder.

    I changed the individual. The flow created a new
    folder with that file.

    I picked another file, the flow added that second
    file to the second folder.

    Everything is working. My only issue is I can't open
    the files. Something in my flow/formula is not createing
    these files in a way that allows them to be opened.

    Thoughts?

    Phineas_0-1703391704028.png

    Phineas_1-1703391853940.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard