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

Dynatrace 2.0 Extension ActivationSchema

Roeir5
Newcomer

Hi all, 

Recently i have tried to do develop a python based Extension (V2.0).

I am using VSCode DT integration extension with the extension SDK.

Using the documentation regarding the SDK we managed to developed a working extension that meets our requirements. 

The extension contains an activation schema part , which is the user configuration form where he can configure and enter details for extended customization.

Using various extension found on the HUB and many examples from the internet, i almost found everything i needed, except for the following: 

inside my endpoint, i want to define a textbox like property. the goal is to allow the user to paste a text which i want to use inside the server as a script.

for example : 

i have defined a property whose type is "text", referenced enums, referenced objects and more. 

but i could not find any extension/example regarding create a textbox/textarea of some sort. 

And i have been told it is possible, but without a definite answer. 

 

Thank you for you help ! 

 

 

3 REPLIES 3

Yosi_Neuman
DynaMight Guru
DynaMight Guru

Hi @Roeir5 

Here is a part of activationShema.json with text and secret entries

Yosi_Neuman_0-1727600591352.png

Here is how the entry look from the end point definition side

Yosi_Neuman_2-1727600833877.png

And here is the the part from __main__.py that collect the information from the endpoints

Yosi_Neuman_1-1727600661451.png

HTH

Yos 

 

 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Hi, 

Thank you for the fast response Yossi, 

i am familiar with this text property type and also with how to extract data from the endpoint (each activation endpoint contains the activation property, and also is shown inside the API snippet when configuring the extension). 
your example for a text object only allows for a single line input and also i was looking for something better in terms of UX/UI for handling multi line text. 
I my goal is to create a multi-line text box so i can use it to build a long multi line text inside the agent for the extension purposes.

 

Hi @Roeir5 

Stand corrected

Please try if the follows solve your need 

Yosi_Neuman_2-1727608432163.png

 

Yosi_Neuman_1-1727608408655.png

Yos 

 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

Featured Posts