Can I make a selection from the attachments?

FAQ regarding the Report Generator
Post Reply
User avatar
sast
Posts: 168
Joined: 05 Sep 2012, 15:39
Contact:

Can I make a selection from the attachments?

Post 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.
User avatar
sast
Posts: 168
Joined: 05 Sep 2012, 15:39
Contact:

Re: Can I make a selection from the attachments?

Post 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'.
fvanhee
Posts: 13
Joined: 04 Feb 2015, 18:24

Re: Can I make a selection from the attachments?

Post 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
mahe
Posts: 18
Joined: 17 May 2016, 12:06

Re: Can I make a selection from the attachments?

Post 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
Post Reply