質問

InfoPathフォームライブラリのバージョン履歴は、変更されたフィールドを表示していません。変更された日付の詳細と変更された日付の詳細を使用して、InfoPathフォームの特定のバージョンへのリンクを表示します。

InfoPathフォームまたはSharePoint製品の終了からの制限事項またはこれには、Central管理サイトで使用可能な構成設定があります。

は、コードなしでフォームライブラリ項目のすべての変更されたフィールドをキャプチャする可能性があります(私はOOTB機能/設定を使用するだけである)

役に立ちましたか?

解決

You can use the SharePoint built in feature for tracking the versions, but its for the overall form because the data submitted to SharePoint Library will be in XML format, so there is no functionality to find changes of text within a XML.

Try with the following methods, which I have implemented few years ago,

  1. Make the InfoPath to be submitted to custom form library.

  2. Before publishing the form, select the Property Promotion columns for which you need to track the versions.

  3. Once you have published the form, you can see the form library with the promoted columns, now created new calculated column for each promotion columns, for ex: If you have a column as "Name", then create a new calculated column as "NameforVersion' which should get the value from "Name" column, do the same for all other promotion columns.

  4. Now you can submit a new form in the library and then edit the form.

  5. After editing the form, the newly added calculated columns will have the edited values. You can remove the newly added caculated columns from the view, if you want.

  6. Now if you check the version, you can see list of fields which were changed during each version.

This is a work around to do your requirement without code.

Hope this helps you.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top