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

learn more… | top users | synonyms (1)

1
vote
1answer
339 views

Base64 encoded images with Sharepoint 2010 deployments

I'm currently using sharepoint 2010 and I want to use base64 encoded images. They work fine on our development server, but when the server goes through the standard content-deployment process to our ...
0
votes
0answers
3k views

(Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

I added a class library from one SharePoint solution to a console app. I wanted to isolate some xml mapping in class library so I could test it better without having to deploy my entire original ...
0
votes
2answers
2k views

best practice dispose parentWeb on feature activated, how to fix it in this scenario?

I am getting a warning from the spdisposecheck in one method I executed on the feature activated event. private void CopyAttendees(SPWeb currentWeb) { try { SPWeb parentWeb = ...
1
vote
1answer
958 views

Display a list of subsites?

Is it possible to display a clickable, self-updating list of subsites on the top-level site? Also, is it possible to further sort the list according to the subsite category? if it is, how can you ...
1
vote
0answers
38 views

Temporarily generate Office Document using Template and Lists from the SP library (SP2010 Foundation)

We use SharePoint Foundation 2010 Server for planing IT courses, where we have different lists for participants and for different courses. We also have all course certificates in one library. What we ...
1
vote
1answer
2k views

Exception has been thrown by the target of an invocation. when enabling enterprise keywords

I have the following code and I havent been able to find what the problem is. The exception is raised SOMETIMES in the last line of enable keywords, in the Update. The thing is we create a site ...
8
votes
3answers
10k 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> ...
2
votes
1answer
214 views

SharePoint Mobile - Look and Feel

How can I customize the SharePoint mobile pages look and feel by customizing the CSS? Where are the CSS files located that are loaded when the SharePoint renders the mobile pages?
1
vote
2answers
697 views

How can I export external content type as a BDCM file with powershell?

I can export external content type from SharePoint Designer or Central Administration. However, I want to export ect as bdcm file with powershell in order to export ect automatically. There is an ...
2
votes
1answer
3k views

How to add a field to a contenttype with feature upgrade, for NEW and existing sites

So, I have been using feature upgrading for a while, it works pretty well for existing instances, but as far as I know feature upgrade does not happen automatically, you need to trigger the upgrade, ...
0
votes
1answer
192 views

Error when connecting web parts in Code-Behind

In relation to my previous question, I've found some help on the internet that describes how to accomplish connecting web parts in the code-behind file of a site page. Following this, I have the ...
1
vote
1answer
1k views

How to filtering multiple columns in SPGridView

I have a webpart with SpGridView. I bind it with ObjectDataSource. I want filtering multiple columns. I set AllowFiltering for spgrid: grid.AllowFiltering = true; grid.FilterDataFields = ...
0
votes
1answer
334 views

Why Won't Calendar Generate any RSS?

Salvete! I have a calendar with one overlay. When I go to view the RSS feed, it is blank - that is, there are no entries at all. Now, for the calendar, RSS is enabled. For the site, RSS is enabled. ...
0
votes
1answer
818 views

Error: Access Denied when starting sharepoint 2007 workflow

I've done my fair share of searching and still can not find a solution. I've created a simple workflow in Sharepoint 2007 designer. When I check the box "Start this workflow when a new item is ...
6
votes
1answer
1k views

Extracting Comments from Version History in Powershell

So I am trying to extract version history from a document library in Powershell. I have found the commands/scripts to do this. However I cannot seem to get the comments. From my script I can get ...
2
votes
1answer
1k views

Edit a SharePoint List with InfoPath Form 2010 (Auto Populate Fields From List)

I am using SharePoint and InfoPath Designer 2010. I have a SharePoint list called DiskInfo and the columns are: Client, RAM, CPU. The Client field is a drop down box connected to another master ...
1
vote
2answers
745 views

Search only on User profile properties

I created a custom people search, with custom user profile properties. Everything works OK in the search unless it sometimes shows a "wrong" result. When I search "John", I also get other users who ...
2
votes
2answers
965 views

Customizing social tags and notes buttons on the ribbon

I want to change social tags and notes buttons in the ribbon, but I don't know how and even if it is possible. So we have 2 social buttons in the ribbon, I like it and Tags & notes. I want to ...
1
vote
1answer
10k 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
1answer
755 views

Using SharePoint resource files in literal

I have a user control, and I would like to use there the OOTB resource files for some standard text. So I found a resource file WSS and there a resource to view. In code: <asp:literal ...
2
votes
1answer
2k views

Custom Field XSL — Name vs FieldType

I've created a custom field according to the following walkthrough: http://msdn.microsoft.com/en-us/library/ff606773.aspx My field XML is as follows: <FieldType> <Field ...
0
votes
1answer
65 views

Advice: Structure for expense reporting

How would you structure lists/libraries taking performance and security into account. Some of the requirements connected to security: Users can only read reports they create, and edit before first ...
4
votes
2answers
530 views

Can you call SPSite on a different machine to SharePoint setup?

I'm trying to call SharePoint from within a standard .NET class library. This will probably be hosted on a different server to SharePoint. I just need to return an item from a list, and wondered if I ...
0
votes
1answer
3k views

How to set caml query for special view?

I have a list with 3 views. I want find special items of this. I use SPQuery for it. <Where> <Eq> <FieldRef Name='TypeTitle' /> <Value ...
3
votes
3answers
8k views

How to resolve “Cannot retrieve the URL specified in the Content Link property”

Salvete! I have a Content Editor Web part into which I want to load a simple bit of html (just an input box and a button or two). The file is at /_layouts/myfolder/myfile.html When I use the "Test ...
1
vote
2answers
5k views

date ranges in CAML queries

I have a list with a datetime filed. I want selected items from this with date rang. I use this code <Where> <And> <Geq> <FieldRef Name='SendDate' /> <Value ...
1
vote
1answer
863 views

SPFile.OpenBinary - Encoding Issues

I am copying some SharePoint pages from one site collection to another and I noticed that certain special characters get mangled up in the destination file. Here is an example: Source Text: Nous ...
5
votes
2answers
4k views

SharePoint 2010 - Strange errors starting this morning

A few hours ago, one of the site owners sent me an email saying that they "couldn't click on anything". Upon more inspection, it turns out that they do not have access to the ribbon bar, cannot click ...
3
votes
3answers
1k views

Personalization with a User Profile Property in the SharePoint 2010 Master Page

I'm trying to build a megamenu with two levels of personalization for every user: Filtered links driven by list-based content. I'm using a DVWP for this. The DVWP is all set up and works great in a ...
1
vote
1answer
941 views

Remove line spacing from 'Full details' in workflow email

I have a workflow in SP 2010 that I use to send an email whenever an item is added. I've included the 'Full details' in the body of the email, however when the email arrives it has massive spacing in ...
0
votes
2answers
2k views

Is it possible to change (modify) Custom Site Template name?

Is it possible to change the name of my Custom Site Template? Right now I have a custom site template, the name of this template is "Member Template" And I would like to change the name to "POST ...
0
votes
1answer
84 views

DVWP Error Grouping

I have a data view web part which was migrated to a SharePoint 2010 environment. It had a query parameter to group by month(calculated column) and filter by year. Since the migration it has been ...
2
votes
1answer
817 views

Parse pasted images from Outlook emails as attachments in Sharepoint list

I have a Sharepoint list with incoming email enabled, and an email event receiver to create items out of incoming emails. Once an email is received, it sends an email back to the sender with the ...
1
vote
1answer
445 views

How to Set Input Filter Programmaticlly in BCS

I have a Method in Entity which takes 2 input filters. Now I want to set a value in this filter. How can I do that? I already got the collection of Filters using the GetFilters() method of the ...
0
votes
1answer
42 views

Check if Login is Done With Word or Office Applications in Custom Login

Hi, is there a way to check if the request to SharePoint comes from an Office application in a custom login page?
0
votes
1answer
868 views

ItemUpdated Event, After or Before Property Title name is null

No matter what I do, before and after for title are always null. This is an item updated receiver in the meetings or event list ![public override void ItemUpdated(SPItemEventProperties properties) ...
0
votes
1answer
297 views

Dynamic and Automatic approvers in SPD workflow (OOB)

I have a list items that need to be approved by a set of approvers. The list of approvers would change based on department, location and value of item. For example, if there an item to be moved from ...
1
vote
2answers
973 views

Change Url of existing site by code

I have a meetings list, when a new event is created a subsite is created with an specific format. The list allows to change the date of the events, but when this happens the name of the subsite and ...
2
votes
3answers
1k views

What is the best way to provision Content Types and managed metadata columns in SharePoint 2010

What is the best way of provisioning ContentTypes, Columns and Metadata columns in SharePoint. Keeping in mind that we have two approaches of 1) SP object Model and CAML (declarative way). Which ...
3
votes
1answer
206 views

Site Scope Feature dependent on a Web Scope Feature

On the root web for my site collection I need to make sure a web scope feature is turned on. In the feature EventReceiver I can turn on the feature progamtically. How can I stop the user turning the ...
0
votes
1answer
432 views

List Onload event

What I want to do: I have a custom list that contains a lot of items. When an user loads the list, all items of his view should be checked. If there is a special value in the listitem a notifiaction ...
1
vote
2answers
894 views

SP2010 autologin with FireFox

I need to use auto log on for a bunch of computers that run FireFox as default browser. The BIG PROBLEM is that all of these computers aren't part of the domain, but they all exist in a workgroup. ...
0
votes
0answers
306 views

Using SSL for multiple CNames

I have a SharePoint 2010 install with a single web site on port 80. I recently added a wildcard SSL Cert to IIS7 on the server and added a binding for my SharePoint site. So far, so good. The ...
0
votes
1answer
696 views

Microsoft SQL Server 2008 R2 (RTM)upgrade query?

Will SharePoint Server 2010 SP1 be compatible for an upgrade to SQL Server 2008 R2 SP2 CU2 from Microsoft SQL Server 2008 R2 (RTM)? If we upgrade(from Microsoft SQL Server 2008 R2 (RTM)) Is there any ...
0
votes
2answers
7k views

Using GenFireServerEvent(('__commit;__redirect={/}')) in JQuery function on SP2010 Page

I have a custom Submit button on a custom NewItem form. I have a JQuery function which I would like to run when this button is clicked. I also need the GenFireServerEvent(('__commit;__redirect={/}')) ...
0
votes
2answers
1k views

Can the Newsletter style of the standard view be modified?

We're displaying a number of metadata fields in the newsletter style of the standard view. +------------------------+-------------------------------+----------------------------+ | Field1: Value ...
5
votes
2answers
692 views

Check out issues after migration

We've migrated a MOSS 2007 Site Collection into SP2010 as a Site Collection under a tenant in a multi-tenancy set up. This migrated SC gives an error on checkout through the UI that states that the ...
0
votes
1answer
272 views

sharepoint 2010 Remote Blob Storage , RemoteBlobStorageSettings is false

Im following this article for enable RBS on sharepoint 2010 i thinks its best article for that after a lot of search : http://www.simple-talk.com/content/print.aspx?article=1280 when I try the Step ...
1
vote
2answers
2k views

Where did my “edit” checkboxes go?

I just made a new view, and the checkboxes to select files (or select ALL files) have vanished from the view. I still have the drop-down to the right of the document name. I've been through all the ...
2
votes
4answers
640 views

What are the dangers of disposing of SPWeb when it's automatically disposed of?

In some cases such as: using (SPSite site = new SPSite(@"http://sitecollection/")) { SPWeb web = site.RootWeb; } you don't need to dispose of the SPWeb object because it is disposed of ...