Retain Modified Date after adding a column

I have a sharepoint list that has been in use for some time.  
There are reports generated bases on "last modified"  
As the site admin, I need to add a column to the list and then enter some values into the new columns. 
But this changes all of the modified dates.  
Any was to preserve this date? 

If you are able to update the list items using PowerShell, you can use the SPListItem.SystemUpdate(false) method.
This will update the list item without changing the modified date / modified by information, and without creating a new version.
See: https://msdn.microsoft.com/en-us/library/office/Microsoft.SharePoint.SPListItem.SystemUpdate.aspx
Regards, Matthew
MCPD | MCITP
My Blog
View
Matthew Yarlett's profile
See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
Upload and Crop User Profile Photos

Similar Messages

  • Errors processing after adding Computed Column to Time.

    Errors in the high-level relational engine. The 'Time' table is based on a named query, and contains one or more computed columns. A table based on a named query cannot contain computed columns. If the computed columns are necessary, add them to the query
    expression.
    Help me, pls! Thanks!

    Hi CUONGNV0207,
    According to your description, you get this error when processing cube. Right?
    As the error message mentioned, a table based on a named query cannot contain computed columns. If you create a computed column in this table, it will throw this error. In this scenario, please go to the DSV and check if that table is set up with named query.
    You can replace it with a DimTable in your database.
    Reference:
    cryptic error when processing cube
    Errors processing after adding Computed
    Column to Time
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • IPhoto: Retain modified date&time details when re-importing

    Instead of having all my photos in just one iPhoto library, I am now moving out photos into separate iPhoto libraries to better manage my photos:
    ... Export photos from existing/old library
    ... Re-import photos into newly-created library
    Some of my existing photos have modified date & time (result of not checking camera clock after a service!)
    Is there a way to retain these modified details when exporting photos from the OLD library and re-importing them into the NEW library?
    I am really hoping not to re-edit the photo attributes
    Thanks in advance
    Message was edited by: auroranight

    I am using iPhoto 6.0.6 I do not know of any option "modify original photo". Other than 'batch change' there is no option.
    You are posting in the iPhoto '08 forum and will get iPhoto '08 answers here - if you want iPhoto 6 answers it is best to post in the iPhoto 6 forum
    I xferred the pics from my camera to a new folder on my desktop. The times are all correct in that folder.
    Again - how are you seeing that the time is correct? iPhoto looks at the EXIF data and the finder looks at the file data - how are you seeing the EXIF data on the desktop? EXIF viewer - http://homepage.mac.com/aozer/EV/index.html - is a useful utility to have to see the EXIF data
    You can create a fresh plist - that might be the issue but I doubt it - quit iPhoto and in the finder to to "your username" ==> library ==> preferences ==> com.apple.iPhoto.plist and delete it - launch iPhoto and reset any personal user preferences you have changed and if you have moved the location of the iPhoto library repoint iPhoto to it
    LN

  • No dates in Last Modified Date or Added Date

    Hello.
    Due to some issues with our servers i'm unable to make any SR's so i hope to recive some answers here instead while that issue gets resolved.
    When looking in the colums "Added Date" and "Last Modified Date" certain activites have no dates there. When attempting to filter all the activities with a filter "Added Date Equals 'Blank' " ie all aktivites who do not have a date in Added Date, the results are 0 activites. I interpret this as the fields are not empty but for some reason the information is not displayed.

    781070 wrote:
    Hello.
    Due to some issues with our servers i'm unable to make any SR's so i hope to recive some answers here instead while that issue gets resolved.
    When looking in the colums "Added Date" and "Last Modified Date" certain activites have no dates there. When attempting to filter all the activities with a filter "Added Date Equals 'Blank' " ie all aktivites who do not have a date in Added Date, the results are 0 activites. I interpret this as the fields are not empty but for some reason the information is not displayed.As far back as I can remember, filtering by either of those fields has never worked.
    There are a number of reasons why the last modified or added date could be blank.

  • After adding one column in a table can't get the header line

    hi all,
    i have make a SMART FORM which was working perfectly.Now the requirement of user is to add one column in my table at smart form which i did and after modification i execute it it give me data as well but issue which i'm facing is that the TABLE at smart forms in which i have add one field is not displaying the HEADER LINE which i have define with SELECT PATTREN option.
    Thanks & Regards,
    sappk25

    Hi,
    Have you created the Header Text? If yes, then might be the case that your smartforms
    table which was already created is with Multiple Line. Check weather you have added
    customer field in Header Line or Not?
    Regards,
    SUjeet

  • Found errors in existing report after added a column in an existing table

    Hi,
    I have a Table called "EMP" and a interactive report "EMP_Details".
    EMP table has data and it shows in the report.
    EMP_Details report has two buttons. - 1.Create - it is used while inserting a new record into the table for a new joinee
    2. Get_Info - it is used in case you want to know about an employee(there is a drop down to select the name os a employee) in details.
    Till now the report was working fine.
    Now What I did...
    1. I did some edit in the values in the EMP table.
    2. I added a new column in the Table and put some value in each row. Now the table was changed and the new values and column was reflected in the table.
    3. so accordingly, I added the new column in the "Process" used for inserting a new record into the table and i selected the new column from the "Select column list" for showing it in the report.
    Now what happened to report
    1. I am getting the report for the old employees but what i made changes in the table.. it has not been reflected in the report.
    2. The new column is shown in the report but the values I have put in the table have not shown in the report.
    3. While inserting the data for a new joinee, the value can not be inserted into the table at all.
    Appreciate, If anyone understands my issues and give any solution.
    Thanks in advance.
    Kuldip

    Kuldip:
    Sounds like you may have forgotten to 'Commit' your changes to the database . Go to the session where you edited the values of the EMP table and execute a 'commit'.
    varad

  • Dump when selecting SoS after adding new column in SoS tab in SRM7.0 SC

    Hi Experts,
    We are using Classic Scenario with ECC6.04.
    We added 2 extra column  ( Plant & Sto Loc) in the Source of Supply Tab in the SRM Shopping Cart.
    I added these fields in webdynpro/SAPSRM/WDC_DODC_SC_I_SOS in the view V_DODC_SC_I_SOS
    Appended these two field in the structure /SAPSRM/S_PDO_APP_SOS_VEN  and added the logic to get plant and storage location
    in WDDOINIT method.
    When system proposes any B/E SoS ( Contract or PIR) it shows value of Plant or Sto Location from respective SoS in the respective Column correctly.
    But when we select any Contract or PIR row other than 1st , then system throws below dump
    100209
    sgsgsav0s2003
    https://sgsgsav0s2003.ad.internal:44300/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif
    GETWA_NOT_ASSIGNED
    Field symbol has not yet been assigned.
    Method: UPDATE_META_DATA of program /SAPSRM/CL_CH_WD_MAP_META_HDLRCP
    Method: /SAPSRM/IF_CLL_DODM_SC_I_SOS~LEAD_SELECTION of program /SAPSRM/CL_CH_WD_DODM_SC_I_SOSCP
    Method: ONACTIONLEAD_SELECTION of program /1BCWDY/T2R7E4WKA5D7C8DML3PR==CP
    Method: ONACTIONLEAD_SELECTION of program /1BCWDY/T2R7E4WKA5D7C8DML3PR==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/T2R7E4WKA5D7C8DML3PR==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Please suggest the solution whether I am missing anything .
    Thanks and Regards,
    Rama.

    Dear Rama
    This error usally happens when you call an ITS transaction through SRM portal using SRM 7.0, which is based on Web Dynpro. This is a common error regarding customer fields and upgrade from SRM 5.0 to SRM 7.0.
    It can also be a role issue. For example, the user that is getting the dump has an old role (SRM 5.0) assigned to him instead of a new role (SRM 7.0).
    I hope this helps.
    Best regards,
    Christian Zeuch

  • Customize sort disappeared after adding a column structure

    Hello BI experts,
    When the users want to add a hierarchy in column, the customized sort in rows is removed   (see example)
    After :
    Is there a patch to correct this issue ?
    For your information, we are in BI 4.1 SP2 patch 6.
    Regards,
    Nicolas

    Hello Ian,
    Thank you for your answer and sorry for hard copies.
    these is new one :
    The sort is not coming from BEX but made directly in analysis (by drag and drop)
    That's why you don't see sort icon.
    I tried  in Analysis for Excel but unfortunalty it's not possible to manage customized sort like in web.
    Thank you in advance for your help.
    Regards,
    Nicolas

  • Automatically update Data Flow when table column is added

    Hi, I have identical SQL Server databases on Server A and Server B, and I'm trying to create an SSIS package that will update its own Data Flow task when I've added a new column.  
    When I open the SSIS package up in Data Tools after adding the column, I get the following warning: 'The external columns for OLE DB Destination are out of synchronization with the data source columns. The column "TestColumn" needs to be added to
    the external columns.'  So the package know when it's out of sync with the db.  
    Is there a way to automatically update the external columns?
    Thank you!

    There is a Dynamic DTS task commercial product of CozyRock
    Another possibility is to generate an updated version of the package programmatically either with BIML http://www.mssqltips.com/sqlservertip/3124/generate-multiple-ssis-packages-using-biml-and-metadata/
    or via .net code http://msdn.microsoft.com/en-ca/library/ms345167.aspx
    Arthur
    MyBlog
    Twitter

  • Function to get the date after substraction

    Hi Gurus,
    I understand that the function "RE_ADD_MONTH_TO_DATE" is used for calculate the date after added certain month(s).
    But, how do I do it in the other way. What I mean here is I want to substract the date.
    For example my current date is 09.05.2008, substract 3 years is 09.05.2005.
    All ideas and suggestion are greatly appreciated.
    Thanks.

    Hi ,
    u can use the same function module RE_ADD_MONTH_TO_DATE with passing months in negetive number like,
    month = -36.
    in the function module.
    regards,
    kk.

  • Archive/Move files based on Modified Date range to another Library Using PowerShell while retaining Metadata

    Hi,
    I am trying to archive files from a SharePoint 2010 document library by moving them to another library that's a dedicated archive/folder/library. The files to be moved are selected based on their modified date column value that should range between any time
    in the past to January 1st 2012. 
    Also, to be able to retain the tags and cloumn values after the move. Open in explorer does not bring along the user added tags.
    I tried to edit this script
    $WebURL = "http://mysite.com/";
    $ListDisplayName = "Crawl Test Library";
    $ArchiveFolderName = "Crawl Test Library Archive";
    function moveItems ()
    trap
    #make sure we dispose of these in the event of an error to avoid memory leaks:
    write-host "Error - disposing of objects...";
    $Web.Dispose();
    $Site.Dispose();
    [Microsoft.SharePoint.SPSite] $Site = New-Object Microsoft.SharePoint.SPSite($WebURL);
    [Microsoft.SharePoint.SPWeb] $Web = $Site.OpenWeb();
    [Microsoft.SharePoint.SPList] $List = $Web.Lists[$ListDisplayName];
    $FolderToMoveTo = $List.RootFolder.Url + "/" + $FolderName;
    $ItemMoveCount=0;
    $Query = New-Object Microsoft.SharePoint.SPQuery;
    $Query.Folder = $list.RootFolder;
    $camlQuery = "<Where><Leq><FieldRef Name='Modified' /><Value Type='DateTime'>2012-01-01T00:00:00Z</Value></Leq></Where>"
    $Query.Query = $camlQuery
    $Query.RowLimit = 2200; #limit query because of large folder
    $List.GetItems($Query) |
    Where {$_.ContentType.Name -ne "Folder"} |
    foreach-object {
    #Line below will simply output to console and demonstrates another .NET call
    [System.String]::format("Moving Item {0} with ID {1}...",$_.Name, $_.ID.ToString());
    $Web.GetFile($_.Url).MoveTo([System.String]::format("{0}/{1}",$FolderToMoveTo,$_.Name));
    write-host "Success...";
    $ItemMoveCount++;
    write-host "==============================================================================";
    write-host "Complete! -> Moved " $ItemMoveCount " Items to directory " $FolderName;
    write-host "==============================================================================";
    #dispose:
    $Web.Dispose();
    $Site.Dispose();
    #garbage collection
    [GC]::Collect()
    to do that but it doesn't seem to work. I am no guru in powershell yet so any help is appreciated.
    Thanks.

    This solution gets the job done. Much thanks to
    Ian Hayse
    NB...The Modified and Created dates are gonna reflect runtime dates now 
    $web = Get-SPWeb "http://sharepointed.com/"
    $list = $web.Lists["Shared Documents"]
    $spQuery = New-Object Microsoft.SharePoint.SPQuery
    $spQuery.ViewAttributes = "Scope='Recursive'";
    $spQuery.RowLimit = 2000
    $caml = '<Where><Lt><FieldRef Name="Created" /><Value IncludeTimeValue="TRUE" Type="DateTime">2014-01-01T04:06:45Z</Value></Lt></Where> '
    $spQuery.Query = $caml
    do
    $listItems = $list.GetItems($spQuery)
    $spQuery.ListItemCollectionPosition = $listItems.ListItemCollectionPosition
    $listTotal = $listItems.Count
    for ($x=$listTotal-1;$x -ge 0; $x--)
    try
    $listItems[$x].CopyTo("http://sharepoint/Docs/Documents/"+ $listItems[$x].name)
    Write-Host("DELETED: " + $listItems[$x].name)
    $listItems[$x].Recycle()
    catch
    Write-Host $_.Exception.ToString()
    while ($spQuery.ListItemCollectionPosition -ne $null)

  • HT2905 Most all of my 1700 songs have been duplicated in iTunes. I have downloaded the instructions how to delete the duplicates but it says "sort by the date you added" and i have no column that says that. I am running windows xp.

    Most all of my 1700 songs have been duplicated in iTunes. I have downloaded the instructions how to delete the duplicates but it says "sort by the date you added" and i have no column that says that. I am running windows xp.

    Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • How do I keep columns from adding to a custom spreadsheet when I'm tabbing after adding info into each column?

    I'm trying Numbers for 30 days and haven't been able to find out how to stop Numbers from adding additional columns to a custom spreadsheet I've created as I'm entering data in each cell and tabbing to the next. I want only a fixed number of columns across.  

    Actually, it works both ways.
    If you press tab once after entering data in the last column, that confirms the entry and leaves the same cell selected. If you press tab a second time, Numbers adds a column to the table and moves the selection to the (new) cell to the right.
    There's no way to turn that feature off.
    But if you press return, either to confirm the entry in the last column, or as the second press (when you forget and press tab-once), Numbers will  confirm the entry and move the selection to the cell below the one where you started data entry in the previous line:
    This started out as an empty table with four columns. The keystrokes that led to what's shown were:
    d, a, t, a ,tab,d, a, t, a , tab,d, a, t, a , tab, tab (column E added), d, a, t, a , tab,return (selection moved to B3)
    Regards,
    Barry

  • Adding custom column to a Data Table (bound to database table)

    Hello,
    I've added an additional "Output Text" column to an existing "Data Table" component, which is pulling a database table and rendering it. It's actually called "OutputText5". What I want to do, is set the value of the "OutputText5" dynamically, depending on a Date comparison between the system date, and one of the currentRow field values, which is actually an Oracle Date data type. basically I'm trying to use the Date.after() comparison and put different content in there depending on true or false evaluation.
    Seems simple enough .. but.. I'm trying to do this without using vim and JSP Beans (how I'd usually do this). I'm not experienced with JSF components and how this would be done using JSC - can I iterate over currentRow or something inside the "Page1.java" source? Is there an easy way to create dynamic value bindings like this in Data Table components in general? Maybe using expressions in "OutputText5" properties or something? I figure I should ask about doing this the easy way, before I spend lots of time and start teaching myself bad habbits.
    I apologise in advance if this is a repeat post. I spent some time searching ,but came up empty handed.
    Thanks in advance.
    David Basham

    Hi David,
    Here's some ideas to try on:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=49459
    hth,
    v

  • Is there a setting to prevent modification date change after adding label or changing orientation?

    is there a setting to prevent modification date change after adding label or changing orientation? I don't want to change the modification date when I haven't edited the image, but only rotated the view or rated/labeled it. Is there a setting to change to not have this happen?

    You have modified it, but why worry?  The date shot does not change.

