• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 698
  • Last Modified:

SharePoint Foundation custom list

Hi,

I'm just playing with SharePoint Foundation a little bit. I've created a custom list with a column called 'comment'. There can be 10 lines of text in that column.

What i want to achieve is that only 1 line is shown in the list in normal view. When i click on the header of the list to go to the full view of the list, then all lines in the column are shown.

Hope I made myself clear..... Seems hard to explain in English :).
0
SvenIA
Asked:
SvenIA
  • 3
  • 2
1 Solution
 
QPRCommented:
You cannot show a partial field in any view.
You can create a view which shows the title (for example) only but shows everything when viewed.

You might be able to code a web part which takes the first part of a rich text box field split by a line break but it seems a lot of work to display random 1 liners.

I'd go with a view that displays a title/synopsis myself
0
 
SvenIAAuthor Commented:
Thanks for the fast reply. Now I know how to create a view, but can you help me out creating a view where that column only shows a title and everything when viewed?
0
 
Rainer JeschorCommented:
Hi,
you may create a Calculated column which just gets the first line (or the first x characters) of the comment field. Use this field in the overview view whereas you use the comment column in the detailed view.

HTH
Rainer
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
SvenIAAuthor Commented:
Ok I think I understand. In the normal view I can just leave the comment column out. In full view it appears with all the text. That will do it for me!
0
 
SvenIAAuthor Commented:
Ok Rainer, thanks for the reply. I'll take a look at that option!
0
 
QPRCommented:
Yep that's exactly it. Summary for the default view and full text when viewing an individual item
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now