简体   繁体   English

无法通过细分在Salesforce中设置销售线索对象的记录类型

[英]Unable to set Record Type of Lead object in Salesforce through Segment

Our Salesforce Lead object has multiple Record Types. 我们的Salesforce Lead对象具有多种记录类型。
Leads are created via Segment.io. 线索是通过Segment.io创建的。
I'm unable to programmatically set what Record Type the Lead is via Segment. 我无法以编程方式设置“销售线索”通过“细分”的类型。

RecordTypeId is one of the fields on the Lead object, with a data type of Record Type . RecordTypeId是Lead对象上的字段之一,其数据类型为Record Type
I've tried setting RecordTypeId to both the Record Type Name which is found via setup -> object manager -> lead -> record types as well as using the id in the url lightning/setup/ObjectManager/Lead/RecordTypes/${id}/view . 我试过设置RecordTypeId到两个Record Type Name这是通过找到setup -> object manager -> lead -> record types以及使用中的id网址lightning/setup/ObjectManager/Lead/RecordTypes/${id}/view

One assumption I have is that segment thinks that RecordTypeId is a custom field, and it is appending __c to the field name. 我有一个假设是该段认为RecordTypeId是一个自定义字段,并且它将__c附加到字段名称中。

Spoke with the Segment team and they aren't passing RecordTypeId to Salesforce calls. 与细分小组讨论,他们没有将RecordTypeId传递给Salesforce呼叫。 It is on their product roadmap with no ETA. 它在他们的产品路线图中没有ETA。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM