Populate Dropdown via SmartObject

  • 4 July 2013
  • 1 reply
  • 1 view

Badge +8

A simple question .. I'm populating a dropdown control in a view with data from a smartobject.  How to I force the returned data to be unique values .... at the moment I get all values


thanks


 


1 reply

Badge +5

Hi Psturmey,


Is your datasource in SQL? If yes, you can either create a stored proc (with grouping) and map it to your smart object or use the API to execute a query with "group by" condition (Search for "DirectExecution" in K2 Knowledge Center - http://help.k2.com)


 


Hope this helps.


JK

Reply