首页 Domino未读Unread Marks
文章
取消

Domino未读Unread Marks

另一种获得收件箱未读数

function getMailCountProxy(){

var idata= {
s_FolderListNames:'FolderName',
FolderName:'($Inbox)'
}

$.ajax({
url: "/"+mailpath+"/iNotes/Proxy/?EditDocument&Form=s_GetFolderUnreadCountJSON",
type: 'post',
dataType: 'json',
data: idata
}).complete(function(data) {
if(data.responseText!=""){
var ret = eval("(" + data.responseText + ")");
$('#mail_count').html(ret['($Inbox)']);
}

});;

}

需要设置服务器:

set configuration iNotes_WA_Security_NonceCheck=0

set configuration iNotes_WA_Security_RefererCheck=0

调试未读标记

set configuration DEBUG_UNREAD=4
set configuration Repl_Sync_All_Unread=1

设置inotes未读颜色为红色

Dim s As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db=s.currentdatabase
Set doc = db.GetProfileDocument("iNotesProfile")

doc.UnreadStyle = "red"
Call doc.Save(True,False)

链接:

The Architecture of Unread Marks in Lotus Notes

Unread Marks and Domino Web Access

Open Mic Replay and Q&A: Understanding and Troubleshooting Unread Marks in Notes/Domino - 10 January 2012

本文由作者按照 CC BY 4.0 进行授权