trigger nanoflow on page-load (mx8)

2
nano flows can trigger JS scripts. can they be triggered on pageload? just curious, this might give us some nice ways to add css to certain objects, or do some other fancy CSS fixes.
asked
2 answers
4

Hi Jason,

They can, but I would say inserting scripts/styling like this isn’t best practice: it reduces the maintainability of your app, as other developers will have no idea where this styling is coming from.

answered
2

I dont think there is a setting for this but you could try adding a dataview to the page that is sourced by a nanoflow. That will run on page load.

Another option would be to use the microflow timer widget. There is a nanoflow option now.

https://appstore.home.mendix.com/link/app/27/Mendix/Microflow-Timer

 

But I agree that would be useful. Might be a good post for the idea forum!

answered