Skip to main content
Solved

Batch Update SDE Connection Parameters

  • November 4, 2013
  • 1 reply
  • 6 views

We are moving away from connecting to SDE via a 3-Tier connection type to a direct connection type.  We have several hundred workspaces with connections to SDE with the 3-Tier.  I was wondering if anyone has wrote a script or know of an easy way to do change the parameters in how it connects in some type of batch process so we don't have to edit and touch each one of our workspaces manually.  Any advice or asiistance would be appreciated.

 

Thanks

Travis

Best answer by david_r

Hi,

 

 

FME workspace files are simply text files, so you could try to use an editor like Notepad++ to search and replace the connection parameters.

 

 

A couple of suggestions for more sustainable solutions:
  • Use a connection file (*.sde) rather than hardcoding the connection parameters into the reader/writer
  • Use an external configuration file that is read into scripted parameters when the workspace starts
David
View original
Did this help you find an answer to your question?
<strong>This post is closed to further activity.</strong><br /> It may be a question with a best answer, an implemented idea, or just a post needing no comment.<br /> If you have a follow-up or related question, please <a href="https://community.safe.com/topic/new">post a new question or idea</a>.<br /> If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

david_r
Celebrity
  • Best Answer
  • November 5, 2013
Hi,

 

 

FME workspace files are simply text files, so you could try to use an editor like Notepad++ to search and replace the connection parameters.

 

 

A couple of suggestions for more sustainable solutions:
  • Use a connection file (*.sde) rather than hardcoding the connection parameters into the reader/writer
  • Use an external configuration file that is read into scripted parameters when the workspace starts
David

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings