Home Analyst Portal
Options

Hide user information button

Magnus_Lundgren1Magnus_Lundgren1 Customer Adept IT Monkey ✭✭
Hi.

Is it possible to hide the information button on userpickers for end users?



Best Answer

Answers

  • Options
    Magnus_Lundgren1Magnus_Lundgren1 Customer Adept IT Monkey ✭✭
    Worked great! had to change .open-modal to .info-icon
    app.custom.formTasks.add('ServiceRequest', null, function (formObj, viewModel) {
        formObj.boundReady(function () {
    			if (!session.user.Analyst) { 			
    				$('label[for="RequestedWorkItem"] ~span .info-icon').hide();  	  
    			}
        });
    });
    app.custom.formTasks.add('ServiceRequest', null, function (formObj, viewModel) {
        formObj.boundReady(function () {
    			if (!session.user.Analyst) { 			
    				$('label[for="CreatedWorkItem"] ~span .info-icon').hide();  	  
    			}
        });
    });

    To hide Created by and Affected user from SR


  • Options
    Adrian_MataiszAdrian_Mataisz Customer Advanced IT Monkey ✭✭✭
    Hmm.. It wasn't working for me either with .open-modal. I know it worked initially. 

    I changed mine code too, thanks for the feedback- helped me check what end user see and fix it. 
  • Options
    Magnus_Lundgren1Magnus_Lundgren1 Customer Adept IT Monkey ✭✭
    Think i read that they change it in V7 of the portal
Sign In or Register to comment.