Skip to main content
Ike@ACEAnswer
15-Moonstone
Apr 21, 2021 12:49 PM UTC

As much as the coder in me cringes at it, I went with the session variables solution. I really don't like how they are global, though. Is there some way to clear it's data when it is not needed anymore?

4 replies

5-Regular Member
Apr 21, 2021 1:00 AM UTC

There is an alternative to achieve this with no need to Navigating, that would be using a Contained Mashup widget and hiding it(Uncheck Visible property)
Please check the article on this link for detailed steps - https://www.ptc.com/en/support/article/CS187026

if this meets your requirement.

As far as Navigation function is concerned, I don't believe it is possible to exchange data between mashups without Navigating.

Other way to do this would be to use session variables as mentioned in the community post link you shared.

Translate
Ike@ACE15-MoonstoneAuthorAnswer
15-Moonstone
Apr 21, 2021 12:49 PM UTC

As much as the coder in me cringes at it, I went with the session variables solution. I really don't like how they are global, though. Is there some way to clear it's data when it is not needed anymore?

Translate
5-Regular Member
Apr 27, 2021 11:30 PM UTC

Session variables are written to the database if they're flagged as persistent, however this is not recommended for performance implications, please check this article for more details: https://www.ptc.com/en/support/article/CS275262

Also, it is worth checking Article for Best Practices on using Session Variables on this link - https://www.ptc.com/en/support/article/CS232199 

Translate
Support
May 10, 2021 6:41 PM UTC

Hi @Ike@ACE.

 

If one of the previous responses answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Translate