Skip to main content

Notifications

Dynamics 365 Community / Blogs / Andrey Baludin’s Blog / Developing extensions for I...

Developing extensions for ISV solutions. Applications family.

Hello colleagues.

It's great when working with Business Central for a long time we can find something new and interesting and this is my case.

Recently I've took part in a project - adding some new functionality to SaaS Business Central. But the environment's link was quite different from standard

https://businesscentral.dynamics.com/TenantId/Sandbox

It was:

https://ISVName.bc.dynamics.com/TenantId/Sandbox

It's a vertical solution of Independent Software Vendor (ISV) and unfortunately, I've never work with such environments before.

So how to connect your Visual Studio Code and download symbols? I tried the next launch.json setup and set non standard URL as a server parameter:

2146.JPG

And this works for symbols downloading! But if you try to publish your app to the environment, you'll see the "Success" message in the VS Code debug console and this window instead of normal web client:

1588.JPG

Now look at the URL of this window - it has default beginning - businesscentral.dynamics.com instead of the value you have typed as the server parameter. If you open your environment directly - your app will be there, but when you develop, it's not suitable to open the environment twice and debugging will be not allowed. So how to fix this?

The responsible property name is Application Family. You can see it in your Admin Center for each environment. By default it has Business Central value but will be different for ISV solutions.

7752.JPG

And when you develop an app for the ISV solution, in the launch.json file use applicationFamily property with the ISVName element of the environment's URL https://ISVName.bc.dynamics.com/TenantId/Sandbox instead of server parameter.

38232.JPG

Hope that this will be useful for you.

Comments

*This post is locked for comments

  • Alok.kulshreshtha Profile Picture Alok.kulshreshtha 934
    Posted at
    i have used this property for LS central
  • filatro Profile Picture filatro
    Posted at
    Great. I will definitely use it in my practice.