v4.11.4 - Removed Chatter dependencies #554
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For years, Nebula Logger has leveraged Chatter's field feed tracking functionality to automatically create Chatter posts for new
Log__c
andLogEntry__c
records. In Salesforce, this can be done in 2 steps:Log__c
Log__c.LoggedBy__c
When deploying metadata/installing packages, Salesforce will gracefully handle orgs with Chatter disabled:
trackFeedHistory
node in field metadata is used to automatically enable Chatter's feed tracking in the appropriate fieldstrackFeedHistory
node is ignored/the deployment completes successfullyHowever, several of the App Builder pages (
FlexiPage
metadata) in Nebula Logger have been using the standard Chatter components to display the record's Chatter activity. Using these standard components has created a hard dependency on having Chatter enabled - orgs with Chatter disabled have been blocked from installing Nebula Logger.Given that Nebula Logger's usage of Chatter is very simple (it only has field feed tracking enabled as a convenience - there is no other functionality in Nebula Logger that relies on Chatter), having Chatter disabled should not prevent orgs from utilizing Nebula Logger. As a compromise, this release removes the Chatter components from Nebula Logger's UI, but feed data is still automatically tracked on the backend in orgs that have Chatter enabled.
Core Unlocked Package Changes
Removed Chatter dependencies
config/scratch-orgs/base-scratch-def.json
to help implicitly test in the pipeline that Chatter is not required to deploy/install Nebula Loggerconfig/scratch-orgs/experience-cloud-scratch-def.json
will continue to have Chatter enabled to help test that Chatter being enabled doesn't cause problems either 😅FlexiPage
metadata to remove a dependency on Chatter being enabled in orgs - Chatter is no longer required 🥳<trackFeedHistory>true</trackFeedHistory>
in the field XML)Installation Info
Core Unlocked Package - no namespace
Full Changelog: v4.11.3...v4.11.4
sf package install --wait 20 --security-type AdminsOnly --package 04t5Y000001HZdPQAW
sfdx force:package:install --wait 20 --securitytype AdminsOnly --package 04t5Y000001HZdPQAW
This discussion was created from the release Removed Chatter dependencies.
Beta Was this translation helpful? Give feedback.
All reactions