Book a Demo

Author Topic: Attaching file in RTF template  (Read 3720 times)

sunaps

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Attaching file in RTF template
« on: August 26, 2009, 06:38:02 am »
Hi,

My ultimate goal is to have a file added as attachment when i generate an RTF document for package. People should be able to click on attachment and view the attached file. I tried using the file option under element. However, it only lets me display the file as link. Is there any other way of doing this?

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Attaching file in RTF template
« Reply #1 on: September 01, 2009, 07:13:46 pm »
Go to Microsoft Word, and select "Insert | Object..." --> "From file" and insert the file selecting "show as icon" option.

Copy the object.

In EA, create a Linked Document for the desired element and paste the object created in word.

Save the linked document.

Generate the documentation of the package, using a template with the section "Model Document" selected in order to render the linked documents of the elements.

Does it help?
« Last Edit: September 01, 2009, 07:15:18 pm by Deiser »

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Attaching file in RTF template
« Reply #2 on: September 02, 2009, 04:18:23 pm »
In recent versions of EA the Element::File section has the Hyperlink field:
File>
{ElemFile.Hyperlink}
<File
I suggest you check this option.