Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm currently displaying content from a list using a webpart, is it possible to update the content of this list using the webpart ?

I would prefer to use an 'out of the box' web part. How can I create a link to the edit form of the List ?

share|improve this question
    
Please provide more detail. What kind of web part? Out of the box or custom? If out of the box, you can create a link to the edit form of the item. –  teylyn May 23 '13 at 20:59
    
@teylyn please see questioned update –  user470184 May 24 '13 at 13:17
    
I still don't understand. How are you currently "displaying content from a list"? With what webpart? If you use a list view web part, you can click individual list items and update them. Or you can enable in-line editing. Does that not work for you? –  teylyn May 25 '13 at 4:01
    
@teylan I just want to update the field of a list via the web part directly, so display the current field value within the web part and update the value using same webpart without having to view the list item directly –  user470184 May 28 '13 at 20:45
add comment

1 Answer

up vote 2 down vote accepted

You can use a list view web part and enable inline editing for the list view. Then you can click the edit icon to change fields without opening the item in the list form.

enter image description here

With Inline Editing enabled, you can see an edit icon when you hover over the item's link field. Click the edit icon and all fields of that item will turn into edit mode. Controls like drop-downs and calendar pickers will be available, too. Edit the item values, then click the blue Save icon. Or discard your edits by clicking the red X button.

To insert a list view web part in a wiki page, edit the page and select Insert > Web Part. Select LIsts and Libraries in the Categories and then click the list for which you want to add the web part.

In a Web Part Page, click the Add a web part area in the web part zone to open the insert web part dialog. In the screenshot below, I am inserting a List View Web Part for a list called "InlineEditing", which is a custom list that I created to answer this question.

enter image description here

share|improve this answer
    
by 'list view web part' are you referring to a 'custom list view' with a web part used to display its contents ? As there does not seem to a content type 'list view web part' ? –  user470184 May 29 '13 at 14:00
    
I've asked that before but you did not react, so I'll ask again: In your question you say I'm currently displaying content from a list using a webpart - Exactly what web part are you using to do that? -- Do you know how to add a list view web part to a page? Add Web Part command, and then select the list. I'll add a screenshot above. –  teylyn May 29 '13 at 20:53
    
sorry about delay, thanks for your help –  user470184 Jun 5 '13 at 10:27
add comment

Your Answer

 
discard

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.