commons.js location

Post here questions and problems related to oXygen frameworks/document types.
steve.cuzner
Posts: 64

commons.js location

Mon Aug 08, 2016 11:01 pm

at https://www.oxygenxml.com/doc/versions/ ... commons.js there is a note that says:

If you have a script called commons.js in the framework directory, you can call functions defined inside it from your custom script content so that you can use that external script file as a library of functions.


Where exactly in the framework directory should it go?
steve.cuzner
Posts: 64

Re: commons.js location

Tue Aug 09, 2016 4:03 pm

More specifically, does it have to be in the root of the framework folder or does it simply need to be in a folder on the classpath?
alex_jitianu
Posts: 601

Re: commons.js location

Tue Aug 09, 2016 4:24 pm

Hi,

It has to be in the root of the framework folder. That's the only place where we will look for it. I understand your predicament as for other settings we recommend to add the folder inside classpath so I will update the documentation to make this clear.

Best regards,
Alex

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 0 guests