• mfawcett
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 15
    Replies
Hi,

I have the an issue using data loader command line, in my case I have two custom objects A and B and there is a master detail relationship between the two, and object A has an external ID.

I found some documents on line and based on those I have done the following configurations:

In the process-conf file I included:
<entry key="sfdc.externalIdField" value="A__r.External_ID__c"/>

In the mapping file I have this:
Id=Id
A__r.External_ID__c=A__r\:External_ID__c


But I am getting an error the " Field name provided A__r.External_ID__c id is not an external id or indexed field on B" 

It worked using the data loader wizard. Any help I will appreciate it.
Hi,

I have the an issue using data loader command line, in my case I have two custom objects A and B and there is a master detail relationship between the two, and object A has an external ID.

I found some documents on line and based on those I have done the following configurations:

In the process-conf file I included:
<entry key="sfdc.externalIdField" value="A__r.External_ID__c"/>

In the mapping file I have this:
Id=Id
A__r.External_ID__c=A__r\:External_ID__c


But I am getting an error the " Field name provided A__r.External_ID__c id is not an external id or indexed field on B" 

It worked using the data loader wizard. Any help I will appreciate it.
Hello. I'm sorry if this is a silly question. I'm using VB .Net WPF and I'm trying to use the Enterprise SOAP API. I'm using this guide: https://developer.salesforce.com/docs/atlas.en-us.224.0.api.meta/api/sforce_api_quickstart_steps_import_wsdl.htm

I'm getting some errors in the autogenerated class. I know that there is a bug but I'm not fully understanding what that fix is for if it applies here. If you need any more information please let me know. Thank you!
Severity	Code	Description	Project	File	Line	Suppression State
Error	BC30663	Attribute 'GeneratedCodeAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'SerializableAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'DebuggerStepThroughAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'DesignerCategoryAttribute' cannot be applied multiple times.
Error	BC30663	Attribute 'XmlTypeAttribute' cannot be applied multiple times.
Warning		Custom tool warning: Schema could not be validated. Class generation may fail or may produce incorrect results
Warning		Custom tool warning: Schema validation error: Schema item 'simpleType' named 'FaultCode' from namespace 'urn:fault.enterprise.soap.sforce.com' is invalid. The Enumeration constraining facet is invalid - 'fns' is an undeclared prefix.	
Warning		Custom tool warning: Schema validation error: Schema item 'simpleType' named 'FaultCode' from namespace 'urn:fault.enterprise.soap.sforce.com' is invalid. The Enumeration constraining facet is invalid - 'fns' is an undeclared prefix.


 
Hi Team,

Any suggesstions please?

The Salesforce URL - https://greatcompany.my.salesforce.com is used to login to my PROD salesforce org.

While connecting to dataloader app using Server Host - https://greatcompany.my.salesforce.com,  I am getting the error message mentioned below,


2019-06-26 14:54:15,073 ERROR [main] client.PartnerClient setConfiguredSessionId
 (PartnerClient.java:535) - Failed to get user info using manually configured se
ssion id
com.sforce.ws.ConnectionException: Failed to send request to https://greatcompany.my.
salesforce.com/services/Soap/u/46.0
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:121)
        at com.sforce.soap.partner.PartnerConnection.getUserInfo(PartnerConnecti
on.java:575)
        at com.salesforce.dataloader.client.PartnerClient.setConfiguredSessionId
(PartnerClient.java:533)
        at com.salesforce.dataloader.client.PartnerClient.login(PartnerClient.ja
va:508)
        at com.salesforce.dataloader.client.PartnerClient.connect(PartnerClient.
java:229)
        at com.salesforce.dataloader.controller.Controller.login(Controller.java
:225)
        at com.salesforce.dataloader.controller.Controller.login(Controller.java
:220)
        at com.salesforce.dataloader.ui.AuthenticationRunner.loginAsync(Authenti
cationRunner.java:100)
        at java.base/java.lang.Thread.run(Thread.java:835)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
        at com.salesforce.dataloader.ui.AuthenticationRunner.login(Authenticatio
nRunner.java:77)
        at com.salesforce.dataloader.ui.LoginStandardControl.loginButton_Clicked
(LoginStandardControl.java:75)
        at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at com.salesforce.dataloader.ui.uiActions.OperationUIAction.run(Operatio
nUIAction.java:54)
        at com.salesforce.dataloader.ui.LoaderWindow$2.widgetSelected(LoaderWind
ow.java:238)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
        at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at com.salesforce.dataloader.ui.LoaderWindow.run(LoaderWindow.java:149)
        at com.salesforce.dataloader.controller.Controller.createAndShowGUI(Cont
roller.java:266)
        at com.salesforce.dataloader.process.DataLoaderRunner.main(DataLoaderRun
ner.java:50)
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.s
ecurity.provider.certpath.SunCertPathBuilderException: unable to find valid cert
ification path to requested target
        at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:320)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:263)
        at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.ja
va:258)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
checkServerCerts(CertificateMessage.java:641)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
onCertificate(CertificateMessage.java:460)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
consume(CertificateMessage.java:360)
        at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392
)
        at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext
.java:441)
        at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext
.java:419)
        at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext
.java:177)
        at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)

        at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:11
80)
        at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocke
tImpl.java:1091)
        at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl
.java:402)
        at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSock
et(SSLConnectionSocketFactory.java:396)
        at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSL
ConnectionSocketFactory.java:355)
        at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect
(DefaultHttpClientConnectionOperator.java:142)
        at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
