Skip to main content

we are encountering a serious issue when going from our dev-environment to our test environment. It's due to a data connection we use that gives us the logged in user from Sharepoint ( is there any other way to get it so it is also available in the initial step of the process) - it works fine in dev. But when we move it to test it gives us an error because its trying to connect to the dev sharepoint, and we are not allowed to alter and deploy in test. We want't to create a smartobject instead of the direct dataconnection, but we experience that its not possible ( we have tried wih the ynamic web-service service from blackmarket) it wont tie the webservice with the smartobject. Do Yu have any ideas on how to solve this?

Correct me if I’m wrong, so the problem is the deployment still uses the connection string to the dev-environment? If this is the case, you can have a look at the following:


Please have a look at the Object Browser near the top it says which environment is currently being used and if you deploy it will deploy using that environment. To the left in the Object Browser there is a little arrow pointing down.


If you click you will were the environment is changed. You should by default have a Development and Production there. If you toggle between the two you will see each has its own connection string.


You can configure the Development to use all the connection strings used for dev and change to Production and change that one to use the production connection string. In your case you can use production as the test environment or you can add an environment in Workspace > Management console > Environment lib > Templates > Default template > Environments.


Now you just chose to which environment you want to deploy.


Hope this makes sense.


 


Reply