[resolved] Update DB connection string deployment

One Star

[resolved] Update DB connection string deployment

Hi,
I want to update database connection string during deployment. How can I do it?
During development I just dragged DbConnection under Metadata so that I don't have to specify connection parameters through context variables for each job. Is it possible to update connection string under metadata after I export the job as a .bat file?
Thanks,
Mukesh

Accepted Solutions
Moderator

Re: [resolved] Update DB connection string deployment

Hi,
Making the parameter in DB connection into context mode can meet your needs.
There is a function called "Export as context" in DB connection, see screenshot for details.
The related reference Exporting Metadata as context
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

All Replies
Moderator

Re: [resolved] Update DB connection string deployment

Hi,
Making the parameter in DB connection into context mode can meet your needs.
There is a function called "Export as context" in DB connection, see screenshot for details.
The related reference Exporting Metadata as context
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.