Hi all, I'm newbie about AI designer. I'm trying to do something that it should be easy. I want to load a list of values in a Dialog (selectOneMenu) from a DB table. Suppose I have some employees. I want to create a new employee, so I need to assign it to amn existing department. So, I need an object List<department> in the Dialog interface to use it in the selectOneMenu control and save department code when I save this employee data to database. I'm not finding the way to connect the DB step when I make this query to the dialog step. Can you help me? Any documentation about this kind of tasks? BR asked 17.06.2016 at 15:53 jirazazabal |
Hi You can use the database element to load the values from the database and store them in a Recordset. Then use the values in the Recordset on the Dialog. Example: HTML Dialog with the following Data Class The Recordset users is loaded by a Database Process Element from a Table in a database. The we use this Recordset in the View like this:
The value that is displayed is the column answered 27.06.2016 at 10:30 Reto Weiss ♦♦ thanks for your response, It's ok, it's solved using predefined objects recordset and record in Dialog logic:
And selectOneMenu logic as you use:
(27.06.2016 at 13:46)
jirazazabal
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 17.06.2016 at 15:53
Seen: 2,298 times
Last updated: 28.06.2016 at 14:02