java script

Hello Forums,

Is there any tools to translate or convert dxl script in Java Script?

 

Regards,

 


Control17 - Thu Sep 14 05:51:13 EDT 2017

Re: java script
Mike.Scharnow - Thu Sep 14 07:01:24 EDT 2017

This would not make sense as DOORS client is not capable of understanding Javascript.

You could call existing Javascript functions from DXL using Mathias' approach: https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014806761, but that's probably not what you want.

There are possibilities to "remote control" DOORS using the COM interface. I don't know of any way to call DOORS functions from Javascript, but if you are fine with using Java for manipulating DOORS data, you can look at Sodius' MDWorkbench (search for MD Workbench and MDWorkbench in this forum for some information). Of course, you could always use Rhino, which is a javascript variant that is able to call Java classes and so use Javascript -> Rhino -> Java -> MDWorkbench -> COM -> DOORS.

 

Ist zwar ein bisschen von hinten durch die Brust ins Auge geschossen, aber niemand soll sagen, dass es nicht möglich wäre :)

Re: java script
Control17 - Thu Sep 14 08:34:43 EDT 2017

Mike.Scharnow - Thu Sep 14 07:01:24 EDT 2017

This would not make sense as DOORS client is not capable of understanding Javascript.

You could call existing Javascript functions from DXL using Mathias' approach: https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014806761, but that's probably not what you want.

There are possibilities to "remote control" DOORS using the COM interface. I don't know of any way to call DOORS functions from Javascript, but if you are fine with using Java for manipulating DOORS data, you can look at Sodius' MDWorkbench (search for MD Workbench and MDWorkbench in this forum for some information). Of course, you could always use Rhino, which is a javascript variant that is able to call Java classes and so use Javascript -> Rhino -> Java -> MDWorkbench -> COM -> DOORS.

 

Ist zwar ein bisschen von hinten durch die Brust ins Auge geschossen, aber niemand soll sagen, dass es nicht möglich wäre :)

thnak u for your reply, danke .

 

Regrds,