Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
isra
Contributor

How to print author of the job in talend

Hi Team    

Could anyone please tell me how to print/access the author of the job  i.e user email id used for creating local and remote connections in Talend.

 

Regards,

Isra 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

After writing my quick response I thought it might be quite nice to actually try this (I've never actually done this, just knew it was possible). So I built a job that I am including here. It's messy, not pretty and built in v6.2.1. But it works. You just need to point the context variable to your project folder within your workspace. Once that is done, the rest is handled for you. Feel free to do whatever you like with it 🙂


TalendComponentAuthor.zip

View solution in original post

4 Replies
Anonymous
Not applicable

There is an unofficial (and not supported) way of doing this. You will need to analyse your talend.project file (in your workspace) to find your user ids (random alphanumeric sequences). This is essentially an XML file so you can do this in Talend if you want (but if you break the file you are screwed). Then look through the files ending in ".properties" to find corresponding ids. This way you can identify the authors of all of your jobs, metadata, everything.  It's not difficult, you just have to be careful you don't break anything.

Anonymous
Not applicable

Each job can have a different author.  You can see who the author is by switching to the code tab on the job and looking at the comments at the top.  It has the author there.  

 

If you want to find them, you can select all your jobs, click buid and choose to export Sources only.  Once all the source code is generated, you can easily do a text search for @author comment

Anonymous
Not applicable

After writing my quick response I thought it might be quite nice to actually try this (I've never actually done this, just knew it was possible). So I built a job that I am including here. It's messy, not pretty and built in v6.2.1. But it works. You just need to point the context variable to your project folder within your workspace. Once that is done, the rest is handled for you. Feel free to do whatever you like with it 🙂


TalendComponentAuthor.zip
isra
Contributor
Author

Thanks all for your valuable knowledge sharing and for helping me to solve this problem