06-29-2015 02:17 AM
07-01-2015 06:35 AM
Here is a way to do it using the API
DocumentQuery docQuery = onbaseApp.getCore().CreateDocumentQuery();
docQuery.AddDocumentType(onbaseApp.getCore().getDocumentTypes().Find("SearchDocType"));
For specifying a MAX Count, there are 2 ways.
DocumentList docList = docQuery.Execute(docQuery.ExecuteCount())
or
DocumentList docList = docQuery.Execute(Integer.MAX_VALUE)
Thanks,
Harish
06-29-2015 04:57 AM
Hello Abeer ,
I would recommend looking at the Database Reporting Guide as page 10 discusses the hsi.itemdata table. This table would allow you to pull back document information based on various parameters. If you were looking backed on the Document Handle, then you'd use the column of itemnum. If you wanted to look based on an entire Document Type, this would be the itemtypenum as also mentioned on page 10.
You would need to look up your Document Types #'s via Configuration or the hsi.doctype table or use this table for joining purposes against hsi.itemdata. In SQL Server Management Studio if you were to run a select without additional contraints such as TOP, then you'll pull back all rows for your Documents based off of your constraints. Perhaps a Select COUNT(*) from.... would first tell you how many rows your query is going to return before you would run the actual select that returns all of your rows.
06-30-2015 12:30 AM
Thank you Chris for your answer,
sorry may be I didn't explain clearly and i put it in a wrong place. I meant how to do that by using API
06-30-2015 09:08 AM
07-07-2015 08:22 AM
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.