Missing mx.ui UI Functionalities When Trying to Open a Page Based on Cookie Check

0
I am attempting to redirect users to a specific Mendix page when a particular cookie is not found. However, I am encountering issues with mx.ui functionalities not being available. I need assistance in resolving this issue.   The dots (...) give the following message when hovering:   Property 'ui' does not exist on type '{ appUrl: string; remoteUrl: string; data: Data; }'.typescript(2339)  
asked
1 answers
0

In the marketplace module WebActions you have 2 javascript activities available; 

1. SetCookie

2. ReadCookie

 

If you use the read cookie javascript in a nanoflow, it will return a string. Add a check if the returned string is empty. If so, you can do a show page and open the page you need.

answered