How to upload shared context variables

Highlighted

How to upload shared context variables

I'm trying out the integration cloud and built a standard job in the studio.  I've published the job to the cloud but it doesn't seem to publish the context from the shared repository.  I get a null pointer when trying to access those context variables.
How do we upload a shared context repository?
Thanks
Chris

Community Manager

Re: How to upload shared context variables

Hello Chris
Sorry for the delayed response. Where do you access the context variables? In another job?
Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business

Re: How to upload shared context variables

Your solution architect informed me that there is a specific naming convention.  Apparently shared contexts are connections so you have to have "connection_contextgroupname_variable".  so if you have a context group called sfdc and fields username, password, you have to create it like "connection_sfdc_username" and "connection_sfdc_password" in your studio job.  Then in TIC, you have to create a connection with sfdc as the name and the variables are "username" and "password".  And if you want to use local job contexts, they have to be "parameter_variable" in your studio job and will show up as "variable" in TIC.  Quite specific for it to work.

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog