Hi Dojo Community,
I managed it to sucessfully add and download attachments to my DOM Instance in IAS.
Now I would like to create a GQIDS for a table, showing a row for every attachment.
But as the Attachments are not on the DMA itself, want is the best way to download them?
I would be nice if it is possible with clicking a link/shape in the table component (without using extra IAS).
Hi Felix,
Nice that you got the download through IAS working!
The AttachmentsHelper (DomHelper.DomInstances.Attachments) has a method GetFileNames() which returns all file names of attachments for a DOM Instance. You could use that to populate the rows.
For the download, the attachments are in the C:\Skyline DataMiner\Documents folder, which is accessible through a LCA. You could make a button that navigates to a URL, using variables with data from the table row that is selected to create the url, that would look something like: https://HOSTNAME/documents/DOMINSTANCE_ATTACHMENTS/{MODULE_ID}/{DOM_INSTANE_ID}/{FILENAME}
I'm not sure if it will download the files immediately, I think for e.g. images, it will just open the image in a new tab.
Hope this helps you further!


Hi Wouter,
great to know their are accessable locally.
This helped me also to not create temp files when downloading via IAS.
I'll test it but I'm pretty sure it will work.
Thanks!
Small disclaimer here, we're currently working on a feature that will allow you to save DOM Instance attachments to a network share instead of the Documents folder. When you would enable this, the attachments won't be reachable through a LCA without exposing them through IAS manually