Configuration for custom activity
Hi,
I've written a custom workflow CodeActivity that connects to a database. Now where is the best place to store connection settings (username/password)? I could use a parameter in the workflow, but then it could possibly be viewed by an (advanced) user, right? I'd rather store this kind of information in a server-side configuration file, but I am not sure where. Web.config perhaps?
Best regards,
-
Hi Berend,
There is a connectionStrings section that you can use in "REST Elements/Rest/Web.config" and "Workflow Designer/Geocortex.Workflow.Designer.exe.config" See http://msdn.microsoft.com/en-us/library/ms254494.aspx for more details.
Also there are two new activities coming in the next Essentials release that allow you to connect to a database and execute SQL SELECT, INSERT, UPDATE and DELETE statements.
--Ryan
0 -
Hi Ryan,
I'm aware of the new activities, but unfortunately our client is still at 3.8.
The "REST Elements/Rest/Web.config" is exactly what I was looking for, so thanks for that!
Berend
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare