Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anatoli1
Partner - Contributor
Partner - Contributor

Custom component schemas

Hello community,

i am working on custom component.

This component requires specific input schema and produce 1 row as result.

Like tREST component i have already seen components, that setup specific output schema

0695b00000nPhmsAAC.png 

By documentation of Talend Component Kit i have found some examples for DiscoverSchema and Records, but at the end it has never ended in own definition of schema for component.

Is there any (clear) guide to provide own (input/output) schema for own component?

How to make schema properties not changeable?

Is there some downloadable example for this use case?

Thanks

Anatoli

 

i have already seen the similar question https://community.talend.com/s/question/0D53p00008K2F2uCAF/readonly-processor-schema-andor-appending-output-schema

but provided suggestion gave no any positive influence to find a solution.

 

What i am lookiing for is to give any kind of information, what the user needs to provide to my component (input schema) and how he can retrieve the result (output schema)

2 Replies
Anatoli1
Partner - Contributor
Partner - Contributor
Author

What i have found till now by myself:

 

1.

Please make somewhere in kit documentation in big letters:

"After each deployment you need to restart studio"

 

Accessing of metadata as by https://talend.github.io/component-runtime/main/1.60.0/studio-schema.html

works without any more logic there, but only after restart of studio.

Lost some days for this...

 

2.

How to use DiscoverProcessorSchema for Processor with providing to user information, what parameters are for input, and what for Output? Instead of providing whole set on parameters...

 

3.

Still no idea how to make parameters not changeable..

 

Anatoli1
Partner - Contributor
Partner - Contributor
Author

Any idea ?

 

Need really help for it.

 

such thing should not be so complicated...

is one of main parts of talend.