Skip to main content
10-Marble
July 29, 2024
Solved

Thingworx Tabs - Collection within tab only shows data on page reload

  • July 29, 2024
  • 1 reply
  • 2374 views

Thingworx Version: 9.5.2

I'm going to try to be as precise as possible here, so bear with me.

 

In a Mashup that is exclusively used as a popup window showing our page's software history & changelog on two separate tabs respectively, we've encountered an issue where the data of the changelog isn't loading unless you specifically open the Mashup on the tab the text is supposed to be loaded in - meaning if you load the Mashup on the first tab, then switch to the tab with the changelog, it isn't visible. The data is still there (you can see Mashups created within the collection in the debug view), but it just doesn't show - resizing the browser window also makes it show, but that's unfeasible for practical use.

 

The Changelog itself is made of two parts, a list and a container with that shows the changelog itself, which is just a collection with mashups that only contain formatted labels. (I've found no better way to do changelogs since we still have no replacement for the HTML formatting removed...). 

 

There's just one service handling everything, it runs on load once and has all the data from the list itself (each version) and then all the text in another infotable that gets fed into the collection from "Selected Row(s)" so I can browse the list items and it'll always show the changelog of whatever version is collected.

 

This works perfectly fine if the Mashup loads with that tab already open, but if the other tab is selected and you then switch to the Changelog tab, the list is still there and you can select items, but no text shows.

 

Here's what I tried so far:

  • Lazy Loading & Load / Unload with loads happening on Tab Switch
  • Refreshing the Mashup on Tab Switch
  • Auto Refresh (calling the service again) every second (just for testing to see if it'd do anything)
  • .Load All vs. Load / Unload

I appreciate a response of any kind! If screenshots of bindings etc. are required do let me know, but I feel like I tried every combination and approach under the sun at this point... Fearing this might just be a bug of the version.

Best answer by Rocko

Also check Knowledge Base, e.g. I found this today: https://www.ptc.com/en/support/article/CS423510

1 reply

Rocko
19-Tanzanite
July 29, 2024

Have you tried different browsers/rendering engines?

If you think it's a bug, try to validate with PTC support by searching knowledge base, checking release notes and/or creating a support case.

Frowne10-MarbleAuthor
10-Marble
July 30, 2024

Good day!

I've tried it in Chrome, Firefox and Edge, all with the same result. The data displays just fine if the tab with the data is already selected but stays invisible if you start on another. 

 

 

Rocko
19-Tanzanite
July 30, 2024

Now that you've ruled out it's  the browser or an Add-On, it's probably a bug you should log with PTC support. I usually try to recreate the issue in a new, clean mashup without all unnecessary elements. This is easier to share with them and also sometimes leads to further insight about the root cause.