Skip to main content Skip to complementary content

Configuring the connection to Dropbox

All parameters of the sample Job are already set except one: the access token to the Dropbox application where the log file is stored.

Procedure

  1. Open the Video Viewers Watch Results Log Filter Job in Talend Studio.
  2. Click the tDropboxConnection component.
    In the component basic settings, you can see that the value of the access token refers to a context parameter: context.connection_dropbox_access_token.
  3. In the Repository tree view, navigate to Contexts > Talend Cloud > Connections > File and double-click the Dropbox context.
  4. Enter a purpose, for example Talend Cloud getting started, and description, for example Streaming and royalties data.
  5. Click Next.
  6. Enter the Dropbox access token in the Value field.
  7. Click Finish.
  8. Choose to propagate the connection to all Jobs in the project.
  9. Save the Job.
  10. Click Run in the toolbar to run the Job.

Results

In your Dropbox application, the StreamingResultsLog_FilteredRecords.csv file has been generated. This file contains all records where the PercentWatched value is above 0.2, meaning that users have watched more than 20 % of the movie.

Screenshot of the StreamingResultsLog_FilteredRecords.csv file content in Dropbox.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!