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

learn more… | top users | synonyms (1)

9
votes
3answers
7k views

Reusing the XsltListViewWebPart

In my situation, I'm creating web part pages with XsltListViewWebParts on them. I need to set a predefined view on them, with custom filtering / columns setup in CAML. Therefore, I tried moving the ...
13
votes
1answer
3k views

Change Sharepoint language with a link?

Is there a way to get the language-switch control as static link in the pagelayout? I want my users to switch between German and English with a single click. Sorry guys, found a solution :D ...
10
votes
2answers
3k views

How can I use normal paging on a custom view?

I'm creating several lists (and their views) programmatically, based on custom list definition templates. When these views display more than 30 items, the following link is displayed: Whereas on ...
10
votes
4answers
22k views

Powershell: cannot access the local farm

Yes, I am logged into the machine as an administrator, and my domain account id a farm admin as well. The site is running properly, and nothing seems wrong in SP Central Administration. But when I ...
6
votes
2answers
3k views

modify web.config programatically to add a workflow authorized type

I need to add a line in the web.config under authorizedtypes, I want to do it with a wsp solution so that sharepoint takes care of syncrhonizing it with other front end servers. I just want to put ...
10
votes
1answer
2k views

Possible to add a “configuration” page to my custom timer job?

I would like to have a page in the central admin that allows administrators to configure a few values for the my timer job. Is there a way that I can do this?
7
votes
4answers
4k views

How can I schedule the User Profile Service to run a full sync weekly?

We are running SharePoint Server 2010 and have not yet applied SP1. User profile incremental sync is not picking up all of the group membership from AD. Starting a full sync seems to rectify the ...
8
votes
3answers
9k views

Sharepoint 2010 XsltListViewWebPart on site definition template

Im having a problem placing the XsltListViewWebPart on my Default.aspx template (relevant code bellow) <WebPartPages:WebPartZone runat="server" ID="NewsItemsList"> <ZoneTemplate> ...
8
votes
5answers
13k views

SharePoint 2010 Column Index on Large List

I have a custom list with more than 5000 items. This article: http://msdn.microsoft.com/en-us/library/ff798465.aspx (the last section, "How Does Indexing Affect Throttling?") states: "For ...
5
votes
1answer
217 views

XSLT Global parameter LCID is empty

According to this MSDN documentation about XSLT global parameters, in main.xsl there is a parameter named LCID whose value should be the value of ...
4
votes
2answers
7k views

WCF Service Endpoint not found (but service operations work OK)

Here is my problem: Does anybody know how to configure a WCF service hosted in Sharepoint to show standard WCF welcome page (the one with description and a link to wsdl)? I want to underline that I ...
4
votes
1answer
1k views

How to Set Forms Authentication Timeout?

I have a public facing SP2010 site that uses forms authentication (default ASP.NET membership provider). I noticed that The user stays logged in even after hours of inactivity. We need the user to be ...
3
votes
1answer
9k 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
2k 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
3k 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
4answers
12k views

Display List or Library on another site as WebPart?

I want to display my list on another site in same site collection. I edit List with SPDesigner, select the view and save it to site gallery. After these steps, I added the view webpart on my another ...
9
votes
1answer
1k 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 ...
7
votes
2answers
6k 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
1k 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
2answers
12k 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!
6
votes
2answers
385 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
2answers
778 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
7k 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
3k 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
2answers
3k views

Attach a Javascript function to an OOTB ribbon button

I want to attach a custom javascript function to the out of the box "Download a copy" ribbon button. This is to provide analytics for file downloads done through the ribbon button. I tried this ...
4
votes
1answer
5k 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 ...
4
votes
1answer
649 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
3answers
971 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
6k 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
59 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
4answers
5k views

Configure a new SharePoint install with existing databases

I'm trying to "clone" my company's SharePoint installation in order to run some experiments. The system is run on a virtual machine, but for some reason the VM will only work in the system were it is ...
3
votes
3answers
977 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
3k 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
516 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
2k 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
4answers
11k 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 ...
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
3answers
358 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 ...
1
vote
1answer
686 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? ...
1
vote
3answers
2k 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
1k 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
4k 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
1answer
9k 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 ...
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
4k 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.
8
votes
4answers
10k 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
3answers
3k 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
6answers
26k views

Unable to open office files in Office client

While trying to open an excel document stored in "Shared Documents" library, the excel application opens up with a login prompt, to which I passed the login credentials of the site. After which the ...
7
votes
2answers
3k 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 ...