Page 1 of 1

Embedding external file into the final report

Posted: Wed Apr 24, 2019 2:49 pm
by husein
Hi,

Is it possible to embed an external PDF, DOCX or Excel file(s) into the report and have them available once the report is exported as PDF? I found on your web site that you mentioned that such an option would be available with 2016.2 version. I am using 2018.3.5 at the moment but cannot seem to get this to work.

Best regards,
Husein

Re: Embedding external file into the final report

Posted: Thu Apr 25, 2019 4:59 am
by Andrew
Hello,

Yes, you can use report resources. Please check the video at https://www.youtube.com/watch?v=orReVKB ... 6tRIUW6Ye7
Please use the latest version 2019.2.3.

Thank you.

Re: Embedding external file into the final report

Posted: Fri May 03, 2019 4:11 pm
by husein
Hi Andrew,

I had a look at the video but I have a different requirement. Basically I need to dynamically add files using C# code and then in the report to access these files using a hyperlink or some other mechanism. I have a questionnaire and each response has different file(s).There can be 100+ questions and answers and file(s) need to be enumerated after the answer.

I tried adding a test file to the Resources, but I cannot open the file using a hyperlink. Could you help me out with these issues please? Should I use report.Dictionary.Resources.Add() to add the files dynamically? Considering that I will know which file is added to which answer, how can I reference the file in a hyperlink?

Best regards,
Husein

Re: Embedding external file into the final report

Posted: Mon May 06, 2019 7:31 am
by Lech Kulikowski
Hello,

Unfortunately, in the JS version, it is not possible to open a file by hyperlink.

Thank you.

Re: Embedding external file into the final report

Posted: Mon May 06, 2019 1:25 pm
by husein
So, how can I access embedded files once a PDF is generated?

Re: Embedding external file into the final report

Posted: Wed May 08, 2019 9:08 am
by Lech Kulikowski
Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.

Re: Embedding external file into the final report

Posted: Wed May 08, 2019 10:42 am
by husein
Basically, the thing is like this. The application that I am building collects answers to the questions and as part of the answer there is a need for an evidence to be attached. Evidence(s) is a file or collection of files. When the report is generated with the answers provided by a user, I need to embed all the files that were attached in a questionnaire. After each answer I need to list these attached files for that answer so that a reader can click on the embedded file and open it.

Re: Embedding external file into the final report

Posted: Sat May 11, 2019 11:34 am
by Lech Kulikowski
Hello,

Unfortunately, this feature is not available.

Thank you.