For questions completely specific to SharePoint 2010 and **not past or future versions**

learn more… | top users | synonyms (1)

3
votes
5answers
23k views

How to Add Data Field to Existing Custom List Form?

Say I have created a really simple custom list via Sharepoint Designer, and then created a custom NewForm.aspx called NewFormTest.aspx to go with it. Now I have to add a field to the custom list. I ...
3
votes
1answer
11k views

2010 Column Validation Formula

This formula works fine when adding a new list item: =[Class Date]>=TODAY()+3 Basically ensuring the user selects a date greater than two days away from current date. I don't want the formula to be ...
3
votes
2answers
3k views

Logout in Mozilla and chrome not working / ADFS Authentication

I have custom logout page created. I have used an application page for logout. In the application page, I use a javascript and say document.execCommand(ClearAuthenticationCache). This works fine in ...
3
votes
2answers
4k views

improve People Picker search on a claims-based-authentification server (forms-based; FBA)

Long story short: On a SharePoint 2010 Server solution, which is using forms-based-authentification only, I want that the people picker search dialog works like any other usable search. Rightnow it ...
2
votes
1answer
286 views

Checkbox uncheck in document upload form for specific library

I want to change the behavior of the document library upload form i.e. it should appear unchecked when the user uploads the document in library. I searched over the internet and found this which ...
1
vote
3answers
720 views

SharePoint Webpart development using SPA or JavaScript library for better performance

We are looking at using combination of MVC4 and JavaScript libraries like Knockout and/or Breezejs for providing SPA or better navigation and performance within SharePoint 2010 environment. I am ...
10
votes
8answers
39k views

Update user profile for user whose account name has changed in AD

We have an issue with User Profile Sync in SharePoint 2010 when the following happens: A new user is added to AD (i.e. DOMAIN\jdoh) The user is synched successfully to SharePoint Time passes The ...
9
votes
1answer
2k views

SP 2010 & IE 10 - compatibility mode

IE10 is automatically installed on servers with every new update or on win 8 workstations and our users with rights do not read what is inside updates at all... 2010 SP2 is not ready yet and maybe ...
8
votes
8answers
6k views

Absolute URLs converted to Relative URLs when saving item

I have a list in SharePoint 2010 and it has got a multiline text field with Enhanced HTML enabled. When I create a hyper link pointing to http://servername/site and save it, SharePoint converts ...
8
votes
2answers
4k views

How does SharePoint Search handle pending (unapproved) items?

How does SharePoint Search handle the indexing of pending (unapproved) items/documents? As far as I can see there are no pending documents in the index. These seems a little odd to me, since it would ...
7
votes
2answers
18k views

Difference between WebPart & Visual Web Part

I'm not sure how Visual Web Part is different from the actual Web Part in SharePoint 2010. Thanks!
7
votes
2answers
8k views

XSLT Get Current date or Today in XSLT

Help please can anyone advise how I get current date, or today method in xslt 1.o SharePoint
7
votes
2answers
2k views

Number of comments with SocialCommentManager.GetComments

In my custom webpart, I want to show the number of comments. I try to get this throug SocialCommentManager.GetComments and then return comments.Count. The problem is: I get only comments for the ...
6
votes
1answer
7k views

Sharepoint 2010 : File path too long error during wsp file creation in MSBuild

We noticed our TFS build started failing with the following message: C:\Builds\1\MyProject\MyProject ...
6
votes
2answers
447 views

When moving SiteURLs is it better to recreate the Web Application or use AAM to redirect?

We've had an existing site that has been built and deployed to for awhile now, mostly an internal beta site at http://beta.site.com which has been built up with an extended site on ...
5
votes
3answers
10k views

SPSite.allwebs returns error

First of all sorry if this is an obvious question, I searched a lot but can't find the solution. When I open an spsite in powershell like this: $spsite = Get-SPSite "https://adress" And then I ...
5
votes
2answers
866 views

SharePoint Organization Profiles

