Book a Demo

Author Topic: Document generator using vbscript and custom script  (Read 4500 times)

gihad.baroudi

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Document generator using vbscript and custom script
« on: June 09, 2016, 02:38:55 am »
Hi all,

I need some help.

I have to generate documentation for a package (i'simplify)

I have a template T witch use a fragment F.
this fragment is a custom script fragment : it use a vb script to open an xml file and get some fields in report.


when i manually use my template T to generate documentation for a package, it woks well, i have my template fields and my fragments fields.

But when i use (another) VB script that create a new document generator, and in that script use the template T, i only have my template fields and not my fragment fields.

very hard to me to understand why ?


the template used in vbscript cannot launch the template wich uses custom script

some ideas ?




And even when i directly use my custom script template in my document generator VB script, it doen't succed to launch the script that return the xml file, and us its fields.





thanks alot for your help.

All best






 
« Last Edit: June 09, 2016, 03:00:05 am by gihad.baroudi »

gihad.baroudi

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Document generator using vbscript and custom script
« Reply #1 on: June 11, 2016, 04:08:19 am »
I have make more tests .

i have a template containing a  'normal' fragment (with some sections),  a custom_sql_fragment  and a custom_script_fragment

When i generation documentation 'manually' each part is documented : template + cusstom_sql_fragment  + custom_script_fragment

But when i use the DocumentGeneration Class in a script to generate all my document , i only have template + custom_sql_fragment , the custom_script_fragment
 doesn't launch  .



Some ideas to make it work ? i need to use a script (DocumentGeneration Class)  that generate complete documentation by using a template in wich i have a custom_sql_fragment  and a custom_script_fragment.

Thanks for your help

Best regards
« Last Edit: June 11, 2016, 04:09:53 am by gihad.baroudi »