Get data about the (sub-)job within a custom component

Four Stars

Get data about the (sub-)job within a custom component

Greeting,

I would like to create a custom component that captures data about a (sub-)jobs execution. To implement the idea in my head I basically need information from the UI as well as logs (like the ones that are captured by tStatCatcher). The latter one seems easy to do using the globalMap, it is the first challenge that I cannot figure out so far. Basically, I would like to access the "jobname_jobversion.item" XML-File within my custom component Java-code, so I can get access to data like "component X has parameters Y and is connected to component Z ...".

Does anyone have a suggestion where to start? I tried to reverse engineer the "HTMLDocGenerator" a little bit, but this did not seem to be a proper way to follow from within a component in TOS. Any tips are appreciated!

Cheers

Marcel

Moderator

Re: Get data about the (sub-)job within a custom component

Hello,

Here is online document about:TalendHelpCenter:How to create a custom component.

Hope it will be helpful.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
Four Stars

Re: Get data about the (sub-)job within a custom component

Hello Sabrina,

I worked my way through this documentation as well as the linked tutorial of "powerupbi.com" (which is a little outdated, but still explains a lot of detail).

I am able to access things like the parameters of the custom component itself, but I would like to go further and access the parameters of all components in one (sub-)job as well as the way they are interconnected. I hope there is something in the talend APIs (or similar) to accomplish that.

Cheers

Marcel

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads