Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

JSON for Attachment column

(0) ShareShare
ReportReport
Posted on by

I am trying to export the data (filtered/default) from my Gallery. I tried the JSON function in the formula bar, but it says the "Attachment" column has some media and my JSON cannot convert my Attachment column into Text fields

yash_bansode_0-1706173961742.png

yash_bansode_1-1706174131385.png

I have tried the JSON Function of ignoring unsupported types and including/excluding binary data. Please help as to how can I export my gallery data into an excel.

I have a power automate flow saying "PowerAppExportToExcel". 

In the flow, I am confused what to choose in the Inputs of the second step of "Compose"

yash_bansode_2-1706174255310.png

@powerapps @PowerAutomate @microsoft 



  • v-yueyun-msft Profile Picture
    on at
    Re: JSON for Attachment column

    Hi , @yash_bansode 

    The JSON function doesn't support all data types, and attachments is one of them (IncludeBinaryData deals with images). You can ignore the '{Attachments}' column in your collection using the IgnoreUnsupportedTypes option:

    'PowerApp->Compose'.Run(
     JSON(
     MarketKVOA,
     JSONFormat.IncludeBinaryData & JSONFormat.IgnoreUnsupportedTypes))

    Or you can Use the DropColumns() function to remove the unsupported columns first before you use the JSON() function.

    And for the details steps for export the Gallery items in Power Apps using flow , you can refer to this video:
    Canvas App: Export Gallery data to CSV file using Flow (youtube.com)

     

    Best Regards,

    Yueyun Zhang

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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 89 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 72 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

Overall leaderboard