13

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.

162 replies

null
    • Jacques_TUR
    • 1 mth ago
    • Reported - view

    I am really sorry 😔.

    Several of you are having issues with the copy/paste function not working in certain configurations, or not working at all. I had tested it on Chrome, Safari, and Firefox on Mac, and on Chrome and Firefox on PC, and everything was working fine 🤔.
    Following your messages, I looked into what could be causing the issue and found some flaws that might work for certain browser configurations but not for others. I hope this is the root of the problem because, unfortunately, I have not been able to reproduce the issue so far.

    I have just released version 2.1.27 beta and hope that this will fix your problems.

      • Jacques_TUR
      • 1 mth ago
      • Reported - view

      Good catch  that's exactly the problem 👍.

    • Fred
    • 1 mth ago
    • Reported - view

    Hi -

    What is the code without looking for a local table, that we put in the Trigger after open? I'm trying to create a test DB you can access.

      • Jacques_TUR
      • 1 mth ago
      • Reported - view

        

      var res := http("GET", "https://www.ninext.fr/_functions/ninext").result.code;
      dialog("Ninext initialization", html("<script ninext=''>
      " +
      res +
      "
      ninext.start({
          badges: true,
          viewEvent: true,
          buttonEvent : true,
          fieldsInspector: true,
             nativeJS: true,
          tableView: true,
          debugTracer : true,
          languages : false,
          errorsViewer : true,
           codeFinder : true,
          autoCloseDialog:  false })
      </script>"), ["close"])
      
    • Jacques_TUR
    • 1 mth ago
    • Reported - view

    Many thanks to for sharing his application with me 🙏.
    I was able to reproduce the issue. It was the case where a form was displayed directly, without going through a table.
    I have just released version 2.1.28 beta, which fixes this.

      • Fred
      • 1 mth ago
      • Reported - view

      We all wish other software developers were as responsive. Thanks, Jacques, for making Ninext an indispensable toolkit.

    • Icarus_Ralf_Becker
    • 3 wk ago
    • Reported - view

    Good morning Jacques, I would like to ask you if it is possible to make the copy&paste feature for elements also available in the table settings section:

    Now copy&paste is just possible for visible elements, but often a lot of fields are hidden. Hidden objects could be copied & pasted from this view very fast and you don't need to change the visibility scripts to duplicate them. Thank you in advanced for checking this.

      • Jacques_TUR
      • 3 wk ago
      • Reported - view

       It's a very good idea. I'll see how I could do that.

    • Icarus_Ralf_Becker
    • 2 wk ago
    • Reported - view

    Hey , i recently found a Bug. If Ninext is running, all the tabs in pages are not visible. Can you check that please? Best,

      • Jacques_TUR
      • 2 wk ago
      • Reported - view

       thank you 🙏 .
      Indeed I discovered that this week. I have just fixed the issue and uploaded version 2.1.29.
      This version also fixes a problem when using the callNinoxFunction to run a global Ninox function.

      • Icarus_Ralf_Becker
      • 2 wk ago
      • Reported - view

       Good morning, I see it, but all the tabs are right align and not left align, so you just see 2 tabs and the rest is out of the viewport. 

    • Jacques_TUR
    • 2 wk ago
    • Reported - view

    Sorry Icarus - Ralf Becker , I got the wrong bug 😅. Actually, there were several.
    I just released version 2.1.30 which, along with version 2.1.29, fixes the following bugs:

    • The use of callNinoxFunction does not work with Ninox's global functions,
    • The red key button for quick access to the code in the Ninext popup does not work with pages,
    • The tabs of the pages do not display,
    • When starting an application, if the form (or page) is displayed before Ninext has finished loading, the onUpdate event in the tabs is not called. You have to close and reopen the form for it to start working normally.

    Pages in Ninox are not managed the same way as forms. Therefore, I have to adapt my code for two different operations, and this has let some bugs slip through. If you find any others, please don't hesitate to let me know. Until then, have fun.

      • Jacques_TUR
      • 5 days ago
      • Reported - view

       Since version 3.10.8 of Ninox, calls to JavaScript with Native JS ( #{...}# ) no longer work. I have released a version 2.1.31 to fix this.

Content aside

  • 13 Likes
  • 5 days agoLast active
  • 162Replies
  • 3580Views
  • 31 Following