Salesforce Asked by user85715 on January 4, 2022
Is it possible to create an Event
record through the rest API by the following;
Say the Event requires a reference field called RecordTypeId
of type reference
, but I only have the RecordType.Name
not the Id
. Is it possible to supply a name (string) value when creating an Event
for this field without having to query the RecordType
to find the Id
?
I have only the Name
(string
) and want to create a record in a single request. Is it possible?
It appears it is possible by submitting:
RecordType.Name: 'name string'
and salesforce performs the appropriate lookup. The name happens to be unique in my case.
Answered by user85715 on January 4, 2022
1 Asked on January 10, 2021 by user39815
1 Asked on January 10, 2021
1 Asked on January 9, 2021
3 Asked on January 9, 2021 by zuzannamj
1 Asked on January 8, 2021 by dgeorgiev
1 Asked on January 8, 2021 by dukerok
1 Asked on January 8, 2021 by shuckyducky
0 Asked on January 8, 2021 by rosa
1 Asked on January 7, 2021 by krishna-teja-karnam
lightning lightning aura components lightning web components sforce visualforce
1 Asked on January 7, 2021 by ghosty
1 Asked on January 6, 2021 by ajinkyasd
1 Asked on January 4, 2021
1 Asked on January 3, 2021 by mike-marks
0 Asked on January 2, 2021 by daniela-cerqueira
1 Asked on January 2, 2021 by hans-christian-milman
2 Asked on January 1, 2021 by mahesh-raghuraman
2 Asked on January 1, 2021
1 Asked on January 1, 2021 by swisher-sweet
1 Asked on January 1, 2021
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP