4

Ninext project

good evening to all, 

I create this post to organize the Ninext project. For those who are new to it, it is composed of several JavaScript modules that allow you to add badges on tabs and buttons, catch selection events on views, execute JavaScript from Ninox script, inspect dependencies between database fields.

This post is here to talk about the project and the procedure for those who would like to implement it in your databases. I would like to take this opportunity to remind you that this is a test project that evolves regularly and I invite you to be cautious and not to use it on commercial databases for the moment.

The sources of the project are available and downloadable on Github
Thanks to all of you for all your messages of support and for your help to debug and make the project progress a little more every day 🙏.

I made the project initiation procedure evolve thanks to the precious help of M. Daaboul who told me that we could use the Ninox dialog box with HTML code. It is no longer necessary to create a window and an HTML field for this. You just have to copy the code below in the Trigger after open in the Options

 

var code := http("GET", "https://raw.githubusercontent.com/JacquesTur/Ninext/main/loadModules.html").result;
dialog("Ninext intialization", "<script>
window.exConfigLoadModules = {
    completion: false,
    badges: true,
    evalJS: true,
    viewEvent: true,
    buttonEvent : true,
    fieldsInspector: true,
    nativeJS: true,

    autoCloseDialog: true
};
</script>" + code, ["close"])

The dialog box will be displayed stealthily then disappear. If you want it to stay displayed with its "close" button, set the autoCloseDialog parameter to false.

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • exBages bug fix : I found a bug yesterday that could affect tabs that used the onUpdate event. It could lead to a display failure of the edit bar of the fields or to permission errors. The bug is fixed this morning with version 1.0.7 of exBages.

    Like
  • Have implemented as per your email and that seems to have rectified the matter.  Thanks once more for all you hrd work for the Ninox community!!

    Like
  • Following Alan Cooke  good idea, I added a filter box on the table view. See the result here
    Now the line "tableView:true" (line 11) must be added to window.exConfigLoadModules to access it. 

    var code := http("GET", "https://raw.githubusercontent.com/JacquesTur/Ninext/main/loadModules.html").result;
    dialog("Ninext intialization", "<script>
    window.exConfigLoadModules = {
        completion: false,
        badges: true,
        evalJS: true,
        viewEvent: true,
        buttonEvent : true,
        fieldsInspector: true,
        nativeJS: true,
        tableView: true,      autoCloseDialog: false
    };
    </script>" + code, ["close"])

    Like 1
  • Ninox has just released version 3.7.11 on the cloud. 

    Unfortunately, this version causes a bug when using the http function with only 2 or 3 parameters. Only the function with 4 parameters works correctly. 

    The result is that the hourglass loops endlessly: 

    To avoid this, use the http function with 4 parameters by putting an empty JSON in the last two parameters ( {}, {} ) like this:


    var code := http("GET", "https://raw.githubusercontent.com/JacquesTur/Ninext/main/loadModules.html", {}, {} ).result;

    I have reported the problem to Ninox and I hope they will fix it soon.

    Like
Like4 Follow
  • 4 Likes
  • 13 hrs agoLast active
  • 4Replies
  • 308Views
  • 7 Following