Skip to main content
Nintex Community Menu Bar

Environment Variables

  • January 7, 2009
  • 4 replies
  • 15 views

Forum|alt.badge.img+3

The other day I had set up a custom template field for our web server. 
I set this to different urls in the "Production" and "Development" workspace environments.
At some point my urls were overwritten by some default string pointing to the k2 server.
I am trying to figure out how this could have happened.  Would someone have had to changed that value or could it get overwritten during a publish?

any help would be...well...helpful!!!

 - John

 

4 replies

Forum|alt.badge.img+4
  • January 8, 2009

The environment variables can be edited via the K2 Object Browser in the K2 designers.


As far as I know the environment variables will not be overwritten during a publish. I will verify this and come back to you.


Forum|alt.badge.img+4
  • January 8, 2009

If I don't remember wrongly whatever you configure in Visual Studio WILL overwrite the String Table on the server. At least this has happened to me.

I'm on vacation right now so I can't check...


Forum|alt.badge.img+4
  • January 8, 2009
That is correct. K2 overwrites the string table values with the values of the selected deployment environment (e.g. Development / Production / Other) at the time of deployment. The environment variables are used during design time and deployment, while the String table values are used during runtime.

Forum|alt.badge.img+3
  • January 10, 2009

So it was John's fault after all.  Mwwhaahahahaha.

Seriously though, how do you avoid having a publish overwrite your settings changed within the workspace?  Is it just a matter of remembering to refresh from the server within VS.