How Do I Get The Parent Notesviewentry From The Notesxspviewentry?
Using SSJS I have a handle to a NotesXSPViewEntry which is a category in view,now I need to get the parent category from that entry as a NotesViewEntry, so I tried to use NotesXSPV
Solution 1:
One solution: get the position with getNavigatorPosition()
. The get the NotesViewNavigator with getParent(), call gotoPos()
with that position as parameter, then getPrev()
should return the previous entry and getParent()
the parent entry.
You might be able to leave the gotoPos() call out: getParent().getCurrent().getParent()
should return XSPViewEntry's navigator's current entry's parent entry.
Post a Comment for "How Do I Get The Parent Notesviewentry From The Notesxspviewentry?"