web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Hide the tab within Social Pane

(0) ShareShare
ReportReport
Posted on by 958

4760.pane.png

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 have the same question (0)
  • Indra Sheker Profile Picture
    69 on at
    RE: Hide the tab within Social Pane

    There is no supported way to customize the social pane.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Hide the tab within Social Pane

    This is not possible in supported way.

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: Hide the tab within Social Pane

    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.

  • Verified answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: Hide the tab within Social Pane

    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.

  • Suggested answer
    Shakti Singh Rajput Profile Picture
    958 on at
    RE: Hide the tab within Social Pane

    Thanks Gopinath,

    It works, thanks for help.

  • Community Member Profile Picture
    on at
    RE: Hide the tab within Social Pane

    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.

  • Brad Sprigg Profile Picture
    985 on at
    RE: Hide the tab within Social Pane

    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

  • Community Member Profile Picture
    on at
    RE: Hide the tab within Social Pane

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans