Solved

versioning on a list

Posted on 2011-09-03
6
202 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 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