Fix Connect to the last environment at Startup by disabling or selecting specific environment
561
Views
13
Comments
New
Service Studio

I very much like the feature of automatically connecting to an environment, but more often than I would like to admit I find myself doing changes in an environment where I do not intend to. This is partly because the environment that is opened doesn't stand out that much.

When opening (for example) a TST environment, the next time you open service studio, the TST environment will be opened (instead of the DEV environment, which was opened earlier). 

I see two options that might prevent this.
1. Enable configuration per environment (in 'Manage environments' to enable/disable automatically connecting to that environment). You would probably want this for all non-dev environments anyway.
2. Set a fixed environment to automatically connect to, instead of the last environment. I think it's true for a lot of developers that 95% of their work done is in one environment.

Hi Sam,

I don't know if you're aware, but in the Preferences window, you can disable the option to connect to the last environment at startup, which makes you choose an environment to connect to every time you open Service Studio.

 

Doesn't that fit what you need?


Kind regards.

Hi Ricardo,

Thanks for the suggestion. I am aware of that option indeed. The thing is that I do like the feature of Service Studio connecting automatically to an environment.

What I am struggling with is when I connected to an environment different than DEV once for whatever reason, Service Studio picks that up the next time (sometimes the next day). The specific environment you are connected to does not always stand out very clearly. Because of that, it happens that I end up doing developments in the TST environment whereas I actually wanted to do those developments in DEV, and I am sure I am not the only one. 

To fix this, I am suggesting to have the option to configure Service Studio not connecting to certain environments (e.g. the TST environment) automatically. Or to allow us to choose one specific environment to connect to automatically. The first might be more suitable if you tend to switch between environments for different companies. The second would be useful for developers working in one environment for one company.

The main problem in any case is that it is not always as clear which environment is opened. My suggestion tend to fix that issue, but I am open to other suggestions.

Ok, Sam, I understand your point. 

As a preference, I don't mind having to always choose an environment every time I open Service Studio, even if I'm working in one specific environment for many days in a row. As a matter of fact, avoiding making changes in a non-DEV environment by mistake is exactly the reason why I have that option disabled.

Let's see what the community thinks about that.

Merged this idea with 'Configure a default environment when starting Service Studio' (created on 08 Mar 2024 13:35:41 by Evert van der Zalm)

I think most of us can relate:

Need to check data/query on a different environment then the developer environment, so you'll connect to test or acceptation and then close service studio and get back working in your development environment.

Then next day you'll start service studio, start working and before you'll know it you've done a publish to test or acceptation with needing to restore those publications. It's so so annoying and cost so much time.

So please make it possible to select a default environment Service Studio needs to connect to when starting. This can be added in the manage environment options right just like this:



This feature would really help so much!

Kind regards,
Evert

Now this is a thing we need!

Note that it's easy to prevent the "before you'll know it you've done a publish to test", as you can disable automatic connection of any environment in the settings:

Kilian, great we can disable the connect to last environment at startup, but I really like that feature, I want to use it. I just want to connect automatically to the environment of my choice. 

There already is a manage environments, adding the 'select default' would be saving so much time that one time you'll forget to connect back to the development environment.

OS for my is optimize it so I'll have more time for the features, this would really save so much time that one time you'll forget it.

I've had challenges with this too. Sounds like a good idea.

@Evert van der Zalm I agree! Would be a lot better to have this option.

People, if you like the Idea, please just upvote. No need to add a comment saying you like it, thanks.

Would love to see this implemented. Suggested a similar idea before actually.

You are right, that Idea is similar enough to warrant a merge.