How to hide activity pane in dynamics 365 in a supported way.
*This post is locked for comments
How to hide activity pane in dynamics 365 in a supported way.
*This post is locked for comments
Hi,
Please refer this link
community.dynamics.com/.../quick-tip-turn-activity-feed-posts-off-in-dynamics
Above code will only hide the Activities section. I think there's no other way to hide that. If you came around the other way please let me know about it.
Regards,
Hardik Chauhan
I am looking for a supported way not getElementId
I want to hide only activities not notes. Notes should be there only activities should be hidden
Hi sanket,
Please add below script on form OnLoad event, it will hide the Activities pane.
function HideActivities()
{
var ctrlElement = document.getElementById("header_notescontrol");
if (ctrlElement.children != null && ctrlElement.children.length > 0)
{
for (var ele = 0; ele < ctrlElement.children.length; ele++)
{
var ctrl = ctrlElement.children[ele];
if (ctrl.title == "ACTIVITIES")
{
ctrl.style.display = "none";
if (ele + 1 < ctrlElement.children.length)
{
ctrlElement.children[ele + 1].click();
return;
}
else if ((ele - 1) >= 0)
{
ctrlElement.children[ele - 1].click();
return;
}
}
}
}
}
Regards,
Hardik Chauhan
Hello Sanket87,
In additioan to that if you are looking for hiding any particular tab in social pane then you can't do that. You can hide it as suggested or remove it completly from them form (you can add it later if required).
Hello Sanket87, From the form customization, you can hide Social Pane Section.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156