Book a Demo

Author Topic: Adding Data Source via script for all new users  (Read 6227 times)

shimon

  • EA User
  • **
  • Posts: 172
  • Karma: +6/-0
    • View Profile
Adding Data Source via script for all new users
« on: March 24, 2014, 07:10:38 pm »
Hi,
Im planning a migration from one DB to another (SQl to Oracle) and would like to give each user an easy way to add the Data Source.
Does anyone have a VB (or other) script, that adds a Data Source to EA?

Thanks,
Shimon J.

shimon

  • EA User
  • **
  • Posts: 172
  • Karma: +6/-0
    • View Profile
Re: Adding Data Source via script for all new user
« Reply #1 on: March 24, 2014, 07:27:12 pm »
OK.
Just found this and it should work if the users have the "Right" to add a key to the registry.
I'll update this post if it works.

http://windowsitpro.com/systems-management/how-do-i-migrate-odbc-data-sources-one-server-another
« Last Edit: March 24, 2014, 07:33:40 pm by shimonmx »

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 344
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
Re: Adding Data Source via script for all new user
« Reply #2 on: March 27, 2014, 09:03:19 am »
You can create a connection to the Oracle server without having an ODBC declared in the Windows ODBC sources. This could be done when connecting to a database in EA. After doing that (and typing the server, username and password for the database) you can create a shortcut from "File/Save shortcut" and distribute the shortcut.