GuidoPreite / DRB

Dataverse REST Builder
MIT License
101 stars 14 forks source link

Handled not connected to an environment #7

Closed Power-Maverick closed 2 years ago

Power-Maverick commented 2 years ago

Added a sceanrio when user has not connected to an environment but opens DRB. The DRB will show an error inside the tool. Lemme know if you want DVDT to show that error outside and not load DRB at all. If you want the later please feel free to reject this PR.

GuidoPreite commented 2 years ago

@Power-Maverick let's show the error outside DRB if there is no connection. Trying to keep consistent with the behavior inside XrmToolBox, if DRB is opened there without a connection first, the tool is not loaded. Also I believe that if that error is shown, the application still runs in Demo mode and may confuse the user.