cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Thingworx mashup widget horizontal slider: input array of values

SBO
4-Participant
4-Participant

Thingworx mashup widget horizontal slider: input array of values

Hi,

 

I need to input an array of values in the horizontal slider widget, instead of defining min/max/step.

How can I achieve that ?

 

Thx.

1 ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:SBO)

Ahh sorry, that isn't possible

View solution in original post

4 REPLIES 4
PaiChung
22-Sapphire I
(To:SBO)

A slider will not accept an 'array' or infotable directly.

If you are outputting an infotable and it is a single row, you can expand Data and take the individual values and bind those to min/max/value

If you are using a multirow infotable, you would use selected row(s) in a similar way

Selecting from Data (All Data) it always provides the 1st row.

 

Else you'd have to return three individual values, unless these values are properties, then you can also use getproperties

SBO
4-Participant
4-Participant
(To:PaiChung)

Hi,

it's not about the infotable data input manipulation, I am referring to making the slider allow selectable values only those that I choose.

 

Example:

currently the slider widget sets min/max/step (1/10/1) and the selectable values will be 1,2,3,4,5,6,7,8,9,10

I need to have the slider offer the user only the values 1,4,6,7,10

PaiChung
22-Sapphire I
(To:SBO)

Ahh sorry, that isn't possible

slangley
23-Emerald II
(To:SBO)

Hi @SBO.

 

If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.

 

Thank you for participating in our community!

 

Regards.

 

--Sharon

Top Tags