Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hi,
We created one stream which logs all the things data at run time, we would like to retrieve one of the record value and bind that value to graph based on some condition.
Another scenario is we have a dropdown widget we want to bind only distinct values to it though we have duplicates in our stream column which we bind to it.
Could anyone help us to achieve these two functionalities.
Regards,
Anil Kesana
Through a mashup, you may use data filter widget to query your stream data . But best way would be to write a javascript service to query your data based on some parameters and then you can bind it accordingly in your mashup.
Similarly, with the dropdown list. You may bind data that was already filtered through your service.
Hi Polina,
Could you send js custom service code sample which filters stream based on input we pass to it. It would be help full if you send steps to create service and filter the stream.
We have tried but could not get it please help to achieve this
Regards,
Anil Kesana
You may use services functions to create a new service, specify your input and outputs. For example, you may use a snippet for querying properties, and your input would be a json string for the query base type: