Reference from topic - Solved: How to clear/remove array in sessionStorage - PTC Community
Thanks.
It is showing that sessionStorage.getItem and sessionStorage.setItem is deprecated in thingworx 9.6 version. What is the right function can be used now.
Can you clarify why sessionStorage.RemoveItemis not working. I wanted to remove particular property not all values stored in session.
If you refer to this page:
then scroll down a bit where you find that you now can use TW.sessionstorage, so just the namespace changed.
On the second point, "is not working" is a bit of a stretch, because it does what it is supposed to, you just want another feature supported. I think it was well explained in this thread https://community.ptc.com/t5/ThingWorx-Developers/How-to-clear-remove-array-in-sessionStorage/m-p/1011267#M69524%3Fsource=search
so no point in repeating that here.
Hello @AP_10343008,
It looks like you have a response on your topic. If it helped you solve your question, please mark the reply as the Accepted Solution.
Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.
Thanks,
Vivek N.
Community Moderation Team.