15

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.

178 replies

null
    • Ninox developper
    • Jacques_TUR
    • 2 wk ago
    • Reported - view

    Following the remark from , I quickly fixed the bug that prevented the proper functioning of the OnClick event in the view fields. I also found other potential errors in the OnUpdate event for buttons. I favored a quick update to avoid leaving users in trouble. This means that there may still be bugs. If that's the case, please let me know.

    Version 2.1.35 beta is now online.

    I would like to remind you that Ninext remains an experimental project and that Ninox can modify the core of its code in such a way that it no longer functions. We can hope that the maintenance tools continue to work. Regarding interface modifications such as badges, OnClick and OnUpdate events, as well as the execution of JavaScript via NativeJS, there is a good chance that they may not function in the near future. Therefore, I encourage you to use them only on non-commercial projects, or have a plan B in case of failure.
    Ninox takes care to submit their beta versions of updates to me before they are released. Thus, I will be notified in advance if this happens. Although we can see today that, regarding the OnClick event, I did not anticipate the bug 😅.

    • Alan_Cooke
    • 2 wk ago
    • Reported - view

    Is there a sample database that uses the onClick event.  Better yet one that uses all the Ninext features?

      • Ninox developper
      • Jacques_TUR
      • 2 wk ago
      • Reported - view

       Yes, here's an example application. The OnClick example is in ViewEvent => List of customers => formula
       

Content aside

  • 15 Likes
  • 2 wk agoLast active
  • 178Replies
  • 4347Views
  • 34 Following