Questions tagged [sobject-tree]
The sobject-tree tag has no usage guidance.
7
questions
0
votes
1answer
29 views
Sobject tree parent field update
I have a child record called Order, Account is Parent of Order. I am trying to insert a Order via sObject tree and at the same time I am trying to update its parent field but it throwing an error, any ...
3
votes
1answer
241 views
ERROR running force:data:tree:import: The requested resource does not exist when using force:data:tree:import
I'm having some trouble with importing Json file which containing data in SObject using
sfdx force:data:tree:import -p ./data/Project__c-Round__c-plan.json
It spits out an error which is:
ERROR ...
0
votes
1answer
125 views
Invalid entity type provided in the request on composite/tree/customObject
I'm trying to receive a POST call with multiple records of a custom object. I don't know if that's the best choice but i'm using /services/data/v47.0/composite/tree/CSVEnergyLead__c/
When i try to do ...
1
vote
1answer
408 views
Query Email Template folder parent Id - is it possible?
I'm trying to implement a lightning-component-based custom display of email templates and their folders in a form similar to lightning:tree (a tree view with collapsible levels).
There's a nested ...
1
vote
0answers
217 views
Referencing RecordType by name in Tree Request
Is there a way to reference a record type by name in tree requests?
My example payload:
{
"records": [
{
"LastName": "Doe",
"RecordType": {
"...
4
votes
0answers
104 views
`sfdx force:data:tree:import` FAILS when field API name has numbers in it
I'm posting this issue again as it is not resolved yet. I don't understand why it's not part of the known issues of Salesforce DX.
This has been reported here 5 months ago, with a temporary fix. The ...
3
votes
1answer
1k views
Using SObject Tree REST resource to update record
I'd like to update an Account and create a child Contact in a single transaction using REST API. Tried to use SObject Tree endpoint, but when I simply pass the Id in object body, I get:
Don’t ...