CWL
@cwl
Admin
Member
Joined: Aug 6, 2013
Last seen: Jul 15, 2024
Issues: 103 / Replies: 102
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
Reply
RE: How to find the id of a page in Salesforce

Lets say you wan to find out the id of the opportunity from a visualforce page: public class YourClass { public string OppId{get;set;} // To ...

3 years ago
Forum
Topic
Forum
Replies: 2
Views: 569
Page 7 / 14