Skip to main content
Nintex Community Menu Bar

Hide Print to PDF Button

  • May 9, 2018
  • 1 reply
  • 22 views

Forum|alt.badge.img+3

I have a custom Print to PDF button setup inside the form .

The default one in the ribbon generates PDF misaligned .

Now i like to hide the default  Print to PDF button .

Tried using this code , didn't work . could anybody help me with this 

if(isNewMode)
{
.ms-cui-tabContainer ul li:nth-child(4){
visibility: hidden !important;
}
}

if(isDisplayMode)
{
.ms-cui-tabContainer ul li:nth-child(3){
visibility: hidden !important;
}
}

if( isEditMode)
{
.ms-cui-tabContainer ul li:nth-child(5){
visibility: hidden !important;
}
}

1 reply

Forum|alt.badge.img+3
  • Author
  • May 9, 2018

I tried this which worked , but it hides the entire ribbon . I like to hide just the print to PDF .

NWF$("#s4-ribbonrow").hide();