0
I'd like to have my workflow's custom browser screen "automatically" collapse the SBM Left Side Navigation Pane (if it's open) when a User clicks on (activates) a Tab in the body of my custom workflow screen. The reason for this is that this Tab displays an embedded report that's quite wide, and I want to collapse the Navigation Pane (if it's open) so that the embedded report fills up the screen. I looked in the source code for the SBM screen and I see this function reference: "preCollapseTaskPanel(tasksTable)" and I tried creating a Form Action that will execute this function when the User "Activates the Tab", but the system is not collapsing the Navigation Pane for me. Any thoughts on what I might be able to do, or on the exact syntax of the JavaScript code to force the collapse of the SBM Left Side Navigation Pane, would be greatly appreciated. Thanks.

Accepted Answer

Thursday, May 18 2017, 05:43 PM - #Permalink
0
Tony,

See if this approach gets you any further. Instead of running that function I used this syntax and just mimicked the click of the arrow

top.document.getElementById('closerHref').click()
  • Tony Carrington
    more than a month ago
    Thank you very much Brian. That worked like a charm, and I really really appreciate your help.
The reply is currently minimized Show
Responses (0)
  • There are no replies here yet.
Your Reply

Recent Tweets

Twitter response: "Invalid or expired token."