Skip to main content
Feb 9, 2022 10:59 AM UTC
Question

How to use distinct values in dropdown widget to select properties in collection widget?

Hi,

I have a template for different things.

I want to select a property in dropdown widget to see connected properties in a collection widget.

I'm able to do this, but in the dropdown widget properties values are repeated if there are things with the same property value.

I wrote a service to have distinct value of a property, the output is an Infotable.

 

How can I use this Infotable in my widget? What are the correct bindings?

Is it the best way to solve this problem?

I have attached an image of my mashup

Thank you

 

 

2 replies

Feb 9, 2022 8:12 PM UTC

If you wrote the service then you would map that service into your mashup, bind it to your dropdown and indicate which field to display in your dropdown.

Remember that the service needs to be triggered by an event (like onload) to bring the actual data into your mashup from the server.

Feb 10, 2022 3:12 PM UTC

Ok, I'll try!! 

Thank you Pai