
Announcements
Hello there,
my issue is i have added a attachment card where it display the files stored from my dataverse table, whenever i click on any of the files none of them gets downloaded, this is the code to patch the files to my table
ForAll(
attachDocs.Attachments,
Patch(
'IR Request Attachments',
Defaults('IR Request Attachments'),
{
'IR Request ID': LookUp(
'IR Requets',
'IR Request Id' = Form3.LastSubmit.'IR Request Id'
),
Document: {
FileName: ThisRecord.Name,
Value: ThisRecord.Value
}
}
)
);
and this is how the data is stored in my table
and this is the code that display my files
ForAll(
Filter(
'IR Request Attachments',
'IR Request ID'.'IR Request Id' = galIR.Selected.'IR Request Id'
).Document,
{
DisplayName: ThisRecord.Document.FileName,
Value: ThisRecord.Document.Value
}
)
the name appears the is when i download the file, and i have seen other posts sayn to change the property value but the option doesnt appear
if anyone can help with this i would really appreciate it
i have used a gallery to show the doc file names with a download link:
Download(https://{enviormentURL}/api/data/v9.0/{TablePluraName}/{RecordGUID/{columnLogicalName}/$value)