I did a small test on “Open Web Page” block and found a limitation.
I tested it from the “system” container and calling a page in the “default” container. In my “default” container, there are two pages, “landing” and “Story.” The “landing” is the main page. If I set the block like-
If I set the block same as scenario #2 on “URL” and make “URL parameter” not blank, it won’t work. It pointed back to the main page, instead the page I want. My intention is that once the user logged in, I like to redirect him back to the previous page (in here, it is the Story page), which is not the main page, with also passing the “user-token” and “objectId” to that page. See attached graph below.
Is there a way to work around it, or I have to stick with the main page? Thanks.
Could you please clarify “it doesn’t work” means it doesn’t redirect to the Story page or something else?
The URL parameter you have should work fine. Please check, if the combined text you pass to the URL parameter is really equal to: https://chippermint.backendless.app/api/files/ui-builder/containers/default/index.html?Story
URL parameters are also seem to be passed correctly. Please notice that the userToken and userId parameters would be removed from the url string and the new currentUser object will be created.