Page 1 of 1

Can I make a selection from the attachments?

Posted: 23 Apr 2013, 15:42
by sast
Is it possible that I can make a selection from the attachments of a test? It is necessary that they are placed on different locations in the report with use of the Report Generator.

Re: Can I make a selection from the attachments?

Posted: 23 Apr 2013, 15:47
by sast
It is indeed possible to select a specific attachment for your Report. Normally this is done with use of the following keywords;

||Attachment 1 Contents||
||Attachment 2 Contents||

Where "ATTACHMENT 1" is the number of the attachment. The Report Generator will then insert all the attachments of 1 on the keyword location at once.

However it is also possible to include a photo or any other file that is attached to an external test results test into the report.
The report generator code that should be used:

||ATTACHMENT PHOTO.JPG CONTENTS||

Where "PHOTO.JPG" is the name of the attachment. It will select the specific attachment for insertion.

Additionally, this information is explained in the manual: http://data.dare.nl/wiki/index.php/Micr ... tor_editor under 'Inclusion of other files'.

Re: Can I make a selection from the attachments?

Posted: 28 Sep 2016, 11:22
by fvanhee
Hello,

Somehow I don't manage to get a picture imported from attachments into the report through the report generator.
I added a picture called ce_lisn.jpg in attachments. In the report I added the keywords ||InsertFile(<ATTACHMENT ce_lisn.JPG CONTENTS>)||. Firstly, I get the remark "Found New Code..." with the request which test I want to use for the keyword "" that is available in the template. As this doesn't consider a test specific template in my opinion, this is an unjustified remark. Continuing by skipping this or selecting a test doesn't however insert the desired picture.

Other variations I tried (also to import directly from harddisk):
|| ATTACHMENT ce_lisn.JPG||
||ATTACHMENT ce_lisn.JPG CONTENTS||
||InsertFile(<ce_lisn.JPG>)||
||InsertFile(ce_lisn.JPG)||
||InsertFile(<fullpathtopicture\ce_lisn.JPG>)||
||InsertFile(<fullpathtopicture\ce_lisn.JPG CONTENTS>)||
||InsertFile(<ATTACHMENT fullpathtopicture\ce_lisn.JPG CONTENTS>)||
||InsertFile(ATTACHMENT ce_lisn.JPG CONTENTS)||
||InsertFile(<ATTACHMENT ce_lisn.JPG>)|

none of which seemed to do the trick.

Best regards,
Filip

Re: Can I make a selection from the attachments?

Posted: 29 Nov 2017, 15:52
by mahe
Attachments that are attached to the EUT document can be exported by the code:
||EUT|ATTACHMENT ce_lisn.JPG CONTENTS||

In RadiMation 2017.1.6 I have also tested the following code:
||InsertFile(ce_lisn.JPG)||
This report generator code also seem to work for EUT attachments. Yet this does unnecessarily asks to select a test.

The RadiMation manual is also updated
http://data.dare.nl/wiki/index.php/Chap ... ther_files