Hi,
We're working on a form & we would like to make attachment names read-only & not download-able. The user can only see a read-only form (backed by a SharePoint List) but when they click, they can download the attachment. Can this feature be disabled?
I guess if it cannot be disabled on the DataCard item, I suppose the work around could be logic to read the names of the attachments & not use an attachment data card....
Thanks
M
Solved! Go to Solution.
Hi @mschechter1 ,
A bit of a workaround, but this works:-
It will display only the names of the 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.
Hi @mschechter1 ,
A bit of a workaround, but this works:-
It will display only the names of the 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.
Hi @mschechter1 ,
Just checking if you got the result you were looking for on this thread. Happy to help further if not.
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.
hello @WarrenBelz
i am trying to do what you mention but i cannot figure out what you mean by
Hi @WarrenBelz Could I ask a question about powerapps?
Could you please kindly tell if there is any way to block attachment downloads for the Powerapps app which data input is from sharepoint list.
I have tried the following steps to set the attchments open by brower.
1. Select the Attachments data card, and unlock it.
2. Add a blank vertical gallery, cut and paste it into the Attachments data card.
3. Set the "Items" property of the gallery to "ThisItem.Attachments"
4. Click the edit icon of the gallery, then add "HTML Text".
5. Select the "HTML Text", and enter the following html in "HtmlText" property:
"<a href='" & ThisItem.AbsoluteUri & "?web=1' target='_blank'>" & ThisItem.DisplayName & "</a>"
But I still want to set it view only and the download option is not available.
HI @Tiffany-Jo ,
Where is that menu bar screenshot from (SharePoint ?). In PowerApps you can follow my original post - bear in mind that if you allow someone to open a file, they can then simply save it from the opened file.
Hi @WarrenBelz Thank you for your reply.
When share the file in the document library, we can set it Can View and Block download.
For the attachment files of a share point list, it is difficult to get the URL of the file that Can View and Block download. Is my understanding correct?
Yes - as I mentioned, if you are going to allow the user to open the file via URL, then what happens after is completely outside the control of Power Apps and the user can simply save the opened file with whatever app opens it on their device.
User | Count |
---|---|
257 | |
110 | |
97 | |
52 | |
39 |