Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
hzhen
Contributor III
Contributor III

I want to add a Static variable, what should I do?

Thanks.​

You can access the global variable list using CTRL + SPACE in any field in the component view.

The Outline view can display a folder tree view of the components used in the current diagram. Expand the component's node to see a list of variables available for this component.

> Primitive component

Taking tDie as an example, the definition of Static variables is defined in the tDie_java.xml file under the TOS DI installation directory plugins \ org.talend.designer.components.localprovider_7.3.1.20200213_1003 \ components \ tDie.

-----------------------------------------------------

<

RETURNS

>

<

RETURN

NAME

="

DIE_MESSAGES

"

TYPE

="

id_String

"

AVAILABILITY

="

AFTER

"/>

<

RETURN

NAME

="

DIE_CODE

"

TYPE

="

id_Integer

"

AVAILABILITY

="

AFTER

"/>

<

RETURN

NAME

="

DIE_PRIORITY

"

TYPE

="

id_Integer

"

AVAILABILITY

="

AFTER

"/>

<

RETURN

NAME

="

DIE_CUSTOM_VARIABLE

"

TYPE

="

id_String

"

AVAILABILITY

="

AFTER

"/>

</

RETURNS

>

-----------------------------------------------------

in these variables,

DIE_CUSTOM_VARIABLE is added by myself.

But when using TCK to develop, how should I add it?

Labels (3)
1 Reply
ozhelezniak
Contributor
Contributor

Hello @han zhen​ 

 

Do you want to add an additional "after variable" to your custom TCK component?

Adding additional "After variables" aren't supported right now for TCK components.

 

Best regards, Oleksandr