Hidden controls on a list or item view toolbar cause an empty toolbar to be displayed at runtime

  • 22 December 2015
  • 0 replies
  • 2 views

Userlevel 3
Badge +10


 

Symptoms

 


When using hidden controls on a SF view (list or item) to track state, the list view's toolbar will be displayed even when no visible controls are present. When developing an item view, the hidden state controls can be moved to the control body (out of the toolbar) to work around the issue. In a list view however, there is no alternate placement for hidden state controls available.
 

 

Diagnoses

 


Known issue.
 

 

Resolution

Workaround:
- Add a hidden, literal Data Label to the page with an expression containing:
<script>document.getElementsByClassName('panel-toolbars')[0].style.display='none';</script>

 

 



 

0 replies

Be the first to reply!

Reply