I am using IDK 6.0 in .net to download documents of Knowledge Directory. I have done lots of googling but found to api to do so.
Here are some of my reading materials:
http://download.oracle.com/docs/cd/E13174_01/alui/idk/docs60/ndocs/index.html
Is there any api of ALUI to download all documents of Knowledge Directory?
Thanks,
Prakash
Depending on the size of your Knowledge Directory, this process has some performance and practical considerations - but addressing your main point, you want to download all documents from your Knowledge Directory (KD).
Use the following:
Use the
IDocumentManager
interface to start, then call thecreateQuery(int folderId)
method to get an instance of a query object.You will be returned an
IDocumentQuery
object.Keep in mind that the following defaults are set and will most likely need to be overrided in your case of getting all documents from the root folder:
Assuming you have a reasonably large KD, I would recommend setting your filters to return documents based on date, at first using a
DateQueryFilter
, this will allow you to have a more manageable batch of files and object IDs. Knowing that you're working with anIDocument
object type you can callgetDocument()
from there.