Book a Demo

Author Topic: Document Template Corruption  (Read 3538 times)

Steve Mudford

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Document Template Corruption
« on: May 06, 2009, 01:03:53 am »
I have just upgraded from verison 7.1 (830) to 7.5.844.21 and one of my document templates has become corrupted.

When I generated a document with it initially I noticed that it was not outputing images that were embedded in the template and the Element name output was corrupted.

The images (which were gifs) were easily fixed by deleting and reinserting them.

However there seems to be a more serious issue with the corrupted element tag. If I remove and re insert it the corruption is not removed and when I looked closely I noticed that there was a single character piece of yellow highlighted text (a carriage return) that remained when I removed the tag. If I try to delete this I get an error saying that I canot delete because it contains protected text.

If I remove the package tag which contains it and reinsert it then the problem seems to be fixed but when I generate the document the output contains the template data rather than the content, for example:

"element >
1.1. {Element.Name}
{Element.Notes}
< element"





Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • ArenĀ“t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Document Template Corruption
« Reply #1 on: May 06, 2009, 01:23:06 am »
Quote
However there seems to be a more serious issue with the corrupted element tag. If I remove and re insert it the corruption is not removed and when I looked closely I noticed that there was a single character piece of yellow highlighted text (a carriage return) that remained when I removed the tag. If I try to delete this I get an error saying that I canot delete because it contains protected text.

This is easy fixable. Export the template as RTF (from the template editor, choose File->Export from the menu), then open it in your favorite Office program and change the paragraph with the SSBookmark style to something different. Save it again as RTF and then reimport the template into the EA template editor (from the template editor, choose File->Import from the menu).

This should help.

Oliver
« Last Edit: May 06, 2009, 01:24:45 am by ofels »

Steve Mudford

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Document Template Corruption
« Reply #2 on: May 06, 2009, 01:47:43 am »
Quote
This is easy fixable. Export the template as RTF (from the template editor, choose File->Export from the menu), then open it in your favorite Office program and change the paragraph with the SSBookmark style to something different. Save it again as RTF and then reimport the template into the EA template editor (from the template editor, choose File->Import from the menu).

This should help.

Oliver

Thanks for the tip, I tried it but as I have already managed to remove the spurious protected text by removing and reinserting the Package tag I could not see anything unusual that might now be causing the problem.

I had a very good look at the two Element merge fields that were not being substituted and I couldn't see anything at all wrong with them.

In fact the only thing I could see starnage about the document was that a lot of the other merge fields looked corrupted but when I checked them out they just seemed to have random fonts assigned to them.

« Last Edit: May 06, 2009, 01:54:14 am by smudford »