Extensions
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error when using Dynatrace Extensions: Build in VS Code — copying between tenants

AK
Pro

Hello Folks,

I want to copy a custom extension build from one tenant to another. What are the available ways to do that?
I tried using Dynatrace Extensions: Build in Visual Studio Code, but it produced the following error:

{
  "error": [
    "'dt-sdk' is not recognized as an internal or external command,",
    "operable program or batch file.",
    ""
  ],
  "detailedOutput": [
    "+"
  ]
}

Regards,
AK

6 REPLIES 6

AntonioSousa
DynaMight Guru
DynaMight Guru

@AK ,

If you have the ZIP extension file, just upload it to the new tenant. Don't forget to setup the certificate files, as I'm assuming it's a custom extension of course.

Antonio Sousa

@AntonioSousaThank you for your response. Unfortunately, I don’t have the ZIP extension — it was co-developed with Dynatrace support.

Regards,
AK

rastislav_danis
DynaMight Pro
DynaMight Pro

You probably need to install dt-extensions-sdk first. 
https://dynatrace-extensions.github.io/dt-extensions-python-sdk/guides/installation.html

Alanata a.s.

@rastislav_danis I've installed it and can confirm it's present, yet I'm still getting the same error.

AK_0-1781705887073.png

 

just guessing, but have you tried launching dt-sdk from vscode terminal? is path to this command included in path variable?

Alanata a.s.

Thanks @rastislav_danis, adding dt-sdk PATH to variable worked

Featured Posts