Skip to main content
1-Visitor
February 9, 2022
Question

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

  • February 9, 2022
  • 1 reply
  • 1420 views

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

 

 

1 reply

22-Sapphire I
February 9, 2022

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.

1-Visitor
February 10, 2022

Ok, I'll try!! 

Thank you Pai