Variable path to file with two attachments

Hello! I create one entity 'File' and attach two different attachments to this file. One file is saved in the Data/Files/00 directory, the other file is saved in another directory. I create two forms; both displaying a list of 'File' entities in a data grid. In form 1, I want to be able to select a 'File' and download attachment number 1. In form 2, I want to be able to select the same 'File' and download attachment number 2. Therefore, I am looking for a way to specify the path to these attachments PER form. Is this possible? If not, what would you advice me to do? Thank you! Koen van Aken
1 answers

So your File entity has associations with System.FileDocument? You could just make 2 associations to it and then use another association for each form.