Maybe you are looking for

  • Database log switch and WLS connection pool relation

    Hi, We have been facing WLS JDBC connection pool disable and suspension issue very frequently in our environment and as a work around have implemented multi-datasource configuration (fail over method). But we need to know the root cause for the same

  • Removing shake in after effects

    After deciding to take the jump to CC I discovered all that looks good has its own set of problems. I'm hoping in this discussion a skilled AE user might save me time and money. I'm a proficient Vegas Pro user. The jump from a mix of Adobe programs a

  • Google documents and sites windows will not load but web and email do.

    I have tried every browser chrome, firefox, explorer, safari none of these will open google documents at my school although they were working a couple of weeks ago. What can I try? Thanks, Gail Bushey

  • 1.4....trapping keyevents in JWindow.. V E R Y T O U G H...

    Hello JDevelopers.... This is very tough for me.. Could u pls write some lines of code for me.. P L E A S E... !!! I have a JWindow... and I want to display "keypressed" on console when user press a key on that jwindow.. It seems very simple but ...

  • Barcode displaying with Number in output

    Hi  Experts, I have problem when dispaying the barcode in Adobe PDF output. It is dispalying the barcode (Code 3 of 9) along with number. Ex: i am trying to print the 1200201(added * begin and end of the number as per Code 3 of 9 prerequisite) custom