camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhiraj Bokde (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10193) add support for lookup field using an sObject external id
Date Tue, 02 Aug 2016 23:14:21 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15404992#comment-15404992
] 

Dhiraj Bokde commented on CAMEL-10193:
--------------------------------------

At a cursory glance, this looks like a significant enhancement. Camel salesforce maven plugin
generated DTOs do not currently support the required relationship {{*__r}} fields. It would
hopefully have access to this information in the _object description_ as a list of all external
id fields in the master SObject. Otherwise that task becomes complicated if the plugin has
to figure out the external fields itself. 

It's not going to be a quick change, and I'd have to find some free time to add support for
this. Alternatively, community members are always encouraged to contribute. :)

> add support for lookup field using an sObject external id
> ---------------------------------------------------------
>
>                 Key: CAMEL-10193
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10193
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-salesforce
>    Affects Versions: 2.17.2
>            Reporter: Satguru Srivastava
>
> A SalesForce object can have a field of type called "lookup". 
> This field is used to by a record in a SalesForce object to reference a record in another
SalesForce object. 
> The value of this field could be a string in which case it would be the record id of
the other record or it could be an object in which case it would contain the other Object's
external field name and its value in that other record. 
> Doing lookup/reference by external id is very useful  specially for insert/upsert operations
as otherwise one has to maintain record id of each of the records in the other Object.
> Camel SalesForce component supports lookup by record id. 
> There is no support for the second type that is the external field name and value type.
>  
> See here for more information on this 
> https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_upsert.htm
>  Section "Upserting Records and Associating with an External ID" 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message