IsConflict (NotesViewEntry - JavaScript)

Read-only. Indicates whether a view entry is for a document on which a replication or save conflict occurred.

Defined in

NotesViewEntry

Syntax

isConflict() : boolean
Legal value Description
true if the entry is a conflict document
false if the entry is not a conflict document

Examples

This button gets the entries from a categorized view, displaying the first column if the entry is a category and a document item if the entry is a document, and marking conflict documents.
var nav:NotesViewNavigator = database.getView("By category").createViewNav();
var entry:NotesViewEntry = nav.getFirst();
while (entry != null) {
	if (entry.isCategory()) {
		requestScope.status += "\n" + 
		entry.getColumnValues().firstElement().toString();
	} else if (entry.isDocument()) {
		requestScope.status += "\n\t" + 
		entry.getDocument().getItemValueString("subject");
		if (entry.isConflict()) {
			requestScope.status += " [conflict document]"
		}
	}
	var tmpentry:NotesViewEntry = nav.getNext(entry);
	entry.recycle();
	entry = tmpentry;
}