URL Redirect / How to Close Popup

4
Does anyone have an easy way to Redirect to a URL in a webapp? The URLRedirector widget will not allow me to open a page, or it overrides the form it is placed on. My patch was to use a microflow trigger to open a new form with a dataview in it, place the URLRedirector on it, then have it open the form. The result is a new tab with the correct URL but an Unfortunate Popup (No Title) with bar placed over my application. Any help appreciated.
asked
2 answers
1

Michael,

You should not open the form in popup but In content. At least that is what I always use. Note that this way you leave the Mendix application.

Regards,

Ronald

[EDIT]

In the URL redirector widget you can set the properties to open the URL in a new browser page or in the same browser page. So if you want to your Mendix application to stay open use the new browser page option. And closing the form with the microflow timer widget does work for me when the page is in content. Have not tried in a popup but this should work in my opinion.

answered
0

Had the same issue. This solved my problem:

On the new form that is called by the microflow, you can place a HTMLSnippet widget. Set the Content Type to Javascript and add the content:

$(".someclassname").css("display", "none")

Also add the class someclassname to the form that is called by the microflow.

answered