Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

versioning on a list

Posted on 2011-09-03
6
Medium Priority
?
215 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 2000 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
Independent Software Vendors: 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!

 
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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

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…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

609 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