Book a Demo

Author Topic: rich text in report not displayed correctly  (Read 2936 times)

ea_user

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
rich text in report not displayed correctly
« on: August 15, 2018, 04:27:19 pm »
Hi All,

Has anyone dealt with this?
The 'Note' field of elements which has rich text are appearing in the report along with the tags like <li> or <ul>. Any setting to remove them from the report?

Thanks





Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: rich text in report not displayed correctly
« Reply #1 on: August 16, 2018, 04:56:45 pm »
If you use regular templates (using insert field -> Notes) that shouldn't happen.

If you use an SQL or script fragment then you have to do something special for EA to recognize the field as "rich text".

In a script fragment you need to add an attribute to the xml element, in an SQL fragment you need to add .formatted to the name of the result field.

This is explained in the manual in more detail.

Geert

ea_user

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: rich text in report not displayed correctly
« Reply #2 on: August 17, 2018, 08:45:42 am »
If you use regular templates (using insert field -> Notes) that shouldn't happen.

If you use an SQL or script fragment then you have to do something special for EA to recognize the field as "rich text".

In a script fragment you need to add an attribute to the xml element, in an SQL fragment you need to add .formatted to the name of the result field.

This is explained in the manual in more detail.

Geert

Thanks Geert. Appreciate your help!