Hide Activity and comments in requested item

Tadz
Tera Guru
Tera Guru

Hi is there a way to hide:

  • Activity Field
  • Update and Delete Buttons
  • comments field

In requested item?

Capture.PNG

Thanks,

Tadz

11 REPLIES 11

Brian Dailey1
Kilo Sage

Hi Cris,



There are a lot of ways you can accomplish this... what you do depends a lot on what your final goal is to be.



For the fields:


  • you can edit the form by right-clicking the form header and choosing "Configure->Form Design", and then remove those fields from the form entirely
  • or if you need those fields there sometimes for some users but not for others, you can setup UI Policies to hide the fields under certain conditions
  • or hide them using client scripts
  • or set Read permissions on them server-side using ACL's to limit visibility to certain roles or conditions


As for the Update/Delete buttons, you can find those in your UI Actions module and add a condition so that they don't show on your particular type of objects (requested items).   Many generic UI Actions like Update or Delete apply globally, so you might not want to just disable them (since they are used elsewhere as well).




Hopefully that gives you something to go on.




Thanks,


-Brian


Vinobalu
Kilo Expert

Hi Cris,



You can remove Additional comments and Activity in Form layout.



Right click on Form Header -> Configure - > Form Layout.



Thanks,


Vinobalu


Tadz
Tera Guru
Tera Guru

Hi Brian and Vinobalu,



I made the comments hidden using g_form.setDisplay('comments',false);



I plan on hiding them all using g_form.setDisplay('field_name',false);



Where can we see the fieldname of Activity?



Thanks,



Tadz


I tried doing this exact same thing via UI Policy w/ script, but it did not work.



Comments is still displaying bundled in with the work notes journal field.



I am using Geneva.