SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created some pages in the 'Pages' library pertaining to certain content. They have an extra field called 'Description' used to store the summary about the page.

Now, if the description on a page contains the 'Title' of any other page in the library, it should get automatically hyperlinked to that page.

Any suggestions on how to go about this?

share|improve this question

I don't know about any OOTB solution for this, but what you could do is:

  • Create an Event Receiver for ItemAdded and ItemUpdated.
  • Retrieve all items.
  • Replace all occurrences of each title (from all items) in the description with a link to the item.
  • Safely update the item.
share|improve this answer
That's a good idea... Unfortunately, I have my hands tied when it comes to using custom code (no Visual Studio, only SP Designer is allowed). I would prefer something closer to OOTB. – Anurag Oct 31 '12 at 7:50
I guess you could do the same with a workflow, although I'm not sure how pretty it would be in SPD. A workflow built with VS on the other hand. Are you so tied you could not make a sandboxed solution? – eirikb Oct 31 '12 at 7:52 sandbox solutions. A workflow that is executed every time an item is added or updated and replaces the text in description with hyperlinks to other documents- I wonder if SPD is upto it. – Anurag Oct 31 '12 at 7:56

If custom code is not allowed, you can add javascript using content editor web part in the page that can handle this.

You just need to find description data using jQuery/javascript and get data from sharepoint using javascript sharepoint client api and convert appropriate characters to hyperlink.

Let me know if you need more help.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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