locked
How to modify Add New Document link in a OOB list viewer webpart RRS feed

  • Question

  • Hi All,

    I am using an OOB List viewer webpart to show a document library in a webpart page.

    I am getting this link at the end "Add new Document". I would like to customize this link to show some other text.

    Can anyone help me in this? Any hint will be highly appreciated.

    Thanks,

    Rahul Rashu


    • Edited by Rashu,Rahul Thursday, May 19, 2011 6:46 PM typo
    Thursday, May 19, 2011 6:46 PM

Answers

  • Hi Rahul,

    I hope I'm not over-simplifying your request in my own mind, but I would open the related page in SharePoint Designer. Look for the following in the code:

    <A href="somelink.html">Add new Document</A>

    And change to:

    <A href="somelink.html">some other text</A>

     

    Best wishes,

    Eric

    • Marked as answer by Rashu,Rahul Friday, May 20, 2011 5:38 PM
    Thursday, May 19, 2011 9:03 PM

All replies

  • Hi Rahul,

    I hope I'm not over-simplifying your request in my own mind, but I would open the related page in SharePoint Designer. Look for the following in the code:

    <A href="somelink.html">Add new Document</A>

    And change to:

    <A href="somelink.html">some other text</A>

     

    Best wishes,

    Eric

    • Marked as answer by Rashu,Rahul Friday, May 20, 2011 5:38 PM
    Thursday, May 19, 2011 9:03 PM
  • Hi,

    Thanks for the resposne. It really worked for me.

    Thanks,

    Rahul Rashu

    Friday, May 20, 2011 5:37 PM