Salesforce

Salesforce

GACKs in Salesforce

"An internal server error has occurred." is nothing but a GACK. Check the following article for more information:https://developer.salesforce.com/blogs/engineering/2015/02/gackVote for the following idea for making GACKs public reference:https://ideas.salesforce.com/s/idea/a0B8W00000GdnF5UAJ/provide-a-public-reference-of-gack-general-stack-trace-identifiers

Salesforce

How to subscribe to Platform Event using Lightning Web Component in Salesforce?

HTML: <template> <lightning-card title="EmpApi Example" icon-name="custom:custom14"> <div class="slds-m-around_medium"> <lightning-button variant="success" label="Subscribe" title="Subscribe" onclick={handleSubscribe} disabled={isSubscribeDisabled} class="slds-m-left_x-small"></lightning-button> <lightning-button variant="destructive" label="Unsubscribe" title="Unsubscribe" onclick={handleUnsubscribe} disabled={isUnsubscribeDisabled} class="slds-m-left_x-small"></lightning-button> </div> <lightning-datatable key-field="ReplayId" data={listEvents} columns={columns} hide-checkbox-column="true"> </lightning-datatable> </lightning-card> ....

Salesforce

Chatter compact is looking different in other objects Lightning Record Pages when compared to Case, Lead and Social Post object in Salesforce

The Case, Lead and Social Post objects uses the Compact Feed. Other objects doesn't use Compact Feed.Please check the following article for reference.https://help.salesforce.com/apex/HTViewSolution?urlname=Chatter-feed-Like-options-are-different-with-thumbs-up-icon-on-posts-or-menu-with-Like-on-Chatter&language=en_USCase, Lead, and Social post objects are supported ....