I have a situation where a document belongs to two folders. How do I find all folders that the document belongs to?
I am using C++ API.
Thx
dB.
I have a situation where a document belongs to two folders. How do I find all folders that the document belongs to?
I am using C++ API.
Thx
dB.
Subject: How do I find all folders that contain a document?
I had to do this a few years back so my understanding is somewhat dated but what Paul said jives with my experience. I had to identify the doc then cycle through every folder to see if it held the doc.
Subject: RE: How do I find all folders that contain a document?
That may be a tough one. My understanding is that the folder contains pointers to the documents and the documents don’t maintain any folder information. This means you cannot query a document to find out all the folders that it appears in… You have to query all folders to find if the document appears.
With that said, I don’t do C++ API so there may be something available I’m not aware of.
Good luck!
Subject: How do I find all folders that contain a document?
in r6 there’s a db-property “folder-references”. (can be set via script, can for sure be set also via c-api)
if its your db you could use this. so docs store information wich folder they’re in.
be aware of performance issues.
Markus Seitz