You can translate the question and the replies:

custom data source - error creating view

1. my login id while creating base view for datasource of salesforce.com is richika.jaisawal@amdocs.com After entering id, passwd, token, schema; it asks for parameter value of AMDOCS.COM. What value do we have to enter here?? 2. I am getting following error on clicking Ok - Unable to create base view: Error while executing custom wrapper method 'getSchemaParameters': ; nested exception is: java.net.UnknownHostException: login.salesforce.com
user
19-01-2015 06:51:30 -0500
code

3 Answers

Hi, 1. The SalesForce REST Custom Wrappers can use two different authentication flows supported by Salesforce: - OAuth 2.0 Web Server Authentication Flow: this is the recommended flow to be used. It is based on the use of a token that can be refreshed once expired. In this case, you need to provide the custom wrappers with the following parameters: CLIENT_ID, REFRESH_TOKEN and ACCESS TOKEN (optional, as it can be regenerated with the use of the other tokens). - OAuth 2.0 Username-Password Flow: the use of this flow is not recommended (even by Salesforce) due to its lower security. It should not be used in production environments. It’s based on the use of the Salesforce account username and password. In this case, you need to complete the following parameters: CLIENT_ID, CLIENT_SECRET, USERNAME, PASSWORD, SECURITY_TOKEN, ACCESS_TOKEN (again, optional). If you decide to use this authentication flow, note that the character '@' of the USERNAME field has to be escaped with the character '\', otherwise Denodo will consider it an interpolation variable and it will ask you to enter its value. You can find more information about these two types of authentication flow at the "Denodo Salesforce REST Custom Wrapper - User Manual" (section 4.1), included in the "doc" folder of your Salesforce wrapper directory you downloaded. 2. Check if you are selecting the correct "Class name" for the wrapper at the Custom Data Source Wizard. You can find all the information about the different options in section 2.1 of the "Denodo Salesforce REST Custom Wrapper - User Manual". Let me know if this solves your issue.
Denodo Team
19-01-2015 12:32:20 -0500
code
Hi All, Trying "Custom Wrappers" / "Customer Source" option for connecting to SF from Denodo 6.0.20160905. Not sure how to obtain"Token" as this is one of the parameter. Could you please let me know the same. I've an account which we are using it already to read SF data. Thanks in advance!! Regards.
user
29-06-2017 12:59:44 -0400
Hi, In order to generate the token for SalesForce connection, I would use the ‘OAuth 2.0 Wizard‘ under ‘Tools > OAuth Credential Wizards’ in Virtual DataPort Administration Tool. You may refer the section ‘[OAuth authentication using the Salesforce REST Custom Wrapper](https://community.denodo.com/kb/view/document/OAuth%20authentication%20using%20the%20Salesforce%20REST%20Custom%20Wrapper?category=Custom+Elements)’ for generating the token and you can use the token while creating the baseview from SalesForce data source. Hope this helps!
Denodo Team
03-07-2017 06:54:12 -0400
code
You must sign in to add an answer. If you do not have an account, you can register here