tSalesforceInput invalid Assignment Operator

Four Stars

tSalesforceInput invalid Assignment Operator

I am gettting an error when I try to do a basic export to a CSV using the tSalesforceinput component, text below is the error I get when I click on the component, see attached further error details plus a screenshot of the component itself, I have obfuscated the message partly but it was just the domain name of the username which is based on the email. In advanced settings the Salesforce URL is set to ""https://test.salesforce.com/services/Soap/u/44.0"

 

Error in the component's propertiesSmiley Frustratedyntax error on token "@", invalid AssignmentOperator
xxxx cannot be resolved to a type
Syntax error on token "@", invalid AssignmentOperator
xxxx cannot be resolved to a type


Accepted Solutions
Fifteen Stars TRF
Fifteen Stars

Re: tSalesforceInput invalid Assignment Operator

Should be enclosed between ""


TRF

All Replies
Four Stars

Re: tSalesforceInput invalid Assignment Operator

Just including the screenshots so they are a bit easier to see. 

 

Capture1.PNGCapture2.PNG

Fifteen Stars TRF
Fifteen Stars

Re: tSalesforceInput invalid Assignment Operator

This is a compilation error.
Hit code tab on the screen bottom then go to line 672 to discover where it comes from

TRF
Four Stars

Re: tSalesforceInput invalid Assignment Operator

The error on the code is as below, I have obfuscated the username but it is a valid Salesforce username so not sure what the issue could be 

 

props_tSalesforceInput_1.connection.userPassword.setValue("userId",
test.user@testdomain.com.test);

 

With the error message Multiple markers at this line
- Syntax error on token "@", invalid
AssignmentOperator
- testdomain cannot be resolved to a type

Fifteen Stars TRF
Fifteen Stars

Re: tSalesforceInput invalid Assignment Operator

Should be enclosed between ""


TRF

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