Skip to main content

Notifications

Community site session details

Community site session details

Session Id : hR34AnXzFcM9o7ht9HdGGK
Power Apps - Building Power Apps
Unanswered

Restrict a particular file extension in attachment control (only want user to upload pptx files)

Like (0) ShareShare
ReportReport
Posted on 9 Feb 2023 13:35:27 by 17

Hello Community

 

I want the user to upload only .pptx files through powerapps forms, in sharepoint list attachments.

 

The method i am using is not the right one as the user is also able to upload any file which has .pptx at the end (eg. 'abc.exe.pptx').

Is there any possibility that it can identify the extension of the file through some validation as anybody can change the extension by renaming the file which will not solve the purpose of restricting a particular file extension.

vikz4_0-1675949404443.png

 

 

It should only limit the user to upload a .pptx file...can this be achieved?

 

Any help would be greatly appreciated.

Categories:
  • zmorek Profile Picture
    3,272 on 09 Feb 2023 at 14:02:23
    Re: Restrict a particular file extension in attachment control (only want user to upload pptx files)

    According to this, checking the file extension is the best way to do this validation.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,765 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started