Hide Timeline on Mobile Client on Dynamics 365


As we all know that Timeline is a new control introduced from Version 9.x of Dynamics 365. It is a section on Web UI but on the Mobile it appears as a Tab.

Sometimes as per Business requirement we might have to show and hide the timeline. On the web, it is easy to do as it is a section and the same appears as a Tab on Mobile client and show/hide code written for the section doesn’t work here. Technically, it is a tab on the mobile. Here is the code that works on the Mobile. We just need to get the timeline tab name to do this.

        var tabObj = formContext.ui.tabs.get(“TIMELINEWALL_TAB_SYSTEM_GENERATED”);

So we have to show/hide section for Web UI and tab for mobile client.

Hope this helps.

Happy CRM’ing


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s