Mashup Reload
How do I reload mashup in runtime on session changed or service invoke completed event?
Tried location.reload(); in service.But it's not working.Please provide a way to achieve this.
How do I reload mashup in runtime on session changed or service invoke completed event?
Tried location.reload(); in service.But it's not working.Please provide a way to achieve this.
I'm not clear how can you navigate to another page before logging in (since you said you navigated to a different page on a new tab, and after that you login in the home page).
Regardless, coming back to your first question, services are always executed server side, which means they don't have a page context (they can not act directly on the page, only via their result which is bounded to widgets).
As such, location.reload() written in a service, will never work.
The answer to your question is present in the articles below (as a quick hint, if you have access to the support portal, there are tons of articles there that can help you much faster in many cases; make sure you also search there)
https://www.ptc.com/en/support/article/CS240759
https://www.ptc.com/en/support/article/CS287379
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.