PoolingHttpClientConnectionManager.java:373)
        at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClie
ntExec.java:394)
        at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.
java:237)
        at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java
:185)
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
        at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java
:110)
        at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttp
Client.java:185)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp
Client.java:83)
        at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttp
Client.java:108)
        at com.salesforce.dataloader.client.HttpClientTransport.getContent(HttpC
lientTransport.java:133)
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:97)
        ... 29 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed:
 sun.security.provider.certpath.SunCertPathBuilderException: unable to find vali
d certification path to requested target
        at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.
java:384)
        at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXVal
idator.java:289)
        at java.base/sun.security.validator.Validator.validate(Validator.java:26
4)
        at java.base/sun.security.ssl.X509TrustManagerImpl.validate(X509TrustMan
agerImpl.java:321)
        at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509Trus
tManagerImpl.java:221)
        at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X5
09TrustManagerImpl.java:129)
        at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.
checkServerCerts(CertificateMessage.java:625)
        ... 53 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to
 find valid certification path to requested target
        at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(Sun
CertPathBuilder.java:141)
        at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBui
ld(SunCertPathBuilder.java:126)
        at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.ja
va:297)
        at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.
java:379)
        ... 59 more
2019-06-26 14:54:15,077 ERROR [main] ui.AuthenticationRunner handleError (Authen
ticationRunner.java:130) - Failed to send request to https://greatcompany.my.salesfor
ce.com/services/Soap/u/46.0
2019-06-26 14:54:15,078 ERROR [main] ui.AuthenticationRunner handleError (Authen
ticationRunner.java:131) -
        com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:121)
        com.sforce.soap.partner.PartnerConnection.getUserInfo(PartnerConnection.
java:575)
        com.salesforce.dataloader.client.PartnerClient.setConfiguredSessionId(Pa
rtnerClient.java:533)
        com.salesforce.dataloader.client.PartnerClient.login(PartnerClient.java:
508)
        com.salesforce.dataloader.client.PartnerClient.connect(PartnerClient.jav
a:229)
        com.salesforce.dataloader.controller.Controller.login(Controller.java:22
5)
        com.salesforce.dataloader.controller.Controller.login(Controller.java:22
0)
        com.salesforce.dataloader.ui.AuthenticationRunner.loginAsync(Authenticat
ionRunner.java:100)
        java.base/java.lang.Thread.run(Thread.java:835)
        org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
        com.salesforce.dataloader.ui.AuthenticationRunner.login(AuthenticationRu
nner.java:77)
        com.salesforce.dataloader.ui.LoginStandardControl.loginButton_Clicked(Lo
ginStandardControl.java:75)
        org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
        org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
        org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
        org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
        org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        org.eclipse.jface.window.Window.open(Window.java:801)
        com.salesforce.dataloader.ui.uiActions.OperationUIAction.run(OperationUI
Action.java:54)
        com.salesforce.dataloader.ui.LoaderWindow$2.widgetSelected(LoaderWindow.
java:238)
        org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
        org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
        org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
        org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
        org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
        org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        org.eclipse.jface.window.Window.open(Window.java:801)
        com.salesforce.dataloader.ui.LoaderWindow.run(LoaderWindow.java:149)
        com.salesforce.dataloader.controller.Controller.createAndShowGUI(Control
ler.java:266)
        com.salesforce.dataloader.process.DataLoaderRunner.main(DataLoaderRunner
.java:50)
Hi All, 
I have created a visualforce page which uses account lookup fields. I am using these page in lightning by giving lightningstylesheets  = "true".
However, when I click on the search Icon of lookup field, the lookup pop opens in classic mode but I need this lookup field in lightning style. Is there anyway to get it work using Visualforce page?
User-added image
User-added image


 
Hi,

I am sending a large attachment from salesforce to an external system. While sending the attachments I am facing some issue, I am not able to send attachments size is greater than 12 MB, is there any possibility to send the attachments 12 MB?

Please let me know how to achieve this.

Thanks,
Vijay
Hi,

I have the an issue using data loader command line, in my case I have two custom objects A and B and there is a master detail relationship between the two, and object A has an external ID.

I found some documents on line and based on those I have done the following configurations:

In the process-conf file I included:
<entry key="sfdc.externalIdField" value="A__r.External_ID__c"/>

In the mapping file I have this:
Id=Id
A__r.External_ID__c=A__r\:External_ID__c


But I am getting an error the " Field name provided A__r.External_ID__c id is not an external id or indexed field on B" 

It worked using the data loader wizard. Any help I will appreciate it.
Hi,


When re-rendering the parent element of a apex:map, I get this error message displayed instead of the map:
"HTTP ERROR 401  Problem accessing /maps/JavascriptHandler. Reason:      Unauthorized Powered by Jetty://".

It works fine on the first loading. Any idea?
Hi Have a wired situation with command-line data loader v.29 from an daily automated data loads from external oracle system

using commanding line data loader I uploaded customer data into account object on account I have an external field oracle__id text field.In that I am storing my oracle unique identifier

I have an child object called address .it is an custom object. It has an look-up relation ship with account .In that child object I have an external field oracle_child__id stores oracle uni id related to customer.

I pulled address data from oracle did a upsert. but my relation field with account is not updating

in my mapping file I have

Account= Account__c\:oracle_id

and process xml file

external field value is oracle_id

It is not working. There is any work around to link master standard object with child custom object in command-line data-loader. I went lot of material no clue. thanks
  • April 21, 2014
  • Like
  • 0