Posts

Showing posts from May, 2020

Solved : Nintex - Show/Hide Panels according to user permissions

Image
If you want to disable/hide controls according to user groups or single user you can archive by using the following methods Show / Enable Nintex form controls only to Specific SharePoint User Group Create a new rule Add the following Condition  Code snippet : fn-IsMemberOfGroup("YourSPGroupName") Note :  use  double quotation  marks when using your group name. Show / Enable Nintex form controls only to Specific (People picker) user  Create a new rule Add the following Condition  Code snippet :  not(userEquals( Current User , YouPeoplePickerName )) Thank you : Happy Coding !!

Nintex Forms : Print to PDF, hide the Control Buttons (Custom JavaScript Button)

Image
If you wants to hide the Save, Cancel buttons while you printing your Nintex form, please follow the bellow steps Add a new button to your form designer  Go to "Control setting" of the Button  Figure 1 : Custom Button Control Settings  Add the Settings as above in the Figure 1 Use the below code for the Client Click field :  NWF.FormFiller.PrintToPDF.PrintToPDF(); Add a CSS Class to the controls that you wish to hide during print command (Figure 2) Figure 2 : CSS Class Use the below CSS script on the form control settings Nintex Form > Settings > Custom CSS                 @media print {                 .myButton {                      visibility: hidden! important;                           }         ...