How to display/view attachment on the Widget

Annie10
Tera Contributor

Hello,

I have a widget that displays attachment recorders:

Annie10_0-1710428627870.png

 

I need your help on creating a widget that displays the attachment depending on the link the user clicked on.  Please let me know is this possible.  I have been searching on the web, but I have no luck of finding a solution. Thank you so much. 

 

2 REPLIES 2

The Machine
Kilo Sage

If its the same attachments each time and they aren't modified, you could check the Hash of each of those attachments and map them to the attached file.  

For example, if we know attachment1.pdf is for this source url https://myurl.com/something

 and has a hash of "A123456" (on sys_attachments table).  You can say if the attachment has a hash of "A123456" its this file that came from this source.

Just an idea. Hope that helps.  Good luck  🙂 

Hello @The Machine 

Thank you for the suggestion. However,, I did not quite grasp how this would work. It would be very helpful if there were screenshots I could follow along with.