Lotus Notes: Is it possible to create a view that excludes documents in all folders other than Inbox? -



Lotus Notes: Is it possible to create a view that excludes documents in all folders other than Inbox? -

i aware can exclude folders - have name them. need view show documents in inbox, doesn't need updating everytime create new folder.

any help appreciated!

:)

it not possible directly. there no formulas help build select statement documents in inbox. however, have agent run on scheduled basis (maybe every 5-10 minutes) update documents , flag them if in inbox. view need select documents have flag set.

updated umeli pointed out, flag needs unset when documents moved out of inbox. here's modified script:

for example:

dim s new notessession dim db notesdatabase dim view notesview dim doc notesdocument dim allentriesinbox notesviewentrycollection dim allentriesflagged notesviewentrycollection set s = new notessession set db = s.currentdatabase set view = db.getview("($inbox)") set viewflagged = db.getview("isininboxview") set allentriesinbox = view.allentries set allentriesflagged = viewflagged.allentries allentriesflagged.stampall("isininbox", "") allentriesinbox.stampall("isininbox, "1")

your view (named "isininboxview" in example) should have selection formula of isininbox = "1"

lotus-notes lotus-domino lotusscript lotus-formula

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -