It's all about the answers!

Ask a question

RPE: how to include a document (file doc, excel, ppm, ecc...) as an object


Alberto Teodoro (6631734) | asked Oct 07 '13, 12:08 p.m.

Hi,

I'm using RPE 1.1.2.2.

I need to include attached files in the Word document produced from RRC (4.0.2) data extraction.

I used the RPE "Include file" option, but it works only with doc or docx file: this feature does not produce the attachment that I would like to obtain, because it "appends" the word file data, instead to insert the file as an object.

I would like to have a document production by RPE like in the picture:

include file as an object in MS Word

So, I'm not able to insert other types of files (i.e. excel or ppm), because RPE can't interpretate them and so it's not able to append them to the Word document produced.

How I have to set the correct property values for the "Include file" insert option?

My best regards

Alberto

2 answers



permanent link
Abish Mathew Zachariah (252211) | answered Oct 08 '13, 12:03 a.m.

Hi Alberto

You may want to use the “Field” element in RPE and use a Link field  code (in ‘Properties > Formating > Specific > field code’) to insert this file as an OLE object.
Sample field code can be obtained from Word using the menu option “Insert > Field > Link”

Let me know if this helps.

Best Regards
Abish M Zachariah


Comments
Alberto Teodoro commented Oct 23 '13, 12:16 p.m.

Hi Abish,

really many thanks for the answer.

I'm sorry I've not found the way until now to report the results.

I tried as you adviced me but I have 2 main issues now:

1) I was not able to show the Icon representing the OLE object inserted: I have a large preview of the first page of the included file and not a clickable Icon to open the embedded document.

2) using the Field feature I can't insert a file stored as artifact in RRC; using the 'Include file" feature instead, I'm able to recall a file stored as a RRC Artifact, even if it is in append mode to my generated document.

My best regards and many thanks.

Alberto


permanent link
Evgeniya Nikitina (1569) | answered Dec 04 '13, 7:36 a.m.
Hi!
We are using IBM RRC 4.0.3 with RPE 1.1.2.2 document template running from within RRC.
How can I publish report from RRC with the contents of the document Word, uploaded in the RRC as an artifact format File (attachment), using RPE.
Can I use RPE unit blocks - "include file" or "field" (example, incudetext), how?
I have different information about the artifact-attachment:
Artifact name;
URI;
link to open the file (wrappedResourceURI). Example: https://server:port/rm/wrappedResources/_6EwuMVzLEeOmBIPhoL649g?accept=none;
other...
Thanks!

Your answer


Register or to post your answer.