
Hihi~~
I have two data sources in Power Apps:
Contract (Dataverse table)
Contract_1 (SharePoint list, storing attachment files)
**The attachment uploaded won't save in Dataverse, but will use field: Content Type to link and store in Sharepoint.
I created a form using the Contract (Dataverse) table as the data source in Power Apps. This table has a field called Attachment.
Now I want the Attachment DataCard inside this Dataverse form to display the files stored in SharePoint (Contract_1) instead of Dataverse attachments (attachment stores in sharepoint, not dataverse).
OR
Currently, I‘m trying using a Gallery to show attachment uploaded, but it still cannot show because the SharePoint data only appears as text and I’m unable to select the actual files.
If you have any suggestions or ideas, I would really appreciate your help. Thank you so much!
You can look up the SharePoint list item using the common key shared between SharePoint and Dataverse to retrieve the relevant record.
Then, get the attachments from list item (from the attachments property) and store the attachments in a collection and use that collection as the Default property of the attachment control.