Skip to main content
1-Visitor
March 15, 2016
Solved

Problem in Gauge widget while creating mash up.

  • March 15, 2016
  • 5 replies
  • 2676 views

Hi,

I am trying to create a simple mash up containing List box and 2 Gauges.

Things are loaded to the List on mash up load. On selection of particular thing, I want to display one thing property in gauge.

I bound the thing property to the Gauge as per my need.  But in mash up view, not able to find indicator needle? Screen shot is shown below?

Is there any setting need to be set? I would appreciate any help on this.

Thank you.

With B/R,

Praveen.B

Best answer by PaiChung

Hi Praveen, I recommend you take the Thingworx Fundamentals course, which covers these types of questions.

You actually will want to use the SelectedRow changed of the data Source that provides the Data to the List widget.

All selection is tracked in the data sources vs. in the widgets.

5 replies

5-Regular Member
March 15, 2016

Praveen, can you try binding the property to a value display widget too? That would tell us what property value got passed through.

22-Sapphire I
March 15, 2016

This looks like a binding's issue.

Check if the selection is being fed to the Property Retrieval Entity/Service

check if the service that retrieves the property value is actually being triggered by an event.

preddy-21-VisitorAuthor
1-Visitor
March 15, 2016

Hi Ravi, Hi Pai Chung,

Thank you for your reply.

I added valuedisplay widget and given same binding that of gauge, to check value passed to the gauge. Nothing is displayed in display widget too.

Then found that, list item 'select event' is not bound to 'GetProperties' of Thing. I found only double click event for ListSelection. (No Single click event)

After binding 'DoubleClickEvent' to 'GetProperties', then it works. Screen shot is given below.

Please let me know, is this correct way of doing (or) any other better way?

With B/R,

Praveen.B

PaiChung22-Sapphire IAnswer
22-Sapphire I
March 15, 2016

Hi Praveen, I recommend you take the Thingworx Fundamentals course, which covers these types of questions.

You actually will want to use the SelectedRow changed of the data Source that provides the Data to the List widget.

All selection is tracked in the data sources vs. in the widgets.