Book a Demo

Author Topic: RTF Option "Overwrite document fields" loses text  (Read 3051 times)

Karen

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
RTF Option "Overwrite document fields" loses text
« on: February 27, 2009, 10:58:11 pm »
I am generating RTF reports for requirements using EA 7.1.833
One of the sections in my report is a "covers" field which shows other target objects related to the requirements (typically a higher-level requirement).
The RTF template contains these tags in a table cell:
connector>target>element{Element.Alias}<element<target<connector

Part of the exported RTF file is included into a master word document using a linked "include file" with a bookmark. When I update this field in the Word document, I get the Word error "Fields are nested too deeply".

To avoid this error, I used the RTF option "Overwrite document fields". But now part of the text of the field is missing. The generated RTF contains: \lang1036\f1\protect H_EDITOR_SERVICES_NFC_018_SRS.1\lang1033\f1\protect0.
 But the actual alias value is AUTH_EDITOR_SERVICES_NFC_018_SRS.1. So it has "eaten" the "AUT".

This does not happen when the "overwrite fields" option is not used. In that case, the text is correctly included: {\field\fldlock{\*\fldinst MERGEFIELD \lang3081\f1\protect Element.Alias}{\fldrslt AUTH_EDITOR_SERVICES_NFC_030_SRS.1}}

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: RTF Option "Overwrite document fields" loses t
« Reply #1 on: March 02, 2009, 04:01:05 pm »
The first error  "Fields are nested too deeply" - is a known error in Word and does not cause any problem to viewing/printing the document.

The Overwrite Documents option is principly for use with Open Office rahter than Word. I would suggest you leave this off when using Word.