Skip to main content
Feb 12, 2021 8:50 AM UTC
Solved

Browsing Kepware channels from a mashup

Greetings.

I'm trying to create a mashup that allows me to browse Kepware channels and items, like the Discover tab from the industrial thing page on the composer.

aiGreek_0-1613118626524.png


I have created "custom" versions of the BrowseItems and BrowseGroups services that allow me to choose an IndustrialGateway to execute said services on the Kepware chosen on the mashup. Their output an infotable with the same Data Shape as their "stock" versions.

I'm trying to use a tree widget to display the channel structure like in the screenshot above, but I cannot find a way to do so correctly. I can display the root and the first levels of the tree (although not in the way I expect):

brave_qRzlzMHdrV.png 

brave_dGDR0p9zNS.png

but when I try to go deeper into the structure the tree just disappears:

aiGreek_2-1613119640133.png

 

I've tried to use my custom service to change dots into slashes for the FullPath rows, but it didn't help.

Any suggestions?
Thank you for your time.

c_lowyAnswer
Feb 17, 2021 8:12 AM UTC

Hi @aiGreek,

 

Please find attached some example entities and data for a TreeGrid Advanced that displays 3 levels : 

  • Entities_TreeGrid.xml (1 DataShape + 1 DataTable + 1 Mashup)
  • data-0.twx (unzip data-0.zip, content of above mentioned DataTable)

I hope that this can help you with your use case by comparing your data / widget configuration / bindings with this example one.

3 replies

c_lowyAnswer
Feb 17, 2021 8:12 AM UTC

Hi @aiGreek,

 

Please find attached some example entities and data for a TreeGrid Advanced that displays 3 levels : 

  • Entities_TreeGrid.xml (1 DataShape + 1 DataTable + 1 Mashup)
  • data-0.twx (unzip data-0.zip, content of above mentioned DataTable)

I hope that this can help you with your use case by comparing your data / widget configuration / bindings with this example one.

aiGreekAuthor
Feb 17, 2021 12:58 PM UTC

Thank you @c_lowy, I'll give it a look!

Mar 9, 2021 8:25 PM UTC

Hi @aiGreek.

 

If you feel the response from @c_lowy answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon