4 Replies Latest reply: Jan 22, 2015 5:15 AM by Shane Porter RSS

    .NET SDK Select field item(s) by ElemNumber

      Hi all,


      using the .NET SDK, I can make a selection on a field using code such as this (where 'app' is an IApp instance):




      This is nice, but I'd like to be able to do the equivalent using the element number.  Is there an easy way to do this? 


      At the moment, I'm getting all the possible values for the field into a listbox (from a 'CreateListbox' call) and selecting the values using the list box's 'SelectValues' call', which doesn't seem that efficient or elegant.


      Any help would be appreciated.


      Thanks a lot,