Hi,
Since desktop client is no longer available, I wanted to know if there is any way to execute (as in launch manually) a docbasic procedure through any menu available in Webtop.
..Ashwini
What does your docbasic procedure do? You might be able to encapsulate the docbasic script as server method and then in your webtop action, call the server method.
No - it's not provided OOTB. It may be possible but it would be an ugly hack. The docbasic code would have to be executed on the app server so you'd need to somehow get the code server side then invoke the dmbasic executable via native call then present the results via your component. Like I said - ugly.
I looked into getting docbasic script like functionality in Webtop a while ago. The best solution that I could come up with was developing a component that executed the text content of a dm_document as a script using a JVM-based scripti engine (e.g. Jython, Groovy, etc). The result was definitely not docbasic though - more like a dynamic DFC script. It worked though.
Regards
So basically there is nothing OOTB to run a procedure through webtop right?
I would have to create a custom menu and then call the server method..am I correct?
yeah..that looks pretty complicated. I guess I would be okay with the approach of creating a server method and then creating a custom menu to execute the server method.
Thanks for the response
Maybe that would also be a good opportunity to get rid of the Docbasic stuff all together and do it through a Webtop component or a SBO (which would still require a new component to launch it). The advantage of the SBO would obviously be that if you have different clients, they can all access it...