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 / Restrict file type in ...
Power Apps
Unanswered

Restrict file type in file Upload window

(0) ShareShare
ReportReport
Posted on by 603

I have a powerapp new form with SharePoint as the datasource. In the newform, documents which user uploads in attachment control gets stored in document library.

 

The attachment field only allows ppt/doc file types. I have added a validation for the same in attachment control.

 

I also need to restrict the same in Upload Document screen, where user cant even upload other file types. May i know how to achieve this? Screenshot included below. Instead of All Files, it should only show PPT or docx

 

Iantaylor2050_0-1696157883232.png

 

 

Categories:
  • AhmedSalih Profile Picture
    6,680 Moderator on at

    Hello, @Iantaylor2050, there is no OOB control you can use to achieve this. If you are using the attachment control to attach the files, you can use the Find function to look for the file extension that you want to allow and based on that you can disable or enable the save button. 

     


    If my reply helped you, please give a 👍 If it solved your issue, please give a 👍 & accept it as the Solution to help other community members find it more.

    Visit my Blog: ahmedsalih.blog

    Visit my YouTube Channel: https://www.youtube.com/@powerplatformplace/videos

    Microsoft Business Application MVP 

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @Iantaylor2050 , @AhmedSalih is correct. There is no such OOB feature. Please check this: https://powerusers.microsoft.com/t5/Building-Power-Apps/Allow-only-some-file-types-as-attachments/td-p/469316

    https://www.youtube.com/watch?v=Ef2wUeIO6A8

     

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.

    Thanks,
    ANB

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard