Are there any methods to page queries in FileNet? I have a grid control with paging so i need to get count of elements total in query and possibility to get in example page 3 of results(with any page size). I found only TOP operator, but are there any SKIP or COUNT?
How should i proper page queries in IBM FileNet?
2.9k Views Asked by Horosho At
2
There are 2 best solutions below
10
Robert vd S
On
Here is a good link with a backend example on how the paging works:
as for the totals count, this should be in the pageiterator object: pageIterator api page
In this case you'd need to manually keep track of the paging in the UI
or as an alternative, install, configure and implement CMIS to perform the operations, that has page skipping as default functionalty
Related Questions in FILENET-P8
- Filenet Query and sub query for check other documents
- Unable to access FileNet CE from BAW
- How to get a specific value from a Task Property array in Filenet P8 Process designer
- IBM FileNet 5.2 - Visibility by security
- When should I use fetchInstance method instead of getInstance method? (ObjectStore Object) (IBM Content Engine)
- Object Class Document with relative attachments 1:n
- Taking document ownership programatically in FileNet Content Engine 3.5
- Import to FileNet using the bulk import tool in a specific folder
- SecurityException when running WorkplaceXT in local WebLogic
- How can I check if the connection to Filenet was successful?
- Filenet GetContent webservice returns the file incomplete
- FileNet P8: Add content to existing document without change ID
- What Filenet P8 API will work with FileNet Cloud
- How to use the ICM_ReceiveDocumentIDs Event?
- IBM Content Navigator plugin : logging using Log4J
Related Questions in FILENET
- Filenet Query and sub query for check other documents
- Filenet API stalling from Peoplesoft
- FileNet domain creation was successful, but still not able to find the directory configuration after login to FileNet ACCE
- IBM FileNet 5.2 - Visibility by security
- How can I check if the connection to Filenet was successful?
- Extracting binary as base64 String results in incomplete file?
- ClassNotFoundException: org.apache.log4j.Priority when using Filenet APIs
- IBM Content Navigator plugin : logging using Log4J
- How to convert hexadecimal IDs (from Oracle/DB2) to GUID (FileNet standard)?
- How to fetch the PropertyTemplate by symbolic name and appended to Custom Object class IBM FileNet CE API
- How to set a List value with JScript
- filenet JAVA API retention periode not updated
- org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x0 minor code: 0 completed: No
- IBM FileNet : com.filenet.api.exception.EngineRuntimeException: FNRCT0042E: TRANSPORT_WSI_NETWORK_ERROR
- FNRPE2131090482E - Server is being initialized. Retry the operation
Related Questions in FILENET-CONTENT-ENGINE
- Filenet Query and sub query for check other documents
- Unable to access FileNet CE from BAW
- IBM FileNet 5.2 - Visibility by security
- When should I use fetchInstance method instead of getInstance method? (ObjectStore Object) (IBM Content Engine)
- Taking document ownership programatically in FileNet Content Engine 3.5
- Import to FileNet using the bulk import tool in a specific folder
- Filenet GetContent webservice returns the file incomplete
- FileNet P8: Add content to existing document without change ID
- how to extract document size from FileNet oracle database
- What Filenet P8 API will work with FileNet Cloud
- How to convert hexadecimal IDs (from Oracle/DB2) to GUID (FileNet standard)?
- How to fetch the PropertyTemplate by symbolic name and appended to Custom Object class IBM FileNet CE API
- How to set a List value with JScript
- How to get the count of documents for the object store using FileNet API's
- org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x0 minor code: 0 completed: No
Related Questions in FILENET-CE-SQL
- how to extract document size from FileNet oracle database
- How to join the Document and ClassDefinition objects when using SearchSQL?
- Parsing of CE SQL to DB SQL
- FileNet Content Engine query comparing numbers defined as string
- Query DateTime field using Date only in FileNet Content Engine
- Adding comments to a SQL query in FileNet Content Engine
- How to query distinct documents that contain Unordered List properties in FileNet P8?
- Filenet query number conversion in order by
- How should i proper page queries in IBM FileNet?
- FileNet - SQL for a date property between specific hours
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is no way to accomplish exactly what you want. The main reason for this is that it is very expensive for Content Engine to count all rows returned by a query (assuming there are thousands of them). There can be quite involved security restrictions that potentially have to be applied to each returned object. This will effectively exclude some objects from query results, affecting the result count. Evaluating effective security permissions on multiple objects would kill the performance, thus avoided. That is why you don't have
COUNTor other aggregate functions in the query language.If you can restrict the amount of records displayed in the grid to a reasonable number, then
COUNT_LIMITmight work for you — see Query Options and getTotalCount(). However, this will require looping through to the required page with its inherent performance drawback.