I noticed that SharePoint User Profile Service now includes a definition for Organization Profiles. I think this is a really interesting new feature, but I'm not sure how it is used inside of ...
4
votes
4answers
14k views

How to set the Default value of a Date/Time column to next Friday?

I did some poking around in the documentation for Calculated field formulas, but I don't see anything that would help me do this. Does anyone know if it can be done? Can you point me in the right ...
4
votes
3answers
4k views

How to add event receivers to all the lists in a site collection?

What is the best practice around adding event receivers across all the lists in a Site Collection?
4
votes
1answer
3k views

Custom workflow activity shows up but can't be selected?

I have created a custom workflow activity and successfully deployed it. The issue I am running into is that when I try to select it when creating a workflow using SharePoint designer, nothing ...
4
votes
1answer
731 views

Including Description with Page Layout

I'm deploying a couple of custom page layouts as part of a feature for SharePoint 2010, and am having issues including the description with the page layout. I'm looking to include descriptive text as ...
3
votes
2answers
7k views

Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance

I'm running a SharePoint 2010 environment consisting of one Web Front End Server and one Database Server. When I view the event logs on the Web Server I see several errors with the Event ID 6482: ...
3
votes
3answers
2k views

Blog Read More Link and Summary of Body

I created a blog that uses the standard sharepoint 2010 blog site template. However as it currently stands the default.aspx page shows the entire blog article. I would like it to only show the first x ...
3
votes
3answers
7k views

Change a Web Application URL

We have registered our Web Application under the url http:\intranet. We no longer wish to use that URL at all and want to use http:\somethingelse. Is there anyway you can change the default URL in ...
3
votes
1answer
62 views

Mysite signin repeats in IE

For some reason my claimsbased mysite hosts won't let me login - it authenticates my credentials, but instead of taking me to mysite, it just refreshes the login page? It only does this in IE - I get ...
3
votes
3answers
1k views

How to bulk import User Profiles from a legacy system and pre-create MySites

I need suggestions how to accomplish one upgrade task. I have list of user accounts in .csv file which I need to import to SP2010 and create user accounts with appropriate attributes. Also this ...
3
votes
1answer
5k views

export / import spweb problem with DataConnectionLibrary feature

I'm attempting to export a subsite from staging to production using powershell and export-spweb and import-spweb. This worked just fine from staging to development. When we try to run this on ...
2
votes
1answer
731 views

Security Trimmed Control Show Only to Authenticated Users

I have a public facing website and on the homepage there are few contents that I want to show only to Authenticated Users.. Anonymous users should not be able to see it, what Permissions String should ...
2
votes
1answer
1k views

SharePoint 2010 - How to temporarily disable alerts being sent for a document library

I need to make changes to a lot of files in a document library. A lot of users have e-mail alerts enabled on this folder. How can I temporarily disable alerts being sent for this document library? ...
2
votes
1answer
810 views

ListData.svc with complex filters, Internet Explorer, 400 Bad HTTP request,

I have a problem understanding how ListData.svc can be debugged using IE8 and IE9. I have a URL that looks like this: ...
2
votes
1answer
3k views

Set “Overwrite existing file?” unchecked by default when uploading document

Due to Business requirement is it possible to set "Overwrite existing file?" unchecked by default when uploading document. This change would let users prompt when overwriting document, at the moment ...
2
votes
1answer
14k views

The property or field has not been initialized. It has not been requested or the request has not been executed

