Book a Demo

Author Topic: Invoke EA vbscript via Java automation interface ?  (Read 3901 times)

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Invoke EA vbscript via Java automation interface ?
« on: January 16, 2014, 01:50:49 am »
Hi,

As you may know the Java automation interface is missing some capability. As a workaround - is it possible to invoke a vbscript defined within Sparx via the Java version of the automation interface ?

I have for example written a vbscript in sparx that uses the DocumentGenerator to produce some complex custom reports. Within sparx the user just runs the script against a selected package to generate the report. We have a Java web app, that currently calls the Project.RunReport command for our simple reports. The Java API doesn't contain the Repository.CreateDocumentGenerator so i cant replicate the complex report generation within the Web App. Hence request above.


Regards,

Jon.
« Last Edit: January 16, 2014, 09:26:54 pm by openit »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Invoke EA vbscript via Java automation interfa
« Reply #1 on: January 16, 2014, 02:01:16 am »
IIRC it is not possible (though I may be completely wrong here). There was some post from one of the Sparx supporters. The search nowadays works faster so you should have a chance to find it. (Don't blame me if you don't.)

q.