you have to install the "ScriptDispatch.oxt" with "--shared" option, for example:
unopkg add ScriptDispatch.oxt --shared --verbose
cause the command button url contains the location "share":
vnd.sun.star.script:ScriptDispatch.org.test.java.ScriptDispatch.execute?language=Java&location=share:uno_packages/ScriptDispatch.oxt"
you have to install the "ScriptDispatch .oxt" with "--shared" option, for example:
unopkg add ScriptDispatch.oxt --shared --verbose
cause the command button url contains the location "share":
vnd.sun. star.script: ScriptDispatch. org.test. java.ScriptDisp atch.execute? language= Java&location= share:uno_ packages/ ScriptDispatch. oxt"