Message 1 of 1
Collection of BrowserNodeDefinitions? - Find free ID?

Not applicable
04-29-2020
01:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Working on a Custom pane, and need to create a lot of BrowserNode definitions
Using the oDoc.BrowserPanes.CreateBrowserNodeDefinition("Label", ID, clientNodeRsc). The ID needs to be unique for the document.
I know I can retain a list of unique id's for the Node definitions I create my self, by adding it to a list. But how do I ensure not to mess with some other Id' created by other addins?
Even tried to iterate through the Nodes collection, but the ID remains hidden🤔
For Each oNode As BrowserNode In oDoc.BrowserPanes(1).TopNode.BrowserNodes
Dim oBrowserNodeDefinition As BrowserNodeDefinition = oNode.BrowserNodeDefinition
oBrowserNodeDefinition. ???
Next
Any suggestions.
tNodeRsc)