Hi Mates,
When I try to refer to the attachment from SharePoint, then it shows the below info(Warning).
In-Shortly: we are using SQL to store MetaData, SharePoint for attachment for the corresponding record, which means referring item id and creating an item in SharePoint, Based on MetaData item Id. Everything is fine. means item attachments are displaying in the gallery.
I am able to get record attachments but it throws a warning.
Gallery Items formula
waring messages
The issue is, Is that correct or not, what if this kind of warning message formula won't work in the future?
Kindly assist me.
@rgruian @hpkeong
@micros
Solved! Go to Solution.
Hi,
I don't think so Filter returns the attachments. In your scenario, Lookup function would be right candidate.
Lookup(<Your SharePoint List>, ID=ThisItem.Id)
In your formula you are comparing Title with ThisItem.Id. I don't know what you are storing in Title so if that works for you update the Lookup condition accordingly.
Hi,
I don't think so Filter returns the attachments. In your scenario, Lookup function would be right candidate.
Lookup(<Your SharePoint List>, ID=ThisItem.Id)
In your formula you are comparing Title with ThisItem.Id. I don't know what you are storing in Title so if that works for you update the Lookup condition accordingly.
Thank you, the lookup is working fine. but still same issue
What is the Datatype for Title and ThisItem.Id ?
The title is text datatype from SharePoint
ThisItem.Id is Int datatype from SQL table
If you are sure Title(SharePoint field) will always contain an Integer you can compare like Value(Title)=ThisItem.Id
Yes, that Title needs to update with the Int number only.
Because SQL Table Item Id need to update with Title, so that record will refer the Id to the attachment.
Updated now it shows the warning "Lookup Part May fail on large data Sets"
Try this one With({txtItemId:Text(ThisItem.Id)}, Lookup(<Your SharePoint List>, Title=txtItemId).Attachments)
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 |
---|---|
278 | |
237 | |
83 | |
37 | |
36 |
User | Count |
---|---|
358 | |
240 | |
127 | |
72 | |
50 |