
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.
-
The Sean's darkMode module is now include on Ninext
. See here
-
Please read this message about the Ninext shutdown : https://forum.ninox.com/t/m1h0b4d/ninext-important-information
-
The Ninext project continues !
It is largely thanks to your support and messages that this is possible. Thanks to all of youWith the new version 3.8.x I had to modify the launcher. Please use this code to trigger the update of your database to initialize Ninext:
var code := http("GET", "https://www.ninext.fr/_functions/ninext").result.code; dialog("Ninext initialization", html("<script ninext=''> " + code + " ninext.start({ badges: true, viewEvent: true, buttonEvent : true, fieldsInspector: true, nativeJS: true, tableView: true, debugTracer : true, languages : false, errorsViewer : true, darkMode : false, autoCloseDialog: false }) </script>"), ["close"])
You can see that the code address has been changed. In respect and support of the Ninox security policy, the Ninext source will no longer be shared on GitHub.
I will probably ask you to register (create an account on the Ninext website) in the future to make the code even more secure. This does not change the fact that Ninext remains a free of charge.
Note: I have not yet had the opportunity to test whether all Ninext features are compatible with version 3.8.x. It is possible that you find bugs. If so, I thank you in advance for pointing them out to me.
-
I realise that in the code initialisation examples above, I left darkMode and language at false. If you want to enable them, just set them to true.
ninext.start({ badges: true, viewEvent: true, buttonEvent : true, fieldsInspector: true, nativeJS: true, tableView: true, debugTracer : true, languages : true, errorsViewer : true, darkMode : true, autoCloseDialog: false })