on 11-17-2008 4:09 AM
Hi all,
I have a requirement to implement search and return all checkout documents from /documents folder, from my custom UI.
Any ideas how to search by checkout property.
I need property name and property value definition in my serch query case.
Really appreciate your help
Regards
Costa
Edited by: Costa Chertakovsky on Nov 17, 2008 3:39 PM
Edited by: Costa Chertakovsky on Nov 17, 2008 3:42 PM
Hi Costa,
unfortunately, there is no way to use the standard search filtering for checked out documents.
The property with the namespace "http://sapportals.com/xmlns/cm" and ID "CheckOutStatus" is an application property the is not indexed.
So as you can not use TREX, you can only use the standard report [Resource Locks|http://help.sap.com/saphelp_nw04/helpdata/en/14/a4d14030490b06e10000000a155106/frameset.htm] to find checked out resources or to implement an own compoment with this functionality (go through all resources and filter the ones with the "CheckedOutStatus" == "checkoutAutomatically".
Hope this helps,
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot Robert for you response it was really helpful.
Does KM has some APIs to get information from Resource Locks.
In order to implement logic to go through all resources and filter the ones with the "CheckedOutStatus" == "checkoutAutomatically"
In this case Iu2019ll get some performance impact due to high number of documents in KM
Please let me know if you have some ideas.
Thanks a lot
Costa
Hi Costa,
I'm afraid there is no other information that you can get through API about the resource lock than the application properties "CheckOutStatus", "CheckOutUser" and "CheckOutItem". You can search here on SDN for sample code on how to read the properties.
You are right that running recursively through all resources can have an impact on the system performance. I would recommend to implement a delay after checking each resource, similar to what is recommended when implementing a KM report.
Hope this helps,
Robert
User | Count |
---|---|
75 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.