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

Is there a way to create a view in SharePoint for a Discussion Board that shows only a part of the body content and a link at the end that says "more". Then, when the user clicks on this link the complete content is shown. I'd like to do it with Out of the box functionality.

share|improve this question

If you want to stay for the OOTB I would sugest 3 approaches:

  1. Use jQuery libraries - you could easily depose those in any Document Library and reference them from Content Editor Web Part which you would depose on the page where you need to enable it.
  2. Using SharePoint Designer, modify the OOTB web parts (mainly XSLT DataView)
  3. I would say more advanced, without re-compiling code create a custom view in the list where you can embed your JS code.

Conclusion: I all cases you need considerable skills with XML/XSLT and some JavaScript.

share|improve this answer

The preferred way to accomplish this is with client side code, as the users don't want the page to refresh everytime they need to know more. You'll need to use JavaScript/jQuery, or css in modern browsers.

Here is an example of text truncation using jQuery:

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.