1
votes

I wish to create a view showing a number of fields from notes documents with replication or save conflicts. So far I have managed to create a basic view with a column for the document ID (Contract ID) then the next column states "Replication or Save Conflicts" but I don't seem to able to either get rid of the replocation or save conflcits column or add new columns to show additional fields from the document. Is there a way I can do this? I want to be able to show the view in XPages. Here is the View selection formula I am using;

SELECT @IsAvailable($Conflict)
2

2 Answers

2
votes

Conflicts are not displayed good in views. here are a few alternative tips to deal with conflicts that might give you an idea or two :-)

  1. Create a categorized column with the value of the field $ConflictItems in the view you have, then you will see which item is causing the conflict and can take action to prevent it.

  2. When you open a conflict you can use the action menu "View Parent" to compare the parent and the conflict

  3. Ytra ScanEZ is a great tool for finding and resolving conflicts. it is also possible to create a script that will compare the documents and present a diff list.

  4. You can create an XPage to display your conflicts (and parents). The web is more dynamic as it allow you to layout your data in the way you want and is not restricted to the way view in Notes works. This kind of xpage can be displayed in Notes client or Web browser

0
votes

Use XPages power. Get all documents from the view with your selection formula. But don't try to show any column value and get fields directly from back-end document you get from view entry entry.getDocument().

Sure, it has some performance impact, but for (hopefully) small amount of replication conflict it's nothing serious.