Does anyone have a JScript example of the eaDocX scripting feature?
I started looking at this today, in particular the Table_with_Styles vbscript example.
I know enough JScript to do scripting in Sparx, but I don’t know anything about vbscript, and it is not obvious to me how to translate some of this.
For example, the vbscript mentions 4 arguments to the script, but I do not see any declaration of the arguments in the function signature, and I am not sure if this is normal for vbscript or that the “arguments” are really some kind of global like the Sparx object “Repository”.
Also it is not clear to me in the vbscript how the value is returned. It ends with the odd statement of assigning the return string value to the function name.
I think if I could understand how to create the right format/signature for the entry, and how to return the result, I can figure out the middle bits of creating the html.
If anyone has a JScript example it would be appreciated.
If I get this working I will post my sample for others.
Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.