Solved

versioning on a list

Posted on 2011-09-03
6
193 Views
Last Modified: 2012-05-12
I have versioning turned on for a list (SP 2010)
In that list there are 2 fields that are multi lines of text.
Each time this list is opened (EditForm.aspx) my name and the current date/time is added to the 2 multi line text boxes even though neither were touch and are both empty!
Is there a way to stop this?
I can see why you would have the user and the time added to the end of a comment when added but not to denote the last time the list item was edited in other areas
0
Comment
Question by:QPR
  • 3
  • 3
6 Comments
 
LVL 16

Accepted Solution

by:
jessc7 earned 500 total points
ID: 36897307
Here is an alternative:

An easy way to implement "Append-only comments"
http://fangdahai.blogspot.com/2010/07/easy-way-to-implement-append-only.html

In the workflow, you could check for an empty value before appending it to the new column.
0
 
LVL 29

Author Comment

by:QPR
ID: 36900472
Thanks, not sure how that relates though. I want list versioning and I want comments appended. I have both. What I don't understand is why the 2 multiline text boxes are populated with the user's name and the date/time when nothing has been added to these fields. See the image below. The 2 fields "technicians comments" and "resolution" have my name (blanked out) and the date time in them.
I don't under stand why when nothing has been entered into these fields.
If I open the list item and add/change something e.g. the title or the description then the "technicians comments" and "resolution" fields will then have a second line again showing my name and the date/time. I don't understand why it does this.
 names and dates
0
 
LVL 16

Expert Comment

by:jessc7
ID: 36900567
Unfortunately, that is just the default behavior of SharePoint in this scenario. When someone edits/saves a list item that has appended comments enabled, it saves the time stamp of the save regardless of if a comment was added. I agree this seems like a waste and can be confusing.

The link I sent you was an example of how to create your own appended comments functionality, and use a workflow to only append the comments when there are actually comments entered. This would be a way to answer the default behavior.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 29

Author Comment

by:QPR
ID: 36914160
I don't mind it saving the timestamp info, I just don't get why it puts that timestamp info inside the mutiline text boxes. If I go into that list item and change the title 10 times and then view the list item, the multi line text boxes will have 10 repititions of my name and the dates... even though the boxes themselves contain no text
0
 
LVL 16

Expert Comment

by:jessc7
ID: 36914178
Yes, as I said, the default behavior of SharePoint with appended comments fields is to automatically add the time stamp. I agree that doesn't make sense, and I understand what you are saying. I posted a workaround if you are interested.
0
 
LVL 29

Author Closing Comment

by:QPR
ID: 36914192
thanks
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question