NEW Menu Default application

hi,

How can I set the default application of a menu from code? I have to change the initial application, based on some variables.
sc _redir(“xxxx”) not work open application not menu

thanks

set as default app in the menu a blank app called home, in this blank app use the code you like and then use sc_redir.

that’s what I did as well.
I have some static HTML code in the blank App. It works locally but not on the production server.
I guess something is wrong with the path… but unsure what to change