Hello.
I have a Sharepoint Form that has attachements allowed.
I would like to post html url links in a gallery after the Form is submitted and am trying to build the URL.
In my Attachment Control, the onAddFile property I do a collect:
Collect(AttachmentFileName, {AttchName: DataCardValue2.Attachments.Name})On the Onsuccess Control of the Form I add the code:
UpdateContext({var_AttachmentLinks: Concat(AttachmentFileName,"https://ecklerelectric.sharepoint.com/sites/Service/Lists/List_ServiceSupplyTickets/Attachments/"&Form1.LastSubmit.ID&"/"&AttchName.NamI'm getting killed on the AttchName_Name.
I see my AttachmentFileName collection isn't looking right, like there is a table within a table? But when I dig down a level I find the file name of the attachment.
Am I making sense and if so, does anyone have a suggestion? I've spent a solid two days trying to figure this out before asking for help.
Thanks