CWL
@cwl
Admin
Member
Joined: Aug 6, 2013
Last seen: Jan 22, 2025
Issues: 104 / Replies: 103
Topic
Forum
Replies: 2
Views: 454
Reply
RE: Salesforce api error - Provided external ID field does not exist or is not accessible

Its because the field CODE__c is not marked as external id. Make sure the external id check box is checked for that field and then the API will work. ...

3 years ago
Forum
Reply
RE: record getting inserted in dev org but describe object returned when api insert in prod. org

Found out the issue. Make sure mydomain name is used instead of instance url in base url in the api end point. For example: Instance URL:/span>Ba...

3 years ago
Forum
Reply
RE: Salesforce Id in Name filed when inserting via standard API

Figured it out. Name is a required field and when you supply null value via JSON, the newly created record's id is used for the record Name field as w...

3 years ago
Forum
Reply
RE: Postman session error

Try going into the settings tab in Postman and turn on the Follow Authorization Header setting. Salesforce Integration INVALID_SESSION_ID using Post...

3 years ago
Forum
Topic
Forum
Replies: 2
Views: 389
Reply
RE: How to create a Task-Email Activity from Apex

insert new Task( Subject = 'Subject: Test email....', WhoId = myContact.Id, WhatId = myOpportunity.Id, TaskSubtype = 'Email', ...

3 years ago
Forum
Topic
Forum
Replies: 2
Views: 952
Reply
RE: How to merge records in Apex?

The merge statement merges up to three records of the same sObject type into one of the records, deleting the others, and re-parenting any related rec...

3 years ago
Forum
Topic
Forum
Replies: 2
Views: 911
Reply
RE: Inserting records into two or more objects in Salesforce with a single DML statement

Here is an example. Insert Account and Contact using one insert statement: Account a = new Account(Customer_ID__c='123',name='account1'); Contact c...

3 years ago
Forum
Page 7 / 14