cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HeadFirst
Frequent Visitor

How do I hide the existing record attachments on my Edit screen in PowerApps?

I'm editing a SharePoint list form in PowerApps.  On my Edit screen in PowerApps, I've included the field for Attachments.  The existing attachments are showing , but the user can choose to delete those existing attachments in their edit view of the SharePoint list.

 

How do I hide the existing record attachments on my Edit screen in PowerApps, but still allow users to upload attachments (aka additional attachments) while they are in their edit view of the SharePoint list?  

 

When I select the DataCardValue for this Attachments field, I see a few "Items" options, but I don't know which one to revise for hiding existing attachments..

 

I attached a screenshot.

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @HeadFirst ,

Rather than hide them, put this on the OnRemoveFile property

Reset(Self)

and they will not be able to delete any existing attachments.

 

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.

 

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @HeadFirst ,

Rather than hide them, put this on the OnRemoveFile property

Reset(Self)

and they will not be able to delete any existing attachments.

 

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.

 

HeadFirst
Frequent Visitor

That worked.  Thank you!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,099)