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 / 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

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