Hello,
I am new to Ix Developer.
I ask you if there is one or more file of settings / config / ini (similar to Visual Studio) where I could put some string / parameters such as connection string to an external database, query and so on.
Thank you very much
Configuration/settin file
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Configuration/settin file
If you want to connect to an external database you need to write scripts to do that. There are a number of posts on this forum that discuss databases and how you might connect to one that is located on another system.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Re: Configuration/settin file
I have already wrote script for connecting and having the data from remote server.
My question is where I can save/store the parameters (example connection string) for not hardcoding it in the script and could change it without having to modify the code and recompiling.
Thank you
My question is where I can save/store the parameters (example connection string) for not hardcoding it in the script and could change it without having to modify the code and recompiling.
Thank you
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Configuration/settin file
You could put that information in a Tag and mark the tag as non-volatile. Otherwise you would have to write your own C# script that reads a file that you put in your project's "Project Files" folder.
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer