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 3220298
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:44:43+00:00 2026-05-17T15:44:43+00:00

I have a web part that saves preferences to an external database because they

  • 0

I have a web part that saves preferences to an external database because they are used by an outside program. One of the key fields for the preferences is the ID of the web part so each web part instance can have separate preferences.

I’m working on an issue in the test farm with a set of preferences that generate an error on the SharePoint page and I need to check the values of the preferences for that web part instance. I didn’t expose the ID of the web part in the editor. So, now I can see the ID in the database but I don’t know to which web part instance it belongs.

Is there a way to find the ID of a web part without having to modify the code to expose it and redeploy the solution?

  • 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-05-17T15:44:43+00:00Added an answer on May 17, 2026 at 3:44 pm

    Get up the Toolpart (Modify Shared Web Part) then Right Click > View Source.

    Do a search for

    MSOSPWebPartManager_OldSelectedStorageKeyName
    

    and there is the ID of your web part (Microsoft.SharePoint.WebPartPages.WebPart.ID)

    Tested with WSS3 (SharePoint 2007) and SharePoint Foundation 2010.

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

Sidebar

Related Questions

I have a content query web part that queries by content type against a
I have a custom sharepoint web part that is throwing the following exception: System.Security.SecurityException:
In my (PHP) web app, I have a part of my site that keeps
I have a web part with links to e.g. Manage Users i SharePoint (2003)
I have defined a personalizable property on a web part and I would like
I'm using the content query web part and have exported it to a webpart
I'm currently experimenting with build script, and since I have an ASP.net Web Part
I have an ASP.NET 2.0 web app and part of the structure still has
I have an MVC2 web application that needs to record the number of unique
I have a webpart that renders random list items (from any list and list

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.