17

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.

231 replies

null
    • Ninox developper
    • Jacques_TUR
    • 4 mths ago
    • Reported - view

    Version 2.1.38 beta is now available.
    This update fixes a minor bug where a window would automatically appear with each reload of the application, even if it had been closed during the previous session. A special thanks to for reporting this issue.
    Thank you all for your feedback.

      • Ninox developper
      • Jacques_TUR
      • 4 mths ago
      • Reported - view

       How strange!? And what happens when you open the Ninext window?

      • szormpas
      • 4 mths ago
      • Reported - view

        Everything returns to normal. This behaviour only occurs the first time a table is opened!

    • Alan_Cooke
    • 4 mths ago
    • Reported - view

    I had this too - Ninext would open when clicking the wrench.  I will keep an eye on it.

      • Rafael Sanchis
      • Rafael_Sanchis
      • 4 mths ago
      • Reported - view

       

      It was solved for me

      • Alan_Cooke
      • 4 mths ago
      • Reported - view

       Me too - thanks 

    • Ninox developper
    • Jacques_TUR
    • 4 mths ago
    • Reported - view

    Hello everyone,

    I’ve just released version 2.1.39 beta of Ninext. This update fixes a display bug with Ninox version 3.13 and adds support for top bar color changes.

    Regarding the display bug: the Ninox popup window was appearing above the Ninext window.

     

    This has now been fixed, and the top bar color in Ninext will change simultaneously with Ninox.

      • SMoore
      • 4 mths ago
      • Reported - view

      your gituhb link is broken. Where can I obtain this version?

    • cyan_silver
    • 4 mths ago
    • Reported - view

    I want to know Ninext, but the path has been lost. How can I download it? Thank you.

    • Ninox developper
    • Jacques_TUR
    • 4 mths ago
    • Reported - view

    , ,
    As of version 3.8, we have aligned with Ninox’s security policy and have therefore discontinued the distribution of Ninext’s source code. However, the project continues to evolve and remains fully usable, albeit without the source code.

    To install Ninext, simply send me an email, and I will provide you with the installation procedure.

      • cyan_silver
      • 4 mths ago
      • Reported - view

       Is this the (email: info@umangenius.com) MAIL? Thank you

      • Ninox developper
      • Jacques_TUR
      • 4 mths ago
      • Reported - view

       yes or jacques.tur@....

      • Rafael Sanchis
      • Rafael_Sanchis
      • 3 mths ago
      • Reported - view

       

      Hi Jacques.

      It is posible know the script for your start popup Ninex ? 😙

      • SMoore
      • 3 mths ago
      • Reported - view

       unfortunately, the email above is bouncing. Can you share your full email? jacques.tur@.. ??

      • Ninox developper
      • Jacques_TUR
      • 3 mths ago
      • Reported - view

      The end of my email is umangenius.com. But I did receive your message on the info box and I've replied to it.

      • Ninox developper
      • Jacques_TUR
      • 3 mths ago
      • Reported - view
      • Felix_Borchers.1
      • 2 mths ago
      • Reported - view

       may I have the link too, please? I want to speed up development, and debugging is helpful :)
      werben.subwoofer_0@icloud.com

    • Icarus_Ralf_Becker
    • 3 mths ago
    • Reported - view

    maybe I'm wrong, but I thought Ninext offers a dialog with input. I would like to use it, but I'm not able to find any information. Am I wrong or could you provide me some information? Best, Ralf

      • Ninox developper
      • Jacques_TUR
      • 3 mths ago
      • Reported - view

       This is not Ninext directly, but a call to JavaScript's Prompt function via Ninext :

      function prompt(caption : text,defaultValue : text) do
          #{:text return prompt(caption, defaultValue)}#
      end;
      
      • Icarus_Ralf_Becker
      • 3 mths ago
      • Reported - view

       I Jacques, thank you for the impulse. Could you please so kind to provide  a small example, where a JS prompt ask for a string to copy it into a Ninox text field?

      • Ninox developper
      • Jacques_TUR
      • 3 mths ago
      • Reported - view

       Essayer ça dans la console de Ninox (dans une base de données ou Ninext est installé) :

      function prompt(caption : text,defaultValue : text) do
          #{:text return prompt(caption, defaultValue)}#
      end;
      
      var name := prompt( "whet is your name ? ", "nobody" );
      
      "your name is "+name;

      • Icarus_Ralf_Becker
      • 3 mths ago
      • Reported - view

       you are the best!!!

    • Icarus_Ralf_Becker
    • 3 mths ago
    • Reported - view

    Hi Jacques, is it also possible to call the JS function confirm() with a similar way? I don't get it running by try and error.

      • Ninox developper
      • Jacques_TUR
      • 3 mths ago
      • Reported - view

       You mean something like this?

      #{:boolean return window.confirm("Do you really want to leave?")}#;
      

      At the same time, this type of confirmation message can be made directly with Ninox :

      dialog("", "Do you really want to leave?", ["yes", "no"]) = "yes";
      
      • Icarus_Ralf_Becker
      • 3 mths ago
      • Reported - view

         but I would like to call confirm() by on change-Trigger, which is not possible with dialog(). My hope is to call confirm() on change is possible

      • Ninox developper
      • Jacques_TUR
      • 3 mths ago
      • Reported - view

       The OnChange trigger runs on the server side, not locally. Therefore, it’s not possible to use the Confirme or Dialog functions in this context.
      For more information on the execution contexts of functions and triggers, refer to the documentation here: Ninox execution contexts.

Content aside

  • 17 Likes
  • 4 days agoLast active
  • 231Replies
  • 5406Views
  • 38 Following