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

  • Home
  • SEARCH
  • 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 8364591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:27:49+00:00 2026-06-09T12:27:49+00:00

Could anybody help me to get List Item by unique Id in SharePoint without

  • 0

Could anybody help me to get List Item by unique Id in SharePoint without using List? I know the List Item unique Id, but I haven’t information about List. Using Client Object Model I can do the following:

using (SP.ClientContext clientContext = new SP.ClientContext(...))
{
    **SP.List list = clientContext.Web.Lists.GetById(listId);**
    SP.ListItem listItem = list.GetItemById(listItemId);
    clientContext.Load(listItem);
    clientContext.ExecuteQuery();
    ...
}

Unfortunately, in this code I use listId, but the problem is that in my task I don’t know listId, I have only ListItem Guid. Since I have unique Id, I believe that there must be a way to get this Item without using any additional information.

  • 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-09T12:27:49+00:00Added an answer on June 9, 2026 at 12:27 pm

    You’ve posted a snippet with a Client Object Model, so I suppose it’s a preffered object model for the solution. However, if it’s acceptable for You, I’ve found some information on how to achieve this using server side object model, which You may find helpful.

    It seems that this can be done using SPWeb.GetFile(Guid itemGuid) if the item exist in the root site.

    If you want it to work also for subsites, you can use SPWeb.GetSiteData method to invoke caml retrieving an item as explained in this article: http://www.chakkaradeep.com/post/Retrieving-an-Item-from-the-RootWeb-and-Subwebs-using-its-UniqueId.aspx.

    You can also take a look at this thread on SO for some additional information:
    SharePoint: Get SPListItem by Unique ID.

    If you have any issues using those methods, let me know. I’ll also look for alternatives for this to run with Client Object Model and I’ll post them if I find some, however, it seems to be more difficult to achieve.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering if anybody could help me with a method of creating a
I am new to php and was wondering if anybody could help me with
Could anybody brief about user_token functionality in Auth module? What is a use and
there is a list of ruby gems for twitter could anybody recommend me one
Does anybody know where I could find WinForms controls that mimic those on the
Could anybody help with the component gradual color changing. I want color to be
I have a small question, if anybody could help me. Why I can't see
Could anybody help me with some Jquery. I have a <div> with a bunch
I was wondering whether anybody here could help with this problem I am having
Could anybody help me to understand this issue? The problem is: I have a

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.