lotus domino - CreateViewNavFromCategory (lotuscript) ignore next subcategory if the user doesn't have right to view the first? -


please see following question, make wrong or bug ? there work around ?

i'm using: set notesviewnavigator = notesview.createviewnavfromcategory( category$ [ , cachesize& ] )

i have view 2 categorized columns:

  • aaa

    • 111

      doc1 reader=david

      doc2 reader=david

    • 222

      doc3 reader=john

      doc4 reader=john

  • bbb

if david make set nav = view.createviewnavfromcategory("aaa"), nav.count=2==> ok

if john make set nav = view.createviewnavfromcategory("aaa"), nav.count=0 ==> why ???

if admin (can see docs) make set nav = view.createviewnavfromcategory("aaa"), nav.count=4 => proves 2nd sub category "read" notes.

try view- property "do not display empty categories": should make result more reasonable. can not explain, why nav.count 0 in experience e.g. dblookup takes first sub- category , ignores documents in second category under circumstances.

if find out, second category column "disturbs" code, try make second column sort instead of categorized (of course if fits needs).


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -