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

learn more… | top users | synonyms

1
vote
4answers
3k 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
4answers
767 views

Sandboxed solution -get SharePoint lists programmatically

I am using the below code for retrieving all sharepoint lists from a site. SPSite site = new SPSite("http://servername:port"); SPWeb web = site.OpenWeb(); SPListCollection SPlists = web.Lists; ...
1
vote
1answer
89 views

Trying to implement a follow up date

We have a calendar in sharepoint 2010 Foundation that we have added some extra columns and workflows but I am trying to impliment a followup date. At the moment all we have done is created a ...
3
votes
1answer
97 views

Copy folder from Source-Library and paste it to Target-Library?

I need to copy a folder from a SharePoint 2010 library and paste this folder into another library e.g. the folder: "myTestFolder" from mysharepoint/sourcelibrary to mysharepoint/targetlibrary ...
1
vote
2answers
78 views

How can one reset themes as they are changed?

Is there any way of catching when a theme is being changed -- so that I can fire a ThmxTheme.RemoveThemeFromWeb? The option to change the theme is currently hidden in our farm, but we can't disallow ...
0
votes
1answer
369 views

Cannot install SQL Server (2012) PowerPivot for SharePoint, always fails Sharepoint Version check

Trying to install a fresh install of Sharepoint 2010 (w/ SP1) Enterprise Evaluation and SQL Server 2012 PowerPivot for Sharepoint. The prerequisites clearly show that Sharepoint 2010 SP1 is needed, ...
0
votes
2answers
3k views

How Can I Add a New File to a Document Library With Client Object Model?

I'm a beginner with SP COM. I can't find any samples about this online. Could anybody tell me how I should proceed to add or remove a file from a document library in SP 2010 with the Client Object ...
0
votes
1answer
194 views

AfterProperties and BeforeProperties in managedmetadata fields returns different strings depending on language

I have a managed metadata column in a list. With values in English: Brussel in french: Bruxelles. I need to compare in the ItemUpdating event the before and after properties. I know that the before ...
0
votes
1answer
158 views

Site collection with diferent url

I have a question regarding the adress of the site collection. I know the web application is sort of enterance point, which has ofcourse different urls, but is it possible to assing an url to site ...
1
vote
0answers
179 views

The type or namespace name 'SPD_SendEmailWithAttachment' could not be found

I have a workflow that is triggered programatically in an ItemAdded event reciever. The thing is its giving me a "Workflow was was cancelled by System Account". However when I check the log file, i ...
2
votes
2answers
552 views

Browser based InfoPath form scrolling to top of page randomly

When users are filling out a web enabled InfoPath 2010 form on my company's SharePoint site there are times that the form will automatically scroll to the top of the page. The user checks a box and ...
2
votes
1answer
2k views

Why is my PowerPivot gallery not showing snapshots?

after creating a PowerPivot document, my PowerPivot Gallery is looking like the image below. The red cross message is "An error ocurred while capturing snapshots for this document". How can I solve ...
1
vote
1answer
525 views

Multiple managed metadata tags single document

I have added a document to my document library. How do I add multiple managed-metadata tags to a single document? I would like to have functionality similar to the way tags work in stack exchange ...
2
votes
1answer
195 views

Programatically update field/column name in a list on all sub sites [Powershell]

What I want to do is with a Powershell script programatically go through all subsites in a site collection and change a column name in a list from "Web" to "Site". So in easier words: Go through ...
5
votes
4answers
1k views

How to hide the _cts folder in all document libraries?

In one existing site collection all document libraries are suddenly showing the _cts folder. Any idea how to fix it?
0
votes
0answers
127 views

How to insert fields of the Document Information Panel inside the body of DOTX document?

In a DOTX template document, how can I insert a placeholder for the fields in the Document Information Panel? I'm only being able to insert document properties, via the Quick Parts button. And, if ...
1
vote
2answers
329 views

How to programmatically determine if anonymous access is enabled for a SharePoint 2010 Web Application using C#?

