You are viewing limited content. For full access, please sign in.

Question

Question

Auto-Expand Details Pane Upon Opening Task

asked on June 27, 2023

A client would like for the Details pane to be expanded by default when a Task is opened. Any solutions/ideas on how to accomplish this?

0 0

Replies

replied on June 27, 2023

This has been tested in Forms Version 11.0.2212.30987.  This will work in the Classic Designer.  This will not work in the Layout Designer (the javascript in the Layout Designer is run within a sandboxed iFrame and cannot directly access components of the form or window).

$(document).ready(function () {
  
  //Force the details pane to be open if it is closed.
  $('.right-drawer-toggleBtn[title="Expand"]', window.parent.document).click();
  
});

 

1 0
replied on June 29, 2023 Show version history

Hi Tayler,

 

Forms will remember user's last choice to show/hide the detail panel and respect the choice the next time user opens a task. This is a per user option so that the choice will apply to all tasks the user opens.

 

If you want to force the detail panel open by default for all users, Mattew's answer will work as classic form JavaScript is executed after Forms finishes loading the detail panel.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.