A question from one of my developers:
I am using DocumentManagementClient module to get nodes. Function that I am using is called “GetNodeByPath”. This function takes rootID (2000 in our case) , Path as string and returns the corresponding node. I am unable to get a folder node when it’s within a Binder. Consider these two examples:
Following Code works and I get Node “000245” (which is a binder). Function is able to find the node “000245”.
var masterNodepathElements= new string[] { "Central Compliance", "Employees" , "000245" };
var BinderNode = docManClient.GetNodeByPath(ref otAuth, 2000, masterNodepathElements);
From C# debug window:
However when I try to go one level down inside the Binder to get a Folder, I get null.
var masterNodepathElements= new string[] { "Central Compliance", "Employees", "000245","Compliance Forms" };
var BinderNode = docManClient.GetNodeByPath(ref otAuth, 2000, masterNodepathElements);
Note that ‘Compliance Forms’ is a Folder within Binder ‘000245’.
From C# debug window:
Does GetNodeByPath not support a Folder within A Binder? If not, is there any other method I can use?