I have implemented servoy security in ngclient solution . Everything is working fine but it is not switching to the solution first form .The security.login method is returning true . But after that it should switch to the main solution first form . But it is not doing so . But the similar stuff is working fine for smart client and web client. Please advise me.
Hi Ashutos,
This issue is already reported to Servoy. I think it will be solved in v8.0.2.
In the meantime you can hardcode the record id of the login user to fake the login.
It should provide you with a first form.
At least in my solution this workaround works.
Are you on 8.0.1? I had the same issue, just made some time to test it through.
I could not find an issue, so I created one: https://support.servoy.com/browse/SVP-738
A workaround is to use application.showForm() at the end of your onOpen method.
Well I disabled the login and authentication on my solution.
I use a scope for session handling etc.
Normally after login I have the user credentials and put that in an javascript object.
Now I hardcoded some variables in that object to have a admin account settings after login.
Just load the form and it will display the same stuff as you have with login credentials