Posts

Showing posts with the label event

Salesforce Fact #834 | AccountId field on Task and Event

There is a field called 'AccountId' in Task and Event object. This field holds the related AccountId automatically whenever the WhatId is an Id from any of the below objects: Account Opportunity Contract Custom object that is a child of account When the WhoId is a ContactId and WhatId is any other object, in that case it stores the related AccountId of the contact. In all other cases, the AccountId is null. Reference:  https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_task.htm

Salesforce Fact #802 | Child LWC to parent Aura using event propagation properties

Image
If we need to pass data from child LWC component to parent Aura which is two level away from the Aura component, we need to use bubbles: true and composed: true in the event payload. Attached are the code snippet screenshots.

Salesforce Fact #560 | Shared activities

Image
There is a setting under ' Activity Settings ' which enables to share a task/event with multiple contacts and a lead. Using this option, A task/event can be shared with upto 50 contacts and one lead. Note: Once enabled, this feature cannot be disabled from setup. Salesforce support needs to be contacted for the same. Reference:  https://help.salesforce.com/s/articleView?id=sf.activities_enable_shared_activities.htm&type=5 Attached is the screenshot.