I have an attachments control that has set in its item property a collection which is a Lookup to my Sharepoint site of a certain item and gets its attachments.
The problem is that i have the same method implanted in another attachments control but this is set inside a gallery that holds list items and i have a button that makes a lookup to that list and gets its items.
Until this part the functionality works, but when i click on one of the items, instead of downloading the item the next message is shown:
I checked all the information(the collection gets the items and stores: Value,Name,AbsoluteUri and id for each item) and it is stored properly in it.
This is an app image:
The Lookup works every time that i click on the attachments icon and displays its according files.
In the app the functionality to show each files for each item, as well as save and delete them ,works fine.
PD: If i create a submit form in another page and i display the information of the item, the attachemnts card that is created works and allows me to download the item.
Any help will be appreciated.
Thanks
ForAll(
ThisItem.Attachments,
{
Id: PlainText(ThisRecord.Value),
Value: ThisRecord.Value,
AbsoluteUri: ThisRecord.AbsoluteUri,
DisplayName: ThisRecord.DisplayName
}
)
// Don't display COLUMNNAME in Attachments control
Filter(
ThisItem.Attachments,
Not(Substitute(EncodeUrl(DisplayName), "%", "%2525") in ThisItem.COLUMNNAME.Full)
)
// You can filter out multiple columns by stringing them together with "&"
Filter(
ThisItem.Attachments,
Not(Substitute(EncodeUrl(DisplayName), "%", "%2525") in ThisItem.COLUMNNAME.Full&ThisItem.ANOTHERCOLUMN.Full&ThisItem.ONEMORECOLUMN.Full)
)
if possible i would really appreciate it if you could show me how you did it in that way, I have been struggling with this for the past couple of days and you will help me alot, thanks again
i used a separate gallery showing the attachments instead of the forms as a workaround
not yet, but pls if you find a solution let me know
why dont i have this option, if you could help me here:
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional