xrm-mock icon indicating copy to clipboard operation
xrm-mock copied to clipboard

getVisbile, setVisible on formselector is not implemented. headersection, footersection on Ui obeject are also not available.

Open UserAnandM opened this issue 5 months ago • 0 comments

getVisbile, setVisible on formselector is not implemented. headersection, footersection on Ui obeject are also available.

How do I write unit testing for the following implementations.

To hide the form selector:

formContext.ui.formSelector.items.forEach((f)=>{
function(f){
f.setVisible(false);
}
}

To deal with footer and header sections.

formContext.ui.headerSection.setBodyVisible(false);
formContext.ui.headersection.setCommandbarVisible(false);
formContext.ui.footerSection.setVisble(false);

UserAnandM avatar Jan 17 '24 03:01 UserAnandM