Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9102393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:22:28+00:00 2026-06-17T01:22:28+00:00

I want to write small function to check whether passed Item Object is checkout

  • 0

I want to write small function to check whether passed Item Object is checkout in Tridion or not if yes then it will return “true” and also I want to get the details of user who has checkout the Item, using Tridion 2011 core services.

I know we have TryCheckout as well as Checkout in our CoreServiceClient but it returns Identifiable Object only.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T01:22:29+00:00Added an answer on June 17, 2026 at 1:22 am

    You need to look at the LockType on the item. Consider doing something like this

    SessionAwareCoreService2010Client client = new SessionAwareCoreService2010Client();
    ComponentData data = (ComponentData)client.Read("tcm:300-85609", new ReadOptions());
    FullVersionInfo info = (FullVersionInfo)data.VersionInfo;
    

    The full version info contains all the info you need (i.e. CheckOutUser and LockType). LockType is an Enumeration defined by Tridion.ContentManager.Data.ContentManagement.LockType, and includes the following set of flags:

    • None – The item is not locked.
    • CheckedOut – The item is checked-out. This can mean either a temporary (edit) lock, a permanent lock (explicit check-out performed by user) or a workflow lock.
    • Permanent – The item is permanently checked-out, that is using an explicit check-out action.
    • NewItem – The item is a new item, that is it has been created, but not checked-in for the first time yet.
    • InWorkflow – The item is in a workflow.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to create functions what get the folder size. I write small function:
I want to write a small function to add a value to a list.
I have small ruby function to return a query result. I want to check
I want to write a small Android app with a GUI that should display
I want to write a small bit of data from my app to the
HI, I want to write a small Delphi IDE Expert for D2007-D2009 (aka. Galileo
I want write a simple query which will fetch data from a table (which
I want to write a batch script statement where: FINDSTR has to check for
I want to write <a href=product.php?id=5> as product/5.I am not talking about user to
I'm using QI and Phoenix, and I want to write a small grammar that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.