0

Ninext loading modules not requested

Hi Jacques TUR

I just saw that my DBs are now loading all modules even when I specify only specific ones.

Here is what I have in my formula:

var configLoadModules := {
        badges: true,
        evalJS: true,
        exFinder: true,
        viewEvent: true
    };
html(http("GET", "https://raw.githubusercontent.com/JacquesTur/Ninext/main/loadModules.html").result)

And this is what is says in the field:

I didn't request auto completion and it seems to have loaded anyways.

Did something change?

2 replies

null
    • Ninox developper
    • Jacques_TUR
    • 1 yr ago
    • Reported - view

    Hi Fred I just tried it and on my side copying your code. It only loads what was requested. Are you sure you don't have some other code elsewhere that initializes the configLoadModule variable?

    Just one thing, I see that in your line 4 configuration you put exFinder. This is a module that is loaded by default, just like exModules and exUtils. There is no need to specify it.

    Can you also try with new loading code which is easier to use : https://forum.ninox.com/t/p8h78zv/ninext-project ?

    • Fred
    • 1 yr ago
    • Reported - view

    I posted this on Friday but I didn’t realize that I lost the ability to post for the whole weekend, this post was held up for moderation. After I posted I saw that you posted your new info. I swapped out the code and now it all works fine.

    Thanks for following up.

Content aside

  • 1 yr agoLast active
  • 2Replies
  • 55Views
  • 2 Following