I want to hide or remove the Assistant and KB Records tab within social pane, because i really don't need these two tabs on social pane.
So, how can i hide/remove them?
*This post is locked for comments
There is no supported way to customize the social pane.
This is not possible in supported way.
Hello,
As suggested already no supported option is available, in case looking for unsupported changes,look for this post: community.dynamics.com/.../185017 but keep in mind these changes can break any time and not recommended.
Hi Shakti,
The following unsupported way worked for me.
function HideSocialPaneTabs() { debugger; var t = window.parent.document.getElementById("header_notescontrol"); for (var i = 0; i < t.childElementCount; i++) { if (t.children[i].innerText == "ASSISTANT" || t.children[i].innerText == "KB RECORDS") { t.children[i].style.display = 'none'; } } }
Hope this helps.
Thanks Gopinath,
It works, thanks for help.
Nothing wrong with using the API via JavaScript as Gopinath has shown.
People seem to be getting hung up on supported/unsupported.
OK, it won't do it out of the box - but the API IS SUPPORTED.
Microsoft release masses of information about it, about updates, about deprecations and required changes as well as providing backward-compatibility periods for any fundamental change - this is SUPPORT.
It just means you have to keep on top of it. The unsupported thing is bogus.
From https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/supported-extensions
All interaction with Dynamics 365 for Customer Engagement application pages must only be performed through the methods with the methods documented in the Client API Reference. Directly accessing the Document Object Model (DOM) of any Dynamics 365 for Customer Engagement application pages is not supported. The use of jQuery in form scripts and commands is not recommended. More information: Client scripting in Customer Engagement apps using JavaScript
Good call Brad. I guess I should look at the code properly before going off on a rant.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 2
HR-09070029-0 2
UllrSki 2