Share ideas, ask questions, and get feedback about developing for ProcessMaker
Forum rules: Please post new questions under "Developing processes & programming" for ProcessMaker 2 or 3.
User avatar
By tellesmg
#781345
Hello!

Can I to call a Microsoft Sql Server Stored Procedure inside a dropdown?

Please, check the attachment with a printscreen and a sample code..
Attachments
procedure.PNG
procedure.PNG (6.4 KiB) Viewed 4382 times
#830539
Here are the general steps to do this:

Create a new dropdown control in your ProcessMaker form.
In the "Data" tab of the dropdown control settings, select "Dynamic" as the data source.
In the "Data Source" field, enter the SQL code to call your stored procedure.
n the "Display Field" and "Value Field" settings, select the appropriate fields from the result set returned by your stored procedure. These fields will determine the dropdown options that are displayed to the user and the corresponding values that are stored in the database.

Entrepreneurs are interested in building their own[…]

Most Demanding OST to PST Converter

Use the greatest and most affordable PST file conv[…]

Before planning, the factors that must be consider[…]

If you want to seamlessly and hassle-free conversi[…]