Book a Demo

Author Topic: Custom Section Shows as <packagecustom>  (Read 3483 times)

EA_KDM

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Custom Section Shows as <packagecustom>
« on: March 20, 2018, 12:17:06 am »
Hi,
I'm trying to write my first custom query template fragment. When I check the custom section on my template fragment I see:
<packagecustom>
<custom

inserted. Is this correct? This section looks to be at the package level and therefore I do not see my custom query element output. I know the query works.
If I select a package to report on I see my query executing and outputting element details in the system console but my xml content is not populated in my report. If I select only an element in the package I get no output at all.

As far as I can see this <packagecustom> section is undocumented.

Could someone explain what this is or what I might be doing wrong.

Thanks for any help.



Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Custom Section Shows as <packagecustom>
« Reply #1 on: March 20, 2018, 01:12:38 am »
No, that is not correct.

the section should be simply custom>

Best try to remove all sections, and if that fails, start with a fresh template.

Geert

EA_KDM

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Custom Section Shows as <packagecustom>
« Reply #2 on: March 20, 2018, 05:52:18 am »
Thanks for replying Geert. Actually I think I might be wrong.
It seems if I select a package first and then check the custom section I get <packagecustom>. If I do not select any other section and then check the custom section I get <custom.

The former may or may not be a bug. But if this appears in the template and you have a custom field for an element it does not work.

I found no documentation about this.