Book a Demo

Author Topic: Neaten report output by adding bookmarks  (Read 3320 times)

stevesavage

  • EA User
  • **
  • Posts: 119
  • Karma: +4/-0
    • View Profile
Neaten report output by adding bookmarks
« on: December 05, 2014, 05:08:21 am »
On: http://www.sparxsystems.com/products/ea/11/beta/index.html#reporting

There is:
  • Define a Template Fragment that calls a different fragment based on element type
  • Neaten report output by adding bookmarks to support conditional output
  • Define a header to be generated for the first item only
  • Define a list separator to be generated for items other than the first
  • Conditionally write text around any field only if it is non-empty
  • See system reports for examples

For the last line "See system reports for examples" could you be a bit more specific?  The only way for me to see bookmarks in these examples is to copy the template documents  one at at a time to see if it "might" be the one you are talking about (can't view bookmarks on the originals)

I have this working for:

  • {Element.Notes.Start} {Element.Notes} {Element.Notes.End}, and
  • {Element.valueOf(aTaggedValue).Start} {Element.valueOf(aTaggedValue)} {Element.valueOf(aTaggedValue).End}

I haven't figured out how to do this for custom fields yet.  
I did find the info on:

custom>{CustomSQL_TITLE_Begin}Label: {CustomSQL_TITLE_End}{CustomSQL_LIST_Begin}, {CustomSQL_LIST_End}{FieldName}<custom

I'd like to change my output depending on {FieldName} being null or providing a value.  

{CustomSQL.FieldName.Start} {FieldName} {CustomSQL.FieldName.End} does not seem to work.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Neaten report output by adding bookmarks
« Reply #1 on: December 08, 2014, 09:16:08 am »
I don't think it works for custom fields. It may have been done for v12, but I'm not 100% sure.