Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dear Community,
right now i am trying to write a custom component for talend and i am not able to list input fields in a Table widget. It is shown in the documentary here under "Table" (https://talend.github.io/component-runtime/main/1.32.0/gallery.html) that it is possible, but it is not further explained and also not referenced in die provided example project.
I also tried to implement it as shown in another article in the documentary but that example is also missing alot of info.
(https://talend.github.io/component-runtime/main/1.32.0/studio-schema.html9)
I tried to implement it exactly like here but when compiling i et the error
>No source instantiable without adding parameters for @DataSet("CustomDataset")
Does anyone have any experience with it and guide me in the right direction?
Thanks in advance
Hello @Sammy Joel
You need to add the Input(Source) part of the connector.
https://talend.github.io/component-runtime/main/1.32.0/component-define-input.html
And the Input(Source) part should use the dataset to configure itself.
Thanks for your reply @Oleksandr Zhelezniak
But i am trying to implement it for a processor component. I am trying to add 2 inputs to the processor map them to specific values in a table widget in a component and then output them. Kind of like the tJoin where i can select inside to component which fields from the input i want to use. Do i still need a Dataset for that?
@Sammy Joel
"No source instantiable without adding parameters for @DataSet("CustomDataset""
It says that you declared some class and annotated it with org.talend.sdk.component.api.configuration.type.DataSet.
For each dataset, the framework expects an input (source) component.
Did you try to remove that dataset class?
Yes i tried multiple variations with and without datasets. Whenever i add the @Structure to the List it just "dissapears"
Hm, @_Structure
It starts to be the part of "Schema" button.
Edited. I read again the original question and find out that you have that article. Sorry about that
Remove @_Dataset annotation from your configuration class.