Collection of BrowserNodeDefinitions? - Find free ID?

Collection of BrowserNodeDefinitions? - Find free ID?

Anonymous
Not applicable
258 Views
0 Replies
Message 1 of 1

Collection of BrowserNodeDefinitions? - Find free ID?

Anonymous
Not applicable

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)

0 Likes
259 Views
0 Replies
Replies (0)