Hi all,
I want to utilise BPF stages but hide the flyout (fiels on each stage) and use the fields on the form so the fields get more space. Is is possible to hide the flyout when a stage is clicked?
I have tried below code to inject CSS to hide the flyout but it has no effect.
//on form load Xrm.Page.data.process.addOnStageSelected(HideFlyout); function HideFlyout(){ var style = document.createElement('style'); style.innerHTML = '[id^="MscrmControls.Containers.ProcessStageControl-processHeaderStageFlyout_"]{display:none;}'; document.getElementsByTagName('head')[0].appendChild(style); }
thanks