Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Hide the tab within Social Pane

Posted on by 932

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

  • Community Member Profile Picture
    Community Member Microsoft Employee 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.

  • Brad Sprigg Profile Picture
    Brad Sprigg 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
    Community Member Microsoft Employee 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.

  • Suggested answer
    RE: Hide the tab within Social Pane

    Thanks Gopinath,

    It works, thanks for help.

  • Verified answer
    Nithya Gopinath Profile Picture
    Nithya Gopinath 17,074 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
    Mahendar Pal Profile Picture
    Mahendar Pal 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.

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

    This is not possible in supported way.

  • Indra Sheker Profile Picture
    Indra Sheker 65 on at
    RE: Hide the tab within Social Pane

    There is no supported way to customize the social pane.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans