Show all versions of an item in a list view SharePoint 2010

Hi,
I created a task list and a view.  The list has a comments field which is set up to append new comments.  In the view, the comments are coming up with a link "View Entries".  How can I get the view to show all of the comments
for each item in a view.
For instance, instead of it showing the list item:
ID  Comments
1    View Entries...
it would show:
ID Comments
1  Blah
1  Blah Blah
1  Blah blah blah
Thanks,
Jan

I handled this a different way, however this will only work for you if you don't have a big list yet.
1. Create a new field called "Comments Report"
2. Copy and paste existing comments into that field
3. Create a workflow in SharePoint Designer on Item Created and Change, under Action "Set Field in Current Item":
Set [Comments Report] to [%Workflow Context:Current User%] ([%Workflow Context:Date and Time Started%] [%Workflow Context:Date and Time Started%]): [%Current Item:Comments%] </br></br>[Current Item:Comments Report%]
The first date and time is Short Date, the second is Short Time.  Then hide the Comments Report within the Manage Content Type edit screen by changing it to hidden, and only display the Comments Report field where you want to view it.

Similar Messages

  • How to get items from a list that has more items than the List View Threshold?

    I'm using SharePoints object model and I'm trying to get all or a subset of the items from a SharePoint 2010 list which has many more items than the list view threshold (20,000+) using the SPList.GetItems() method. However no matter what I do the SPQueryThrottledException
    always seems to be thrown and I get no items back.
    I'm sorting based on the ID field, so it is indexed. I've tried setting the RowLimit property on the SPQuery object(had no effect). I tried specifying the RowLimit in the SPQuerys ViewXml property, but that still throws a throttle exception. I tried using the
    ContentIterator as defined here:http://msdn.microsoft.com/en-us/library/microsoft.office.server.utilities.contentiterator.aspx,
    but that still throws the query throttle exception. I tried specifying the RowLimit parameter in the ProcessListItems functions, as suggested by the first comment here:http://tomvangaever.be/blogv2/2011/05/contentiterator-very-large-lists/,
    but it still throws the query throttle exception. I tried using GetDataTable instead, still throws query throttle exception. I can't run this as admin, I can't raise the threshold limit, I can't raise the threshold limit temporarily, I can't override the lists
    throttling(i.e. list.EnableThrottling = false;), and I can't override the SPQuery(query.QueryThrottleMode = SPQueryThrottleOption.Override;). Does anyone know how to get items back in this situation or has anyone succesfully beaten the query throttle exception?
    Thanks.
    My Query:
    <OrderBy>
        <FieldRef Name='ID' Ascending='TRUE' />
    </OrderBy>
    <Where>
        <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
    </Where>
    My ViewXml:
    <View>
        <Query>
            <OrderBy><FieldRef Name='ID' Ascending='TRUE' /></OrderBy>
            <Where>
                <Geq><FieldRef Name='ID' /><Value Type='Counter'>0</Value></Geq>
            </Where>
        </Query>
        <RowLimit>2000</RowLimit>
    </View>
    Thanks again.

    I was using code below to work with 700000+ items in the list.
    SPWeb oWebsite = SPContext.Current.Web;
    SPList oList = oWebsite.Lists["MyList"];
    SPQuery oQuery = new SPQuery();
    oQuery.RowLimit = 2000;
    int intIndex = 1;
    do
    SPListItemCollection collListItems = oList.GetItems(oQuery);
    foreach (SPListItem oListItem in collListItems)
    //do something oListItem["Title"].ToString()
    oQuery.ListItemCollectionPosition = collListItems.ListItemCollectionPosition;
    intIndex++;
    } while (oQuery.ListItemCollectionPosition != null);
    Oleg
    Hi Oleg, thanks for replying.
    The problem with the code you have is that your SPQuery object's QueryThrottleMode is set to default. If you run that code as a local admin no throttle limits will be applied, but if you're not admin you will still have the normal throttle limits. In my
    situation it won't be run as a local admin so the code you provided won't work. You can simulate my dilemma by setting the QuerryThrottleMode  property to SPQueryThrottleOption.Strict, and I'm sure you'll start to get SPQueryThrottledException's
    as well on that list of 700000+ items.
    Thanks anyway though

  • Example to see all site collections in a specific content DB in sharepoint 2010

    Can someone give an example to see all site collections in a specific content DB
    in SharePoint 2010.
    I've tried the below ones but it gives all content DB's with all site collections.
    Get-SPContentDatabase | %{Write-Output "- $($_.Name)”; foreach($site in $_.sites){write-Output $site.url}}
    Appreciate your help

    Use Get-SPSite cmdlet
    $spAssgn = Start-SPAssignment;
    Get-SPSite -ContentDatabase "<SPContentDBName>" -Limit ALL -AssignmentCollection $spAssgn|Select Title,Url;
    Stop-SPAssignment $spAssgn;
    Get-SPSite
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Conflict between Client object model and Item Updated Event Receiver in sharepoint 2010

    Hello All,
    As per my requirement I have a two custom list.
    Agent Details
    Port Name
    Agent Details contains Agent code, Port Name,  email, address and phone of Agent. Its possible that one Agent Code is connected with multiple Port Name.
    Basically what I am doing is I am getting port name connected with Agent code, using jquery and bind those values with check box(using javascript created dynamically) and bind all with Div tag.
    Now when my custom edit form of Agent list open up it shows me different port name binding with checkbox group.
    when user select the check box and click confirm button my clicent object model script will run and add this selected value into Port Name list. 
    After confirm one more button named Save will enable asking user to edit the email, phone or address value and when I click on save my Item updated event fires which update the values of the selected port name(These port name I am getting from port
    name list) to Agent Details custom list.
    Now when I am trying to update the values my event receiver fires or some times it got stuck(not firing). So could you please help me the possible alternative for this requirements.
    Can we user the Ecma Script(Client object model to preserve the value of selectec port) and Item updated event receiver on the same time?
    Is anything am doing wrong then please guide me.

    Hi,
    As I understand, when you updated values in the agent details list the Item updated event receiver got stuck sometimes.
    The item update event receiver will fire after the item has been saved, and the client object model script or the Ecma Script runs before the item is saved, so there is no conflict between the client object model script and item update event receiver.
    You could find out the reason about the item update event receiver gets stuck by debugging the event receiver.
    When you want to debug your event receivers, you have to attach to OWSTIMER.EXE and wait till they are executed. You can control this behavior using the Synchronization attribute. Also, if you’re looking for an easy way to debug an event receiver without
    having to manually attach a debugger to your code, you can use the System.Diagnostics.Debugger.Launch() method.
    The articles below are about how to debug in the event receiver in SharePoint 2010.
    http://sharepoint-kings.blogspot.jp/2013/02/debugging-event-receivers-in-sharepoint.html
    http://chakkaradeep.com/index.php/event-receivers-in-sharepoint-2010/
    http://sharesaint.com/?p=77
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Reading items from a list view in SharePoint 2013

    I am trying to read items from a Calendar, and have created a view that contains all the items/events that I would like to retrieve to package in a CSV file, specifically the Title, Description, and the Start and End Dates.
    The problem with some events is that they are recurring, and rather than use CAML to expand the events and try to query it that way, I thought it would be more elegant to just get the events from the view, and package them with a simpler query.
    The problem I am running in to is that I can reference the entire list and package the data, or I can reference the list and get all the data in a specific date range, which does not include the recurring events, but I cannot simply read the data from the
    view.
    Any pointers would be greatly appreciated. Also, can you recommend any complete-ish texts on PowerShell with SharePoint?

    Hi,
    Based on my understanding, as there is no straight way of using CAML to query all the events(specially for instances of recurring events) by a list view, I would suggest
    you separately query the instances of recurring events needed.
    A code demo(though in C#) about
    how to query events(include recurring events) from Calendar list in this thread for your reference:
    http://social.technet.microsoft.com/Forums/en-US/99c3ded6-a8cb-4509-9a74-e93e445d78c7/how-does-calender-list-daterangesoverlap-todaymonthyear-and-week-exactly-work?forum=sharepointdevelopmentprevious
    About
    how to export to CSV file:
    http://www.codeproject.com/Articles/667269/Export-To-CSV-file
    http://www.codeproject.com/Articles/685310/Simple-and-fast-CSV-library-in-Csharp
    How to export to CSV file using PowerShell:
    http://shaiknb.wordpress.com/2013/05/27/powershell-sharepoint-export-list-items-via-view-to-csv/
    http://meandmysharepoint.blogspot.com/2012/08/export-sharepoint-list-data-into-csv.html
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they
    help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]
    Patrick Liang
    TechNet Community Support

  • How do I show the location of songs in the normal list view?

    Hi,
    I always used J River Media Center to synch my ipod nano, because ITunes was tragically slow and having issues with all media being on an external drive. Also, Media Center plays everything and synchs everything. But now I've bought the Ipos Nano 5th Gen 16gb, and guess what: it won't work with anything but ITunes .... sigh .... it seems to upload the songs, but then the Nano doesn't recognize it as a playable file.
    I have spend a lot of time for a very simple feature which I'm sure is somewhere in ITunes, really sorry if this question is simply TOO stupid. I know I can view the location of any song by right clicking the song and going to "show Info", but I would like to see the location of the songs in the normal List view, especially since I have some duplicates and want to make sure I am deleting the right one .....
    Any assistance much much much appreciated!
    thanks!

    Alexbroe8 wrote:
    But now I've bought the Ipos Nano 5th Gen 16gb, and guess what: it won't work with anything but ITunes
    You can sync the iPod with MediaMonkey. See this article => Music Organizer MediaMonkey Runs Rings Around iTunes.

  • How to show next instance of Recuring Event in Calendar List View

    We have a calendar that we are using to display upcoming events.  However we are unable to get a clean output of next instance date for recurring events such as paydays or monthly meetings.  As opposed to showing next instance it shows the date
    the event was originally put in the calendar. 
    I am guessing it will take a custom script, but I don't even know where to begin with that.

    Hi Swen,
    According to your description, my understanding is that you want to display the recurring events as separated events in the calendar list view.
    I recommend to create a Standard View, with Expanded Recurring Events for the calendar list,
    and each instance of a recurring event will be showing in this view.
    More reference:
    http://office.microsoft.com/en-in/sharepoint-server-help/create-change-or-delete-a-view-of-a-list-or-library-HA102774516.aspx#_Toc337729214
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Validation settings for a list in Sharepoint 2010 to find if there is a document attached to the list item

    Hi Everyone,
    Greetings!!!
    I have a very peculiar question on List validation settings. I want to validate a list item whether user has attached a document to the list item or not? The list item should not be saved until a document is attached to it. Is it possible to perform this
    validation for a list item in a list?
    Please let me know.
    Thanks,
    Thiru
    Tirumal

    Can be done using java script as below
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c93d7611-f634-4c03-ae0d-3b5ecfe5ca6a/how-to-make-attachment-required-field?forum=sharepointadminlegacy
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/5a3fe11a-75ea-44bd-aab9-80817640290f/how-to-make-an-attachment-required-field-in-a-custom-newform-sharepoint-2010-list?forum=sharepointcustomizationprevious
    Dont think below is right
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/fba48bc1-8708-401c-8a37-bc00f77eeae3/making-attachments-required-in-a-custom-list?forum=sharepointadminlegacy

  • How to Color code the list items if Issue Tracking lists in Sharepoint 2010 SP1

    Hi, Can any one guide me in making the list tasks color coded according to the status of the issue.
    as if issue is Resolved ( green line ), Active ( red line ) etc.
    example as following:
    I have read a lot of blogs, but none have step by step guide. a step by step guide will be excellent. Thanks in advance.
    http://blog.pathtosharepoint.com/2009/02/26/highlight-rows-in-sharepoint-lists/
    http://blog.pathtosharepoint.com/2008/09/01/using-calculated-columns-to-write-html/
    etc
    Thanks.

    Do you have SharePoint Designer 2010 installed?
    Open your site in sharepoint designer
    click lists and libraries
    click the name of your list
    in "views" on the right, click "new..." and give it a name.
    in this new view of the list, click in one of the cells of the actual list of issues, so that the contextual ribbon at the top will give you all the options you need.
    Click "Conditional Formatting" in the ribbon.  This will let you pick "row".
    Then you just have to define your conditions:
    if priority is equal to (3) Low, then pick yellow as the background color.  Do the same type of thing to create the other 2 conditions.
    Laura Rogers
    SharePoint911: SharePoint Consulting
    Blog: http://www.sharepoint911.com/blogs/laura
    Twitter: WonderLaura
    Books:Beginning SharePoint 2010: Building Business Solutions with SharePoint
    Using InfoPath 2010 with Microsoft SharePoint 2010 Step by Step

  • List Item event receiver not working: SharePoint 2010

    Hi,
    I have ceated one custom list and also created a Event reciever solution using Visual Studio 2010.
    In the event reciever I added ItemAdded, ItemUpdated events and did some my business related coding.
    It was worked very well when I add/edit the list item.
    But, now suddenly it stopped working!, I i really don't know what went wrong suddenly.
    Only thing I did is, created one more solution event reciver and added some more columns to the list.
    I then reverted all these changes and deleted the new event reciever from the site solution.
    I am able to build and deploy the solution in VS 2010, and I could see the solution in site solution but events are not firing when I created/edited the list items
    Any idea what went wrong and how can I get it back to work.
    It has spoiled my all the work and I am unable to proceed.
    Please let me know if anyone have any inputs.
    I also tried following things: restart visual studio and deploy again, restart IIS, restart system itself, actvate-deactivate solution manually in site, GAC the dll manually.
    But nothing has worked for me.
    One more thing, I am using this solution as Sandbox solution and when I tried to make Sandbox as false and then deploy it gave me error like:
    "Error occurred in deployment step 'Activate Features': Operation is not valid due to the current state of the object."
    Is this something related to my above problem?
    Thanks, Sharath

    Check Event receivers using powershell:-
    Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $spWeb = Get-SPWeb -Identity "sitename"
    $spList = $spWeb.Lists["yourlistname"]
    $spList.EventReceivers | Select assembly,name
    Replace "sitename" with your site url and "yourlistname" with list name.
    Once you confirm  the event receivers, use below to delete them
    Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $spWeb = Get-SPWeb -Identity "your site url"
    $spList = $spWeb.Lists["TrackTravel"]
    $evts = $spList.EventReceivers | where {$_.Assembly -eq ""your assembly"}
    $evts
    if ($evts.Count -gt 0) {
                foreach ($evt in $evts) {
                    Write-Host("Deleting..." + $spList.RootFolder.ServerRelativeUrl + ", " + $evt.Type)
                    $evt.Delete()
    Once you run this, you can now redeploy your solution.
    http://social.technet.microsoft.com/Forums/en/sharepoint2010general/thread/a911a64f-b4cb-49a8-ad61-899d4e418c2a
    ganesh

  • Selecting items in column/list view copying them and pasting them to

    in the past (was it OS 9 ?????? ) i would be able to select all items in a folder
    if i had a long list of titles of files ( songs ) and copy to clipboard and then paste them to text edit and have that list handy for future reference. for example if i have a DVD with 100 photos. I want to keep a file of the names only. I used to be able to select all of them copy and then paste to a document. Cant do it in TIGER????? am i wrong?
    work arounds....

    Hi, Glenn.
    How this works now appears to depend on the application into which you are pasting the results.
    If I open a folder, Select All (Command-A), Copy (Command-C), and then paste into a TextEdit document, if the contents include PDFs it actually pastes all the PDFs into the document! Looks like a change in how this works.
    If I paste into a Carbonized text editor, like Tex-Edit Plus, it pastes the file names, as expected.
    Here's a workaround:
    1. Open the Macintosh HD > Applications > Utilities folder and Lunch Printer Setup Utility. You should see a printer icon in your Dock.
    2. Drag and drop the folder whose contents you want to save a listing of to the icon in the Dock.
    3. When the Print window displays, either:• Click Preview. A print preview of the FInder info for those files appears in Preview. If you like what you see, select File > Save As... and save the output.
    • Click the PDF pop-up button and select "Save as PDF" from the list. Follow the prompts from there to save the Finder info as a PDF file.The resulting PDF saves the list you desired.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • How to get specific folder and items in the document library sharepoint 2010

    I have a Shared library and it has Test folder and inside so many documents now i need to display the Test folder and items programmatically.
    Appreciate Help!!!!!
    Blitz

    This is how you could do it using the server object model -
    SPWeb site = SPContext.Current.Web;
    SPList list = site.Lists["listname"];
    SPQuery query = new SPQuery();
    SPFolder folder = list.RootFolder.SubFolders["FolderName"];
    query.Folder = folder;
    SPListItemCollection items = list.GetItems(query);
    foreach (SPListItem item in items)
    //do whatever you want here
    Please "Mark as Answer" if a post has answered your question or "Vote as Helpful" if it was helpful in some way. Here's
    why

  • How to read XSLT list item of a list view web part in SharePoint designer 2010 using jquery

    Hi ,
    I have a requirement to get data from one list(e.g., A) and display in some other list's(e.g.,B) custom display form(e.g., CustomDispForm.aspx). 
    Here I am going to do this with the help of Jquery SP Services using GetListItems(). For getting the data I need to pass two parameters from list(B), but the data is like <xsl:value-of select="@testField_"/> .
    I have stuck how to pass such variables in Jquery function.
    Please let me know how to achieve .
    Thanks in Advance.

    Follow below code to pass variables to jQuery function in xslt. It will better to use parameters.
    <xsl:variable name="varTestFields">
    <xsl:value-of select="@TestField_"/>
    </xsl:variable>
    <!-- jQuery Function - Check the passing of parameters -->
    jQueryFunction('{varTestFields}'
    OR
    <!-- jQuery Function - Check the passing of parameters -->
    jQueryFunction('{@TestFields_}'
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • SharePoint 2010 : How to display ALL Version History of a list item's multiline text box in a same list as a list view column?

    In SharePoint 2010 , I have version history enabled multiple text box 'issue details'.  Users mainly uses Data Sheet view and it does not show all version history of that multiple line text box, is there anyway we can display list view column in
    data sheet view to display all version history?
    2) If we can not display in datasheet view, in standard view, it should display all version history instead of just a link  to -view all entries'
    I have found one article here and it posts to use below line of code in sharepoint desinger
    <SharePoint:AppendOnlyHistory runat="server" ItemId="{$thisNode/@ID}" FieldName="Issue_x0020_Details" ControlMode="Display"></SharePoint:AppendOnlyHistory>
    WHen I use this line of code , it displays multiple line of same version history instead of each, please help.

    Hi
    Greetings. Hope it helps 
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/d1be5434-7dc9-4941-bf1d-8c12d7e6a155/display-version-history-in-list-view-column?forum=sharepointcustomizationlegacy
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Showing all values for Multiple Line field with Append Changes

    I have a simple SharePoint list with a multiple line column that has append changes enabled. I am doing a report with Report Builder 3.0 and I want to show all values of the field the same way you achieve it through a DVWP using:<SharePoint:AppendOnlyHistory
    FieldName="Comments" runat="server"
    ControlMode="Display" ItemId="{@ID}"/>
    For reference, I'm trying to replicate this function, but on a report:
    http://sympmarc.com/2011/02/07/showing-all-versions-of-append-changes-to-existing-text-in-a-data-view-web-part-dvwp/ 
    Any suggestions to show all the appended values in a report?

    Hi Lewis75581,
    According to your description, you want to show the append changes history of a column in Reporting Services. Right?
    In Reporting Services, we don't have a feature to show the change history of a column. However, we can have workaround on SQL level. In SQL Server, we have tables: inserted table and deleted table which contains the recently inserted and deleted records.
    In this scenario, we can create a trigger in your database. Once you insert rows into the table, it will be triggered and get those inserted rows. Then insert those rows into another table. Now we can create one more dataset based on this table and display
    these inserted rows in our report. This might be the most effective workaround for your requirement. Please refer to a similar thread below:
    http://social.technet.microsoft.com/Forums/en-US/dacfb141-a976-489a-acca-789ba90e15de/ssrs-multiple-reports-with-different-parameteres-in-single-window?forum=sqlreportingservices
    Reference:
    Use the inserted and deleted Tables
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

Maybe you are looking for

  • Error - FTR_EDIT (Unable to settle the deal using ftr_edit)

    Dear All, Dear All, While  settling the MM deal using T code - FTR_EDIT I am getting the bellow error messages.              1) Error Message : Recording position management: Error during distribution FTRM 100000000000                   Message no. F

  • Print Output in IA03

    Is it possible to print an equipment task list from within IA03? If so, how? Thanks, Dean.

  • Error when trying to download Desktop Software for my 8700g

    Hi Folks, I am new to blackberry and these forums. I have a 8700g. I am trying to download the 4.2 desktop software and after filling up the form i get this error. You don't have permission to access "http://swdownload-us.rim.com.edgesuite.net/swdown

  • Have reinstalled ITunes correctly-after USB not recognized for new Shuffle

    New Shuffle- 1st time it says USB not recognized- Apple sends me info to uninstall and re-install I-Tunes- I-Phone is still seen- try Shuffle- first message says USB port recognized- next one says something about hardware not being installed properly

  • Delay in airtunes

    I recently purchased the 21.5" quad core imac and love it.  Very recently, within the last month, I've started experiencing some delay when streaming audio through airtunes.  It's a slight delay but enough to create an echo effect and drive me insane