Solved

versioning on a list

Posted on 2011-09-03
6
199 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Move SharePoint data to a new server 3 80
Sharepoint Online 5 118
Sharepoint 2010- Unable to activate User profile Sync service 10 62
sharepoint 2013 foundation 2 45
If you create your solutions on SharePoint sooner or later you will come upon a request to set  permissions of the item depending on some of the item's meta-data - the author, people assigned as approvers, divisions, categories etc. The most natu…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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