Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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

 

 

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1