In Central Administration\Manage Web Applications, there is the ability to enable anonymous access on a web application through the authentication providers. Is there a way to programmatically ...
0
votes
2answers
411 views

Where is the InfoPath self-signed certificate store?

Salvete! I used InfoPath 2010 to create a self-signed certificate (which I can see in Infopath when I go to sign my code). Where is that stored? Even after a refresh, I can't find that certificate ...
1
vote
0answers
427 views

How to customize OOTB workflow emails

How can I make simple format-type customizations to ALL OOTB workflow related emails? I have found that many pre-Sharepoint 2010 posts indicated that OOTB workflow emails are in fact 'alerts', and ...
0
votes
0answers
473 views

Force checkout not working with Edit (link to edit item) column in SP2010

Could someone be so kind as to check the following in their 2010 environments. Create a doc library Turn on force check-out Turn on versioning. Add the "Edit (link to edit item)" column to the ...
2
votes
3answers
398 views

Steps to Deploy multiple webparts with one feature

(SharePoint 2010) I have created 4 webparts each in their own solutions and they work great. How could I add each webpart to an empty solution and deploy them as one feature & have each web-part ...
1
vote
2answers
222 views

Implementing a CSS Framework in Sharepoint

I've seen a post from you remarking on implementing a CSS framework in the Page Layouts, rather than the Master Pages, which when I think about it makes sense. However, how do you include the ...
0
votes
1answer
110 views

Modal Dialog containing a webpart

My ideal situation is to have a "Preview" option available for subsites. I thought perhaps a good way of doing this would be to have a modal dialog pop up containing some of the subsite's information, ...
0
votes
1answer
40 views

synchronization of fieldlinks accross sites. (deleting a fieldlink will remove the data?)

We have a corrupted sitecollection where lists are behaving strange in production, but they are working fine on acceptance and test with the exact same deployment steps and scripts. Our best guess is ...
1
vote
0answers
92 views

Editorpart positioning at the bottom

I created my own custom editor part for my web part. But when I add it to the web part, it displays by default at the top, what i would like to have is to position it at the bottom. Anyona has any ...
1
vote
1answer
487 views

External content type from SQL stored procedure with EXEC

