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 / Save a file as collect...
Power Apps
Unanswered

Save a file as collection and change each into JSON format

(0) ShareShare
ReportReport
Posted on by

I would like to save a file in a collection and then, want to change each collected file into JSON format. 

 

I would like to collect the file in a certain collection separately with its file attachment and its name.

Then, the collected multiple files from the collection are to be passed to a certain power automate flow. To do so, I have found out that the file needs to be in acceptable format like JSON. So before passing the files, I would like to change its format into JSON also.

 

Could you please give me some idea of this. I have provided with the formula and screenshot also.

Thank you.

 

Collect(
fileUploadCol,
{
FileName: {file:{contentBytes:Last(fileQuotation.Attachments).Name}},
FileAttachment: {file:{contentBytes:Last(fileQuotation.Attachments).Value}}
}
)

 

Thinzar_0-1719372447870.jpeg

Thinzar_1-1719372506731.png

 

 

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard