Questions tagged [sharepoint-2010]

For SharePoint-specific questions, please see the SharePoint Stack Exchange site at https://sharepoint.stackexchange.com/

SharePoint 2010 is a Server Product from Microsoft. It is a Application Development Framework that helps you to create Web Applications in no time. It is used for collaboration, web publishing and file sharing as well as providing a rich set of functionality (content management, search, wiki, blogs, etc.). Sharepoint 2010 can also present information from Enterprise Information Systems (EIS) and handle complex workflows.

8481 questions
2
votes
1 answer

Add a dynamic text to SP21010 Rich Text Editor when a particular Markup Style is applied

In Sharepoint 2010, I have built a custom page layout and have applied custom styles. Page layout consist of single rich text editor HTML field. Now I have a need to add some custom text next to the selected text when a particular markup Style is…
dm77
  • 35
  • 4
2
votes
2 answers

My custom sharepoint 2010 Timer job not running

I have created a custom timer service to create a list. its scheduled in minute using FeatureActivated event. I could able to globally deploy the solution. But the my timer job is not running. Its showing last run time N/A. Is there any solution? My…
2
votes
0 answers

ClientContext.ExecuteQuery() produces connection error message

I am trying to run ClientContext.ExecuteQuery() and I am getting the following error message: "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server." >> "Unable to read data from the…
2
votes
0 answers

Sharepoint Social tagging with web service - private tags

We want to handle tags of SharePoint users with web service. It is possible with the functions of the SocialDataService.asmx. We can select the tags of the user with the GetTagTermsOfUser function, but this function returns only with the user's…
Csujo
  • 507
  • 2
  • 6
2
votes
1 answer

How does a Queryable Load work in SharePoint?

Could anybody help me to understand what kind of work is going behind the scene, when LINQ is used for retrieving SharePoint objects. For example, I can use a code like this: private IEnumerable newLists; var dt = new DateTime(2010, 3,…
Warlock
  • 7,321
  • 10
  • 55
  • 75
2
votes
1 answer

Get Page owner contact email and display in SharePoint 2010 Masterpage

I've built out a solution with multiple masterpages/page layouts as features for a set of SharePoint 2010 publishing site collections. One consistent request is to be able to grab the page owner contact email and display it in the footer of the…
2
votes
1 answer

display sharepoint list value in visual web part

I'd like to know how to get values from SharePoint list column in custom WebPart and I want to display it in the visual webPart. splist lists = web.list["list name"]; spitem item = list.additem(); item["Title"] = "doc"; item["No"] = "1";' I…
MRu
  • 1,225
  • 7
  • 20
  • 44
2
votes
0 answers

display the video duration in sharepoint search core results web part

does anyone of you know how can I display the duration of a video in search core results web part? I don't see any fields to which I can map my Managed property in Central Admin. Thank you for your help
Imir Hoxha
  • 1,674
  • 6
  • 31
  • 56
2
votes
1 answer

How to Update properties of sharepoint 2010 feature

I have a problem with updating properties of sharepoint 2010 feature this is my code : using (SPSite site = new SPSite("http://vm-pc:2000")) { foreach (SPFeatureDefinition def in SPFarm.Local.FeatureDefinitions) { …
Mahmoud Samir
  • 1,008
  • 1
  • 7
  • 13
2
votes
1 answer

Search for a specific document in a document library programatically

I am trying to search a document library for a specific document. I am fairly new to sharepoint and cannot figure out how to retrieve the document. Below is my code: private void button12_Click(object sender, EventArgs e) { using (var site =…
2
votes
4 answers

Prevent backspace button from navigating back in Sharepoint 2010 and IE

As a user requirement I have to disable the backspace button from navigating back in the history. I made the following piece of code //Bind back nutton to prevent escaping the page with backspace $j(document).unbind('keydown').bind('keydown',…
Machinegon
  • 1,855
  • 1
  • 28
  • 45
2
votes
1 answer

NullreferenceException when opening SharePoint Document Library

After running the Configuration Wizard in SharePoint 2010 (had to do this because of permission issues) I cannot open any Document Library like "Pages". I receive the following Error: [NullReferenceException: Object reference not set to an instance…
2
votes
0 answers

Remove templates from "Create from Installed" List

I am attempting to clean up our custom site templates that are offered up in the Create from Installed area. I have searched the Solutions Gallery and the items I wish to remove are not found there - likely previously deleted at the Gallery level.…
2
votes
4 answers

Visual Studio 2010 / SharePoint 2010 Workflow Error

I have created a simple workflow in VS 2010. What it does is creating a task for a person, when the person changes the task status to "Complete", it logs a message to workflow history. When I change the status to complete, it says: "An error has…
Lin Zhang
  • 31
  • 6
2
votes
1 answer

IsNull with other parms in CAML query for SharePoint 2010

Consider the folowing CAML query: Field value 1
igortche
  • 115
  • 1
  • 8