New answers tagged customer-community
0
ChatterMessage object is for private messages.
postFeedElement(communityId, feedElement) is for direct messages.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/connectapi_examples_post_feed_element_direct_message.htm
0
I have done the setup like below and I'm able to switch between communities.
Created new SSO in Salesforce org.(setup > Single sign-on)
Created new connected app for the new SSO in the same org.(setup > app manager) and added the profiles under profile based access section.
Created a new remote site for the SSO issuer URL(new custom domain) under ...
1
You can perform DML if your class has a without sharing Clause. Also, you can display the data on UI if you have a wrapper class. But you can't do so by referring to the object itself.
For Example:
If you are returning a list of Opportunities from the AuraEnabled apex method, if this method is called in the customer community context, you will run into an ...
0
You can write the DML statement in a method on an Apex Class that is declared "without sharing" so the action runs as the System User.
Documentation Link: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_keywords_sharing.htm
Top 50 recent answers are included
Related Tags
customer-community × 568community × 222
apex × 65
lightning-aura-components × 48
lightning-community × 47
community-builder × 44
visualforce × 33
customer-portal × 29
lightning × 22
sharing × 22
napili × 22
chatter × 20
partner-communities × 20
user × 18
login × 18
case × 15
permissions × 15
licenses × 14
security × 12
email-template × 11
single-sign-on × 11
knowledge × 11
force.com-sites × 10
email × 9
sharing-sets × 9