Think Dynamic, Do Dynamic Microsoft Dynamic CE | Powerapps || Dynamic CRM || Power Apps || Power Platform

Saturday, 16 March 2024

FOCUS ON A TAB USING JAVASCRIPT IN DYNAMICS 365

 Let’s look at JavaScript code to move a user to a specific tab in Dynamics 365 / Power Apps.

Below on the Account record I have these tabs – Summary, Project Price Lists, General etc:

Let’s go to the General tab when something happens, like changing a field value.

The General tab is called Partner_Details:

context:function
FocusOnTab(executionContext)
{ var formContext = executionContext.getFormContext(); formContext.ui.tabs.get(“Partner_Details”).setFocus(); }

Here’s the code is below. Be sure to pass the execution

Now we start on the Summary tab:


No comments:

Post a Comment

Popular Posts

Featured post

Understanding Dataverse MCP vs Power Apps MCP – Quick Review

  Understanding Dataverse MCP vs Power Apps MCP – Quick Review Model Context Protocol (MCP) has quickly become one of the hottest topics in ...

Post Top Ad

Your Ad Spot

Pages