I am getting this error and from what I understand this is when you try and access columns from the list item. I have tried various things including the line below: clientContext.Load(items, eachItem ...
2
votes
2answers
3k views

Get document id after uploading it to SharePoint using the same web service

Does any one knows how to get the document id after uploading it to sharepoint using a single web service? So by using one call i can upload the document and get it's id. I looked at Copy.asmx web ...
2
votes
3answers
1k views

Deactivate email-notifications for SPLists only temporally (and programmatically)

So here's my Problem: I have a list which is used to notificate user. (Announcements) So it's essential that the email notifications work for most of the time. The announcement (items) get saved in ...
1
vote
1answer
271 views

Multiple X-UA-Compatible meta tags in SharePoint masterpage one of it for webpart

I have the code <meta http-equiv="X-UA-Compatible" content="IE=8"/> in my master page so certain things will work. However I have a twitter webpart which doesn't work in IE 8 so I need to ...
1
vote
3answers
3k views

sharepoint 2010 context menu event handler

i want to hide sharepoint 2010 list/library context menu based on users. i am using below javascript $(document).ready(function(){ $('.ms-MenuUIPopupBody').live('blur', function() { ...
1
vote
1answer
3k views

How to add values from a multi-valued field from a list using SPD's Update an Item Action

I have a workflow that automatically updates the value of a multi-valued field in an item. This workflow is working as expected. BUT, when that field/column of an item has a value already, the current ...
1
vote
5answers
7k views

“Run” or “Open” exe files from a sharepoint document library

So I've managed to get sharepoint to accept exe files in my doc library, by going into central admin and removing it from blocked file-types. I now need to make a link to an exe file on my sharepoint ...
1
vote
2answers
2k views

signout.aspx doesn't seem to be used

I have a requirement to remove a non-SharePoint cookie (if it exists) when someone clicks the "Sign out" link in the users menu. The cookie comes from a 3rd party system that we can use for ...
0
votes
2answers
5k views

How is Infopath 2010 “Sharepoint List Form” different from “Web Browser Form” and other form types?

If to create a new Sharepoint list, browse to it and click on ribbon a violet button with Infopath logo "Customize Form", one can edit fRom Infopath Designer a fOrm used for updating/editing and ...
0
votes
2answers
2k views

two column layout using XSLT of People Search Core Result WebPart

I have implemented "Employee Directory" on my portal using People Search Core Result Webpart. I want to create two column layout to display the results. How can I do that.
11
votes
4answers
14k views

Creating a Site collection programmatically throws exception <nativehr>0x80070005</nativehr>

I'm migrating a SharePoint customization from MOSS 2007 to SharePoint Server 2010 (Win 2008), which creates the Site Collection programmatically. Problem is I'm unable to create the Site Collection ...
7
votes
1answer
4k views

SPUtility.SendEmail() with attachment (.ics files)

We send the email from SharePoint by using SPUtility.SendEmail() method. But, now I need to attach multiple .ics file (Outlook meeting requests) with this email. I have only one option, I have to ...
7
votes
4answers
4k views

Login takes SHAREPOINT\system Account

When I Open m Web sometimes it Takes "SHAREPOINT\system" Account insted of My Own Account.. Can anyone help me why it is doing like that?
7
votes
1answer
9k views

Error when deploying module with GhostableInLibrary files

Here is the module which I want to deploy on the server and the files which should be shown in the Style Library, when deploying them without type ghostale in library, all go good and well, no errors, ...
7
votes
6answers
24k views

Can't pass authentication to browse a sharepoint site

I am trying to browse a sharepoint site in IE8 from the server where it is deployed. When I am promped to enter my credentials i enter them but this doesn't work. The box keeps appearing and asks me ...
7
votes
1answer
5k views

Endless prompt for credentials on a web application with host header

I want to create a web application tied to a domain name within my server. Following are the steps I followed: Modified the server host file for www.xyz.com to resolve to localhost I am able to ping ...
6
votes
4answers
6k views

calculated field - formula for ageing

Again a calculated field question, How can I create a calculated field to find out, what is the age of the entry. In the list I will have a created date field, from that I would like to create a ...
6
votes
3answers
4k views

Automatically turning on a feature on a new site collection

Is it possible to turn on a custom feature atomically when you create a new site collection? I have a branding feature that I want to be turned on by default for each site collection made.
6
votes
3answers
6k views

Programmatically move a document in a library to another site collection

I need to create an ItemUpdated event reciever on a documnt library that will detect when particular metadata value is updated on a document and move the document to a library in another site ...