Which statement is true about using ConnectApi namespace (also called - ProProfs Discuss
Advertisement

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: Oct 18, 2020

+ Answer
Request
Question menu
Vote up Vote down

3 Answers

Gourav

Gourav

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.

upvote downvote
Reply 

j. Goodman

j. Goodman

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.

upvote downvote
Reply 

Pal

Pal

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.
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

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