Book a Demo

Author Topic: Working Custom Script Fragment example.  (Read 3546 times)

Daniel Helfer

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Working Custom Script Fragment example.
« on: May 13, 2015, 02:03:27 am »
Hi,
I'm looking for a working example of a custom script fragment (for document generation). I don't get the example in the EA Help to work for me. :(

I can generate the correct xml output (seen in the system output window). But trying to access the fields in the custom section of the template fragment generates not output in the generated document.
[highlight]custom>[/highlight]
{DateGen}
{TimeGen}

[highlight]< custom[/highlight]

TimeGen and DateGen are defined tags in the xml output.

Can anyone help? Thanks.

Kind regards
Daniel

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Working Custom Script Fragment example.
« Reply #1 on: May 13, 2015, 02:22:13 pm »
Daniel,

Have you tried following the learning centre example?
That is how I got my first script fragment to work.

Geert

Daniel Helfer

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Working Custom Script Fragment example.
« Reply #2 on: May 13, 2015, 05:41:28 pm »
Hi Geert,

Thanks for the reply. I found out what went wrong.
(Reading all the details always helps.)

Daniel