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

learn more… | top users | synonyms (1)

2
votes
3answers
6k views

“The name 'InitializeControl' does not exist in the current context” error when trying to create Visual Web Part with VS 2012 for SP 2010 Foundation

I'm trying to create a blank Visual Web Part project with VS 2012 (on Windows 7) for a site on SP 2010 Foundation. When I build the project, it throws this error "The name 'InitializeControl' does not ...
2
votes
1answer
4k views

How to add a registration button to a calendar list / list form?

my use case is: I want to create an event management system without using meeting workspaces (sadly I/We can't use them, at least the senior dev. told me). There shall be: One Calendar List, ...
2
votes
2answers
2k views

Adding Document to a record library programmatically

I have a requirement, where I need to upload a document like invoice report to a record library programatic. I have used the same code as uploading document to a normal document library. Now the ...
2
votes
1answer
2k views

Edit All SharePoint Forms View

Is that possible to edit all SharePoint Forms (View, Edit, New) to get something like this: Label and Input as a row If it is possible, how can i do that ? Do i need to change the ...
2
votes
6answers
4k views

How to get the url name of a subsite from a webpart?

Salvete! I have a web-part (sp 2010) with a web-page viewer that loads a custom aspx page. I need to get the url of the current subsite from the aspx page. In other words, if the path in my browser ...
2
votes
1answer
514 views

Global Navigation links are missing in Site Template

I'm using SharePoint 2010, and have structured the global navigation with 6 Headings. Four of the Headings have multiple (child) links below them. These child link url's are pointing to custom ...
2
votes
3answers
13k views

Allow users to submit items to a library but not edit or delete

I have a library where I want anybody to be able to add items to it, but only a select few can edit them or delete them. The unpriviledged folk currently have "Read" permissions on the library, and ...
2
votes
1answer
1k views

Customize Sharepoint 2010 Ribbon in Dialog ONLY

In the screenshoot below I pasted the Dialog of the NEW ITEM on top of our website. The ribbon bar selected in red, we want to change it, but it should be different to the ribbon bar in the normal ...
2
votes
2answers
2k views

How do I associate a workflow to a custom list in Visual Studio 2010?

I created a Sharepoint 2010 Sequential Workflow in a Visual Studio 2010 project. But I didn't found a way to associate it to one of my list. Every time I deploy to the site, I have to manually ...
2
votes
1answer
1k views

Powershell script for adding imported user profiles to SP group?

I've managed to import user profiles from our AD. Now I want to add all the imported user profiles into a specific SharePoint group, let's say Visitors, and doing this by using the People Picker takes ...
2
votes
1answer
4k views

Why do my breadcrumbs not show the proper level on pages with embeddeded links?

I have a Sharepoint site that currently inherits everything from the v4.master page. This site in an internal wiki page for company documentation. Each page within the wiki can have 1 or more pages ...
2
votes
1answer
3k views

Set multiple values to Enterprise Keywords TaxonomyField

I want to programmatically set the values of the Enterprise Keywords Managed Metadata field. This field supports multiple values, but I can only get it to take one at a time. I have the following ...
2
votes
2answers
472 views

PowerPivot MultiRefresh Per day

Is there any way to configure the schedule refresh of the PowerPivot file to refresh the file many times per day. even with writing custom code. Thanks in advance for you support
2
votes
4answers
6k views

How can I filter a calendar (ListViewWebPart) web part?

I've entered a lookup field to a calendar list that corresponds with the values in a list of links. I would like to show only calendar entries on the web part that correspond with the selected link. ...
2
votes
1answer
877 views

Check out a Page Layout to update programatically

In a FeatureActivated event, I am trying to update the associated content type for a Page Layout. I am running in to issues though with the associated ASPX page not being checked out. Here's my code: ...
2
votes
1answer
380 views

Do connectable webparts need to be in the same project?

I've found two tutorials that I'm looking at: http://msdn.microsoft.com/en-us/library/ms469765.aspx http://mstecharchitect.blogspot.com/2010/04/creating-connectable-web-parts-using.html But both ...
2
votes
2answers
2k views

What are the differences between extending a web app and adding a host header then adding alternate access mappings in SharePoint 2010

What are the differences between extending a web app and adding a host header then adding alternate access mappings in SharePoint 2010? My understanding is that , if you are using different ...
2
votes
3answers
647 views

Master Page option doesn't exist

I'm working on this ShP2010 project, but i don't have the "Master Page" link under "Look and Feel" in my site settings. Is that a configuration? can it be enabled to show the link? thanks.
1
vote
1answer
53 views

Add a sequence to list SharePoint 2010

I have a problem of sequence in the list SharePoint 2010. I need a column Sequence with format 000001. This column is in type of single text. I think the best way is customizing a workflow, but I ...
1
vote
3answers
66 views

Sharepoint 2010 and 2013 on same SQL Server

We have a Sharepoint 2013 installed with SQL database Cluster and our old Sharepoint 2010 databases should also be moved to the new SQL database Cluster but not migrated to Sharepoint 2013. I have ...
1
vote
1answer
115 views

SP2010: Client object model: add new wikipage to document library

Is it possible to create a new wiki page using the client object model and give it some content ("<h1>Welcome to the SharePoint!</h1>")? I'm using VB.Net
1
vote
2answers
116 views

Find Interval Between Dates Problem

I have a very odd problem, one that's been baffling me for over a week now. I have a workflow designed to create a new task a set period of time in the future once a current task expires. These tasks ...
1
vote
0answers
215 views

Workflow creates document set, but not its documents

I'm creating a workflow that will create a new instance of a document set in my document library. This step implemented like this: Creating the document set manually (using the SharePoint website) ...
1
vote
1answer
734 views

Check box in gridview should update the splistitem check box

I am a newbie in visual studio. I have a Sharepoint list which contains the following fields group name, user, section and active(which is a check box) . I have a grid view visual web part which will ...
1
vote
2answers
79 views

Search in selected managed properties

I need to search my query only in specific managed properties. Currently I am having results which do not contain the query to be search. How can I restrict so that search is done only in a b c ...
1
vote
1answer
146 views

what account does code run under in sharepoint 2010

If i create a custom web part which account does it run under when a user navigates to page that has the custom web part added. Is it the app pool account or the users account. I cant remember the ...
1
vote
1answer
803 views

Updating a multiselect field via REST API 2010

Can you update a mulivalue choice field via REST API in SharePoint 2010? If I perform a simple GET I receive: { "d": { "__metadata": { "uri": ...
1
vote
0answers
147 views

How do I get the attachments for a SP 2010 list to sort the attachments in alpha order by document name?

I hope someone can help me PLEASE. How do I get the attachments on my SharePoint 2010 List item to sort in alphabetical order by document name?
1
vote
0answers
34 views

Workflow consuming webservice - Editing the address?

My State Machine Workflow (SP 2010) consumes an external Web Service that I have added as a Service Reference in Visual Studio. The WCF Service is currently hosted in my local machine. We have ...
1
vote
2answers
283 views

Filter list data based on page Url

I have a relatively small SharePoint list. When a user comes to the list page I want a generalized list to display with a search box. I want this list to have no parameters or variables attached to it ...
1
vote
1answer
152 views

“User cannot be found.” error in Powershell

I am writing a PowerShell script to re-sync my users to the AD because of a problem I have described Here. From time to time I get a "Set-SPUser : user cannot be found." error but when I call the same ...
1
vote
2answers
411 views

Farm Backup vs Granular Backup - SP 2010

I am using SharePoint 2010 and I only have 1 Site Collection. In my CA I can do a Farm Backup or a Granular Backup. What must I used, I just want to make a full backup of everything including all ...
1
vote
1answer
2k views

How do I View the Raw XML Output of a Content Query Web Part?

I would like to see the Raw XML that is output from a content query web part so that I can develop a custom xsl stylesheet for this. I have the publishing infrastructure enabled. I assume I can do ...
1
vote
1answer
1k views

How to create WSP Package of a SharePoint 2010 site without VS 2010 (with SP Designer)?

I am having a site with publishing feature enabled. So "Save site as a template" feature is not available for me. Since I don't have control over the SP server farm, I am not sure about how I can ...
1
vote
2answers
782 views

Unable to update page layout

Working on branding an old sharepoint solution. Working on a machine where a sharepoint application has been previously set up and all the pages and page layouts have already been deployed. All I need ...
1
vote
2answers
383 views

Import a single row from Excel spreadsheet

I'm currently trying to copy a single column from an excel sheet and import it in an existing list on sharepoint. I tried this via microsoft access, but i'm only allowed 255 characters per row! Is ...
1
vote
3answers
3k views

Hide some lists from treeview?

I want to use the tree view on the left side, but I don't want it so show some of the document libraries such as Site Assets and Style Library - they need to be on the site, but users don't need to ...
1
vote
1answer
1k views

JSON file is not served

In a standard team site, I have a document library that host a static website with html files as well json files loaded asynchronously with javascript. This was working well in SharePoint 2007. ...
1
vote
2answers
607 views

Feature Administrator in SharePoint 2010, Exam 70 - 667

I came across this question which seems very confusing to me while preparing for 70 - 667 exam, You configure a SharePoint Server 2010 Service Pack 1(SP1) Farm. You need to ensure that a ...
1
vote
1answer
85 views

Content DB not getting any permissions on web application created through central admin

I tried to create a Web Application using Central Admin. It created web app without displaying any error, I can browse site too after creating site collection and that, but content db got no ...
1
vote
1answer
4k views

How to Filter DataView WebPart (DVWP) from Query String?

I have a Web part page which has two web part. 1) Visual Web part Containing Drop Down List. Drop Down is filled with data from column of Pages Library. 2) DVWP pulls data from Pages Library. Now ...
1
vote
2answers
2k views

Calculated Column left align header

In my list, I want a column to have a custom hyperlink. I create a Calculated column that has the following formula. ="<a ...
1
vote
2answers
1k views

What are the limitations of Mobile device access in Sharepoint 2010

I need to know Limitations of mobile device access in SharePoint 2010 vs desktop access to Sharepoint 2010, before I start a sharepoint mobile access project. What features don't work out of the box ...
1
vote
4answers
4k views

How to insert a named hyperlink anchor in InfoPath?

I have an infopath form, and I want to create a sort of table of contents so that when users return to finish filling out their forms (after having left off), they can jump to the section. I see that ...
1
vote
3answers
4k views

“Access Denied” while Activating Custom Timer Job

When i tried to Activate Feature of Timer Job It returns error : Access Denied Scope of Feature is "Site".. private static void CreateJob(SPSite site) { try { ...
1
vote
0answers
220 views

Can I used People search core webpart and Search Core Webpart in Same page Fast Search?

in my result.aspx i have used almost webpart like SearchPagingWebPart,CoreResultWebpart,Search Actionlink webpart, etc.. I am used PoepleSearchCoreResult wepbart in that page as People Matches. i.e ...
1
vote
2answers
420 views

Reading contents inside PDF file

How can i traverse the contents present inside PDF file. Suppose i have PDF documents inside a document library and I need to read contents inside PDF file to know the type of PDF file whether its a ...
1
vote
2answers
2k views

Enabling incoming email for SharePoint document library without Active Directory or Exchange?

This is a high level question. Can I enable incoming email for SharePoint without any involvement from Active Directory or Exchange? From what I have read, integration with Active Directory or ...
1
vote
1answer
198 views

default custome webpart became static on custom site page

I have created a custom site page in sharepoint 2010 and added the following code to it <WebPartPages:WebPartZone runat="server" FrameType="TitleBarOnly" ID="Main" Title="loc:Main" > ...
1
vote
2answers
4k views

Feature not activated by default

I have a SP2010 wsp that contains multiple features all are scoped "web" all was working fine. But suddenly one of the feature stopped activating by default on deployment though all other features are ...