سؤال

أحاول استخدام "التغييرات إلحاقا إلى النص الموجود" باستخدام مكتبة مستندات تحتوي على أنواع محتوى مستندات متعددة أنواع المحتوى.هذه طريقة مفيدة للحفاظ على تعليق قيد التشغيل للمحتوى.

ومع ذلك، أرى سلوكا غريبا.

لقد قمت بإنشاء عمود موقع مخصص "خطوط متعددة من النص" وحاولت النص العادي والنص الغني والنص الغني المحسن.لقد حددت "نعم" ل "إلحاق التغييرات إلى النص الموجود".النسخة في مكتبة المستندات (لقد حاولت إعدادها إلى كل من النسخة الرئيسية والثانوية).

في كل مرة قمت بتحرير العمود، يتم حفظ القيمة مع طابع التاريخ / الوقت، لكنني أرى فقط القيمة الأخيرة فقط.يبدو أن القيم السابقة تختفي.أي أفكار؟

هل كانت مفيدة؟

المحلول

The SharePoint "Append Changes to Existing Text" column is a HACK implemented by the SharePoint team, in reality it's just an ordinary text field, but where the rendering is grapping the text from previous versions and using these to create what appears to be a functioning append text field.

So the field is very dependend on the prior versions to exist (you can try deleting a version or an item/document with text on it and see that part disappear from the total text).

Unfortunately versioning hasn't been implemented for folders and because document sets are just glorified folders not for document set either, there is always only the current version (1.0).

This combination things result in "Append Changes to Existing Text" not working with folders and document sets. :-(

نصائح أخرى

I've ran into this before when using "Append-Only" within a Document Library. I've had success in the past using the OOTB Site Column called: Append-Only Comments

This seem to function as expected however I did notice some odd behavior when changing the Display Name of the column. That was in 2007 however. YMMV

I suspect this is linked to the fact that Document Sets don't automatically create versions, I'm assuming that the column is on a Document Set?

Test the behaviour when this column is added to a document content type in the same library.

If the document behaves correctly then roll a custom ItemUpdating event receiver to handle doing the appending.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى sharepoint.stackexchange
scroll top