I'm trying to create an external content type from a stored procedure. I'm hitting one problem, when creating a Read List Operation, though: The wizard is not able to find any return parameters (see ...
1
vote
1answer
206 views

Configuring Personal Site Quota Per User

Initially, I would like all users to have the default Personal Site quota, which is 100 MB. Per user request, I would like to increase this quota to 500 MB for that individual user only. Is this ...
0
votes
0answers
96 views

Automated PowerShell task cant create list items

I have a powershell script that gathers some data and looks to upload that data to SharePoint. Im uploading the data via 2 methods, as an excel spreadsheet, and as a list item in a custom list. When ...
1
vote
0answers
118 views

Is there a way to get a Slide Library to show up via relationship to a list?

I have a list and a slide library with a lookup to the list. On the list item, I want to show related slides. I edit the list item view and go to Insert>Related Lists and choose "Slides" (the slide ...
2
votes
0answers
82 views

Is there any way to have a reoccurring appointment with a duration that lasts a week? (On Call Calendar)

I have been trying to migrate from our team shared calendar in Exchange and move over to SharePoint 2010 for our permanent Team Calendar. However, we have an On Call event that re-occurs and has a ...
1
vote
2answers
390 views

How to execute KeywordQuery as specific user?

I want to issue a search query from code using KeywordQuery as a specific user. The background is that item level security needs to be applied. I want security trimmed search results. I tried two ...
1
vote
1answer
118 views

Set PageLayout Object by Page Layout Name

I have code as part of an event receiver that creates a publishing page upon feature activation. That publishing page is built on a page layout that is deployed as part of that same feature. The ...
0
votes
1answer
32 views

Is it possible to generate a new mysite space with the Web Services?

I need to generate a mysite space upon account creation. As of today, once the account has been created, user is redirected to /_layouts/mysite.aspx generating the mysite. I need to call this ...
3
votes
3answers
209 views

How to alter result of a CQWP query?

On the site I'm maintaining, alle the news pages has a Note Board webpart for commenting on a newspage. On the news summary page resides a standard CQWP, displaying the most recently posted news. ...
3
votes
2answers
256 views

Workflow made in designer not working in Production

I've made a workflow in Designer which I invoke trough code in Visual studio. The solution is working fine in my Development machine, but when I implement to the production I get an error: Object ...
3
votes
2answers
1k views

How do I use QueryOverride in CQWP when deploying web part instance using Elements.xml?

I need to use the CQWP with more than three filters, hence I'm going to use the QueryOverride with a CAML query like described here. I can't get this to work when deploying the web part instance using ...
0
votes
2answers
4k views

Failed to load receiver assembly when activate feature

I have a problem when activating a Site scoped feature. Every time I try to activate the solution with STSADM or Powershell I get this error: C:\Program Files\Common Files\Microsoft Shared\Web Server ...
1
vote
1answer
336 views

Reading toolpart property value

I have a webpart with a toolpart class. The toolpart renders fine, but how do I read/"get" the toolpart's value from the webpart class? ie if a button is pressed.
1
vote
3answers
2k views

Trying to save a file to SharePoint library via Powershell, but it doesnt work

Im trying to upload a file to a document library in SharePoint 2010 via powershell. Ive followed about 5 different blog posts, most recently the one found here - ...
0
votes
2answers
390 views

SP 2010 Variations copy list

I have create a new Site Collection with Publishing Infrastructure Top Level Site. I create the variation root to be "/" I added a variation label "fr", Ran "Create Hierarchy", then created a new ...
0
votes
1answer
64 views

CAML search ignoring diacritics

A rather strange request has appeared from our client, who wants to be able to search a SharePoint 2010 list for items (based on a string column) while ignoring diacritics. A quick example, assuming ...
0
votes
1answer
50 views

Loading DLL via key in appsettings

I'm using a service which requires that you implement a class ServiceHelper, and make it avaliable by placing a with an assembly reference in the webconfig's appsettings. The ServiceHelper class ...
0
votes
1answer
1k views

Invalid URL error when programmatically deploying files to the Style Library using a Module

We use a feature to deploy files that are common to our webparts to the Style Library in SharePoint Server 2010 and recently we came across the problem where files were not being updated when we ...
1
vote
2answers
2k views

Sharepoint 2010 - List Pagination Settings

I've been Googling my rear off and I think the issue is that the search terms are just too broad for what I'm asking. My users are complaining that the default pagination method (lists, libraries, ...
0
votes
1answer
415 views

Deploying Event Receiver globally after local development

I am a beginner with Visual Studio and Sharepoint development in general. I am trying to deploy an event receiver wsp file that I wrote to production for the first time. However, after I have ...
1
vote
1answer
829 views

SharePoint 2010 ASCX Edit withou WSP Deploy?

I have deployed an ASP.NET control in a wsp package. I would like to add some custom JavaScript and HTML to the .ascx file. Nothing that would need a recompile and re-deploy. Where is the actual ...
0
votes
1answer
483 views

Custom XSLT template - Content Query Web part

I've added a content query webpart (CQWP) to pull description (rich text) from a list and display it. I added the following custom template - <xsl:template name="MyDescription" ...
2
votes
1answer
2k views

Poor performance in EnsureListItemsData method. What happens here?

We have two 'identical' SharePoint farms; one production and one test. Both consist of 4 VMs with identical specifications. An application server, 2 WFEs and a SQL server. Both environments run a ...
1
vote
2answers
798 views

Error Handling with Powershell Scripts for SharePoint 2010

I am very new to writing PS scripts for deploying solutions and activating features. In my current scripts I get errors some time like feature not activated or deactivated properly. I am looking ...
0
votes
1answer
40 views

Send dvt_curselkey values between 2 pages

I have list (Plans of subdivisions) which I filter by several parameters (Division, year, quartal). I do this through multiple dvwp connections. So there is a parameter dvt.curselkey for each dvwp, ...