Which statement is true about using ConnectApi namespace (also called - ProProfs Discuss
Topics
Products
Follow Us:

Which statement is true about using ConnectApi namespace (also called Chatter in Apex)?



A. Chatter in Apex methods honor the with sharing and without sharing keywords.
B. Chatter in Apex operations are synchronous, and they occur immediately.
C. Chatter in Apex methods do not run in system mode; they run in the context of the current user.
D. Many test methods related to Chatter in Apex require the BIsTest (SeeAllData=true) annotation.

This question is part of PD2
Asked by Pal, Last updated: Jul 07, 2020

+ Answer
Request

3 Answers

Gourav

Gourav , Bangalore

Answered Jun 26, 2020

C. Chatter in Apex methods do not run in system mode; they run in the context of the current user. They run in User context only and It ignores with/without sharing keyword.

D. Many test methods related to Chatter in Apex require the BIsTest (SeeAllData = true) annotation. Most of the time ConnetAPI classes fail if seeAllData is false.

 

j. Goodman

J. Goodman, Web Content Writer, San Antonio

Answered Sep 20, 2018

Connect Api is a feature of Chatter, an API development that enables the salesforce to connect safely and usefully with others. It is the social network of any Salesforce. Salespeople can post quotes, images, updates, and more.

The Connect Api namepace contains classes for accessing the same data in Chatter Rest Api. Now chat and forms of chatter can be customised. The feed of the current user will need to be obtained. This action is another feature of Chatter; Connect Feed type.

 

Pal

Pal

Answered Feb 08, 2018

Chatter in Apex operations are synchronous, and they occur immediately.
Chatter in Apex methods do not run in system mode; they run in the context of the current user.
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.