Hello,
I am trying to build a PWA reactive mobile app. My landing page is an anonymous page. I don't have user logins on the app. I want to pass tenant ID and one more parameter in the URL used to launch the PWA. How can I pass this url and how can I access it to set tenant and other param?I tried passing it like this
https://<envaddress>/PreviewInDevices/ShareMobileApp.aspx?URL=/menu/&TenantId=20&TableId=3&_ts=116086
Then I tried to get the url in screen's onInitialise client action using "window.location.href"However I get URL without any params. Can someone help please?
thanks,
Maruthi
Hi there,
Have you tried to use the 'HTTPRequestHandler' to get your absolute URL? (like the GetURL action?)
In addition, how are you managing your tenants/user? If you're using the users table each user has a tenant id associated.
There are several ways of managing multitenancy, here's some guidelines if you haven't already seen them =)https://www.outsystems.com/training/courses/45/master-class-on-multi-tenancy/https://success.outsystems.com/documentation/how_to_guides/development/how_to_build_a_multi_tenant_application/
Hope it helps