how do I trigger a nanoflow on page load?

3
Hi guys, I currently have a NF that has a Javascript action in it. I need it to fire whenever a new page is loaded. I currently have it in a data view which means I need an object, so I now have an empty NP object with return empty, which is then in a snippet, which is then put in the layout of that page …. this is a very very very horrible Frankenstein of a solution. anybody have a more elegant way to solve this?
asked
3 answers
0

see this question

Mendix Forum - Questions

by microflow timer widget you can call both microflow and nanoflow.

answered
0

Allow dataview to return a string

https://forum.mendix.com/link/ideas/3313

answered
0

Jason how did your solution work out? I'm trying to implement something similar in a page layout but the JS code only runs on the first page using that layout. So not when a new page with that layout is opened. Tried this with both a JS snippet and that nanoflow timer widget.

answered