Hi,
I have an application with two screens. The first screen shows a gallery of items retrieved from a SharePoint list.
The second screen shows details of the selected item in the first screen.
In the first screen, I can access the attached files for the row just fine (accessing First(ThisItem.Attachments).AbsoluteURI works just fine for example.
Now when I navigate to the second screen like so:
Solved! Go to Solution.
Hi @Paul_Cbl ,
Yes, the Attachment field can't be saved in Variable or Collection, please reference it directly from the SharePoint list. The solution is save the selected item ID to the variable, and use LookUp function to retrieve the record.attachments field based on the ID.
Navigate(ItemDetails; ScreenTransition.Cover; {selectedItemID: ThisItem.ID});;
First(LookUp('SP list', ID=selectedItemID).Attachments).DisplayName
Hope this helps.
Sik
Hi @Paul_Cbl ,
Yes, the Attachment field can't be saved in Variable or Collection, please reference it directly from the SharePoint list. The solution is save the selected item ID to the variable, and use LookUp function to retrieve the record.attachments field based on the ID.
Navigate(ItemDetails; ScreenTransition.Cover; {selectedItemID: ThisItem.ID});;
First(LookUp('SP list', ID=selectedItemID).Attachments).DisplayName
Hope this helps.
Sik
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
263 | |
252 | |
85 | |
37 | |
33 |
User | Count |
---|---|
342 | |
264 | |
129 | |
68 | |
46 |