How to import the JS library and context in PHP file ?

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • How to import the JS library and context in PHP file ?

    Hello !
    I'm using a PHP file that I call with JS in a macro but I can't have access to any JS library as Jedox or Ext, I don't have access to the widget POV too. How can I get one o those things ?

    best regard
    Hello everyone if you are stuck and you can't post anything on this forum just contact info@jedox.com and request for account activation ! You're welcome !
  • For widget POV when the php file is on /pr/custom:
    require("../../../base/jedox.php"); require("../../../etc/config.php");
    Ext.js library when the php file is on /pr/custom:

    <script src="../../ui/common/base/util/nodejs.js"></script>
    <script src="../../ui/lib/ext/build/ext.js"></script>
    <script src="../../ui/lib/ext/build/ext-all.js"></script>
    <script src="../../ui/lib/ext/build/config.js"></script>

    I don't know yet for the jedox library is pretty hard to find something
    Hello everyone if you are stuck and you can't post anything on this forum just contact info@jedox.com and request for account activation ! You're welcome !