Questions Tagged With listhttps://answers.axonivy.com/tags/list/?type=rss&user=Bj%C3%B6rnquestions tagged <span class="tag">list</span>enWed, 09 Apr 2014 11:40:46 -0400Getting a list as a result from an ivy webservicehttps://answers.axonivy.com/questions/621/getting-a-list-as-a-result-from-an-ivy-webservice<p>I created a webservice in ivy, which requests a string as input parameter and returns as result a string and a list (of a custom data class Betreibung).</p> <p>I can call this webservice from another ivy project and save the result in corresponding attributes. But as I can only save the list result "as List" and not "as List&lt;betreibung&gt;", every resulting List element is not of the class "Betreibung" but of the class "namespace.unknown.Betreibung". For this reason I cannot use the saved list entries later on.</p> <p>I created a short video to clarify my problem (in german only):</p> <pre><code>http://youtu.be/qWRUfq9i-xo?hd=1 </code></pre>BjörnWed, 09 Apr 2014 11:40:46 -0400https://answers.axonivy.com/questions/621/getting-a-list-as-a-result-from-an-ivy-webservicelistwebserviceBest Practice for filling a List in a loophttps://answers.axonivy.com/questions/105/best-practice-for-filling-a-list-in-a-loop<p>I'm using Xpert.ivy Designer 5.1.0 (Lauberhorn) S6. I tried to fill a List in a loop: </p> <ol> <li>In a form I ask the user, how many entries the list will have (numberOfIterations)</li> <li>With an Alternative Switch element I'm ensuring, that the following steps are executed as often as the defined number of iterations:</li> <li>In a form I ask the user for the attributes of the list entry (attribute one, attribute two)</li> <li>In three different variants I add the new list entry to the list. Only the most time consuming variant works. The other variants don't work as expected. I suppose, this is a bug.</li> </ol> <p>To better understand, please watch the <a href="http://youtu.be/PAn626HnR-Q?hd=1">screencast on YouTube</a> (2 minutes).</p> <p>An answer until 25.11. evening would be very appreciated.</p> <p>[EDIT]: <strong>Here the <a href="https://dl.dropboxusercontent.com/u/158270/TEMP_ZHAW_HS13/FillListInLoop.iar">link to the iar-File</a> for testing.</strong></p>BjörnFri, 22 Nov 2013 10:52:25 -0500https://answers.axonivy.com/questions/105/best-practice-for-filling-a-list-in-a-looplistloop