Activity panel without setting up a section case
10:39 Apr 14, 2023
Hello,
Is it possible to add only the activity panel, that shows the shortcut icons to different activities, without adding a section case?
I would only like to see the activity icons on the top of the form, not the case stages.
Like
1 comments
15:07 Apr 14, 2023
Hello,
Here is the example on how to remove stages from the opportunity DCM:
define("SectionActionsDashboard", [], function() { return { methods: { shouldBeVisible: function() { var currentEntity = this.get("EntitySchemaName"); var isCurrentEntityOpportunity = currentEntity == "Opportunity"; if (isCurrentEntityOpportunity) { return false; } return true; } }, diff: /**SCHEMA_DIFF*/[ { "operation": "merge", "name": "ActionsControl", "parentName": "HeaderContainer", "propertyName": "items", "values": { "visible": { "bindTo": "shouldBeVisible", "bindConfig": { converter: "invertBooleanValue" } } } }, ]/**SCHEMA_DIFF*/ }; });
This should be added to the replaced (if there is no replacement it should be created) SectionActionsDashboard and the page should be refreshed.
Show all comments