Take the 2-minute tour ×
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It's 100% free, no registration required.

I have a requirement where i need to find the list of all checked out item in Tridion under all Tridion users. I am using tridion 2013 SP1.

I can get all checked out items under my name by using below code.

 RepositoryLocalObjectsFilterData filter = new RepositoryLocalObjectsFilterData();
 XElement itemList = client.GetSystemWideListXml(filter);
 Console.WriteLine("Count :: " + itemList.Descendants(tcm + "Item").Count());

How to get it for all users. Do i need to use some filter?

share|improve this question
1  
What rights does your current user have? –  Bart Koopman May 26 at 8:10
    
I have admin rights . –  Jitender sharma May 26 at 8:23
add comment

3 Answers 3

up vote 3 down vote accepted

Well, if the user (under which you are running the code) has proper rights your code should return the desired result for you, as I think the code is correct.

on the other side, if you want to list items checked out by specific user; you can use RepositoryLocalObjectsFilterData.LockUser Property.

UPDATE:

I am little surprised that the code returning the items checked by one user only. But there is a alternate approach as well, though it may take much time to run the script but it should serve the puspose.

  1. get all the users using getSystemWideList
  2. Iterate through the user, and use your same code but set RepositoryLocalObjectsFilterData.LockUser Property to the user.
  3. collect the results from each iteration.
share|improve this answer
    
I need the list of checked out items for all users in my CMS. The code i pasted above gives the list of items checked out by me only. –  Jitender sharma May 26 at 8:25
    
Can you confirm that there are other items checked out by other users? –  Saurabh Gangwar May 26 at 8:44
    
yes there are items checked out by other users. –  Jitender sharma May 26 at 8:45
    
Thanks Saurabh, this solution worked for me . I will be generating this list once in a while so i am okay with retrieving the list of user first and iterating through it. –  Jitender sharma May 26 at 9:30
add comment

There was a defect in 2013 (and SP1) that caused administrators to no longer see items checked out by other users. This has been addressed in a hotfix.

Until it is available for download on SDL Tridion World, I'd advice you to contact Customer Support and reference CM_2013.1.0.88013 (assuming you are on 2013 SP1).

share|improve this answer
    
This has since been made available on SDL Tridion World (as part of CM_2013.1.0.88066 - Cumulative hotfix): sdltridionworld.com/downloads/hotfixes/SDL_Tridion_2013_SP1 –  Peter Kjaer Jul 14 at 15:38
add comment

Please check the similer question with answer in below link:

How do I get a list of checked out items with the Core Service?

share|improve this answer
    
Please read my question carefully. I am asking the list of all checked out items in Tridion not only mine. –  Jitender sharma May 26 at 8:40
    
That's what the other question deals with –  Dominic Cronin May 26 at 17:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.