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

learn more… | top users | synonyms

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
621 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
614 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
4k 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
925 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
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
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
253 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
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
986 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
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
1answer
7k 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 ...
0
votes
2answers
3k 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
9k 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
6answers
22k 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 ...
6
votes
1answer
867 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 ...
6
votes
3answers
2k 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?
6
votes
1answer
4k views

Remove a single user from all site collections in a web application using powershell

Is there a way I can choose to remove a single user from all site collections within a single web application using powershell. There are number of user profiles whose domain account has been blocked ...
6
votes
3answers
3k 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
1answer
3k 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
3answers
939 views

using ftp in a SP list

I am not yet familiar with Visual Studio SP development as I have just started developing on SP sites less than 2 months. I would like to use a SP list to initiate a transfer of HUGE files which ...
5
votes
1answer
5k 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, ...
5
votes
5answers
2k views

Need to sync User Profile with aspnetdb

Can someone please guide me on How to sync user profiles from aspnetdb (FBA users)? We do not have AD, So we need to Create and Sync the User Profile of Sharepoint with aspnetdb. Just to add more ...
4
votes
1answer
151 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
6k views

Powershell script to find permissions for a specific user

what am i doing wrong user.ps1 $user = "sp2010\systemsacct" $site = $gc | Get-SPSite sp2010 $site | Get-SPWeb -Limit All | Get-SPUserEffectivePermissions $user Out-GridView -Title "Web ...
4
votes
3answers
445 views

SP version history is different from version history dispayed in Office application

Have you any idea why office application like Excel or Word shows different name in version history than SP version history? This is version history of some Excel file viewed through SP GUI: ... ...
4
votes
1answer
2k views

Document Preview in sharepoint 2010

I have a custom webpart which shows all the documents belonging to the logged in User. I would like to show the preview of the document when user hover over on item in a webpart. How can i achieve ...
4
votes
3answers
6k 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
6k 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 ...
4
votes
2answers
2k views

How can I filter based on Choice fields when using ListData.svc in SharePoint 2010?

I have a list that I'm trying to query using ListData.svc. I am trying to pull back records within a date range and with a particular value from a Choice field checked. If I use Lists.asmx, I can ...
4
votes
2answers
309 views

Why can't I crawl bog-standard HTML internet sites?

This comes up in the crawl logs: Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository ...
3
votes
1answer
86 views

How do i “Refresh” each site collection's permissions?

My network admin have deactivated a lot of users from the Active Directory, and recreated them using the same username but with a different OU, Now the SP 2010 does not recognize these users or their ...
3
votes
2answers
782 views

Sharepoint site using corev4 AND custom CSS File?

I'm using a custom Masterpage which references a custom CSS File in the header like so: <Sharepoint:CssRegistration Name="CUSTOM/Custom.css" runat="server"/> My custom CSS file is simply a ...
3
votes
4answers
2k views

Embedding Video in Blog Post?

Is it possible to embed a video into a blog site post using a simple URL from the end user's perspective? I have tried two approaches: ...
3
votes
1answer
898 views

How can I get draft documents in a document library to be crawled by search?

Background for My Issue: I'm working on a document library, with major and minor versioning enabled. For the draft items, the client requires that only users who have permission to edit items in the ...
3
votes
3answers
1k views

User Profiles “User Information” -vs- Mysites

In Sharepoint lists, where it gives you a link to the user who created or modified a file, or to a username specified in a "user field" on a list, sometimes I get a plain "Edit User Profile" panel, ...
3
votes
1answer
3k views

How to copy People and group from one site to another

I need to copy People and group from one sharepoint site to another. I dont want to backup the entire site. Any pointers would be appreciated. Thanks, Lav
3
votes
3answers
10k views

How To: Send the Alert Emails to External Email Addresses?

In our SP2010 Intranet (Windows authentication) we are using "Alert Me" feature and it has been working great. However, Currently we have a new difficult situation where we want to send the Alert ...
3
votes
3answers
1k views

Deactivate the link of lookup-fields (2010)

On our solution (SP Foundation) we multiple lists with quite some lookup fields. Some of the lookup fields are user fields who link to the user info list, and we don't want that to happen. Of ...
2
votes
0answers
135 views

Required Field Issue with SharePoint 2010 December 2013 CU

I installed SP2 a couple of weeks ago to fix the issues with my XSLT Compiles timing oot (Which was a Bug introduced in SP1). Things seemed fine, but then a few days later we noticed that workflows ...
2
votes
1answer
538 views

Anything other than username in Person or Group column will not resolve only in quick edit mode

This is a SharePoint 2013 environment migrated from SharePoint 2010 (this works properly in the old 2010 environment). There's a “Person or Group” column present in a document library. When using ...
2
votes
3answers
854 views

Files deployed in module cannot be found

I'm trying to deploy a selection of pages and master pages in modules but I'm encountering the same problem with all of them. When I try to navigate to a page, I get a File Not Found error (with ...
2
votes
1answer
294 views

When do I need to use -CASPolicies updating a 2010 solution?

When I update a solution in 2010, I use the following PowerShell Script with the -CASPolicies attribute: Update-SPSolution -Identity MySolution.wsp -LiteralPath ...
2
votes
1answer
235 views

SPv4 - Alerts based on view - What are the limitations?

The quick version (SP2010 Enterprise): What requirements/limitations are there for being able to assign a view to an alert? The full explanation: I've been playing around with creating alerts via C# ...