I am trying to mask the created by field value in SharePoint discussion board list. Tried the power shell script way $SPlist.ShowUser=$false. But this is taking out the functionality for replying to the discussion board. I am looking for a JavaScript solution to mask the value by the script below.






  1. Is there a better way to mask the value?
  2. Created by field is shown for few seconds and the javascript is invoked later to replace the value. How can I avoid it?
  • Are you using 2013? – Erin L Oct 11 '16 at 19:20

if you use JSlink you can specify your own rendering template (in Javascript). This will solve point 2.

This example uses color coding, but the idea is the same

  • Thank you for your reply. Could you please point me to some examples? – user57156 Oct 6 '16 at 15:59
  • I've added a link to an example. I'd happy to write a complete masking example for you tommorow, if you want. – Robert Wagenaar Oct 6 '16 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.