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
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
Good call Brad. I guess I should look at the code properly before going off on a rant.
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
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.
Thanks Gopinath,
It works, thanks for help.
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.
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.
This is not possible in supported way.
There is no supported way to customize the social pane.
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,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156