Freebies

This is my small contribution to the SharePoint world. It is a web part that once added to a web part page, allows you to customise the display by adding JavaScript to selectively hide controls on the page . Ever needed to hide a field from display/edit for a certain audience? Well here is a way do it without requiring SharePoint Designer and having to break a page from it’s site definition (unghosting).

Before and after shots below (look ma – no top button!)

image image

To fully understand what is being done here, I suggest you read my series of articles on the use of JavaScript in SharePoint. The full series can be found here: Part 1, Part 2, Part 3, Part 4, Part 5 and Part 6.

Otherwise click here to download the web part

 Digg  Facebook  StumbleUpon  Technorati  Deli.cio.us  Slashdot  Twitter  Sphinn  Mixx  Google  DZone 

No Tags

6 Responses to Freebies

  1. Pingback: CleverWorkarounds » Why do SharePoint Projects Fail - Part 6

  2. Pingback: CleverWorkarounds » "Ain’t it cool?" - Integrating SharePoint and real-time performance data - Part 2

  3. Ray says:

    How does this differ from just adding a contenteditor wp with some JS?

  4. admin says:

    read the posts – I think from part 4 on 🙂

  5. brendanm says:

    Hi There
    This webpart is a piece of functionality that I have been seeking for sometime. After various solutions from elsewhere I found you approach to be the best for a newbie developer like myself. Your 6part explanation of the entire process was absolutely superb. Best I have seen on the net for solving the good old MOSS headache. Keep up the good work.
    cheers

    Brendan
    Tauranga
    New Zealand

  6. Pingback: Collaboration, Technology, and New York » DVWP Errors and observations

Leave a Reply

Your email address will not be published. Required fields are marked *