none
Disable hyperlink on task names in "my tasks" page RRS feed

  • Question

  • Hi,

       We have this specific requirement from a customer. We are using PS 2007.  All team member use "My timesheet" to enter time. So none use the "My tasks" page. But they still want us to retain the "my tasks" page for a quick view of task.

       Is there anyway where i can allow access to 'My tasks" page in PWA but the team member should not be able to edit actuals there. For the view, i can disable the fields and allow only task name, start and finish columns; but then every task is a hyperlink wherein the team member can still go and edit tasks details. Please advise if any workaround for the same

    Thanks

    mp

    Tuesday, August 20, 2013 2:01 PM

Answers

  • Hi MP --

    Although I agree that it is nice to offer team members the ability to visit the PWA 'My Tasks' page, there is no built-in way to disable the task name links on the page.

    However, There is probably a way to disable the links with some javascript hackery... I have created hacks like this many times before. Here are the basic steps:

    1. Switch the PWA 'My Tasks' page into editing mode.
    2. Add a Content Editor Web Part (CEWP) to the page, preferably below the tasks web part.
    3. Add some javascript to the source of the CEWP to disable the task links.
    4. Switch the page out of editing mode.

    It's pretty straightforward if you know how to edit SharePoint web part pages, but the trick is writing the javascript to insert into the CEWP. If you know javascript, CSS, and HTML, then you may be able to figure it out. I would look into it for you, but Project Server 2007 is quite outdated and I do not have access to a 2007 system to play with. :-(

    BE CAREFUL... only attempt this in a test environment, and if you get it to work, ONLY THEN transfer your changes into your production environment.

    Let me know if you need further assistance.

    Good luck!

    -- tz


    Tony Zink Vice President, EPMA Company: http://www.epmainc.com Blog: http://www.epmablog.com Training: http://www.epmainstitute.com

    • Marked as answer by Mac_cs Wednesday, August 21, 2013 9:09 AM
    Tuesday, August 20, 2013 3:22 PM

All replies

  • Hi MP --

    Although I agree that it is nice to offer team members the ability to visit the PWA 'My Tasks' page, there is no built-in way to disable the task name links on the page.

    However, There is probably a way to disable the links with some javascript hackery... I have created hacks like this many times before. Here are the basic steps:

    1. Switch the PWA 'My Tasks' page into editing mode.
    2. Add a Content Editor Web Part (CEWP) to the page, preferably below the tasks web part.
    3. Add some javascript to the source of the CEWP to disable the task links.
    4. Switch the page out of editing mode.

    It's pretty straightforward if you know how to edit SharePoint web part pages, but the trick is writing the javascript to insert into the CEWP. If you know javascript, CSS, and HTML, then you may be able to figure it out. I would look into it for you, but Project Server 2007 is quite outdated and I do not have access to a 2007 system to play with. :-(

    BE CAREFUL... only attempt this in a test environment, and if you get it to work, ONLY THEN transfer your changes into your production environment.

    Let me know if you need further assistance.

    Good luck!

    -- tz


    Tony Zink Vice President, EPMA Company: http://www.epmainc.com Blog: http://www.epmablog.com Training: http://www.epmainstitute.com

    • Marked as answer by Mac_cs Wednesday, August 21, 2013 9:09 AM
    Tuesday, August 20, 2013 3:22 PM
  • Hi Tony,

     Thanks for an extensive response, we will try and check this out and take care to do this on test environment first.

     Well as i guessed there should be no means to stop team member from editing actuals.

    Thanks again for your time

    mp

    Wednesday, August 21, 2013 9:09 AM