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
-
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.
-
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.
-
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. -
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.
-
Hey , i recently found a Bug. If Ninext is running, all the tabs in pages are not visible. Can you check that please? Best,
-
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.
-
Hi ,
I hope, you are fine. It was just a little bit "quiet" in this forum
I have a suggestion for improvement:
If you search for a certain variable used in the scripts, it is yellow marked the scripts as an eyecatcher. Which is really great, especially if the script is long.
But after the first action using the keyboard, the marks disappear.
It would be great, if the yellow marks would be available until the editors is closed.
Thank you very much und best regards,
Ralf
-
with 3.11 there are many errors with Ninext. I didn't test the modules individually. But when I disabled the loading of Ninext, the performance is back and fine. With Ninext the console throws many lines about errors.
-
said:
I hope, you are fine. It was just a little bit "quiet" in this forumYes, I also think it's been a long time since I've evolved Ninox. I'm preparing a surprise for you, but it takes a bit of time to come out.
-
Hello everyone,
I've fixed the bug with https://www.rrweb.io cookie. You should now be able to use it again at normal speed. In any case, the errors in the development console have disappeared.
Version 2.1.32 beta is now online.
-
Hello,
I just published version 2.1.33 beta of Ninext to fix a bug in an unusual case:When the same variable is declared twice with the debug function after each declaration, the entire code is not executed.
Example:
var a := 1; debug("A1"); var a := 2; debug("A2"); alert(a);
-
I tried to use Ninext but, I don't get anything working and the Github links are dead. Is the project still available?
Content aside
-
17
Likes
- 2 days agoLast active
- 231Replies
- 5406Views
-
38
Following