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

learn more… | top users | synonyms

3
votes
1answer
1k views

Can I Access the SPAuditQuery from the JavaScript Class Library?

Or there's a SP2010 Built-in service to access Audit data? [UPDATE] Quick awnser, No, there's no way to access the SPAuditQuery from the SP JavaScript Class Library. At the end I end up using a WCF ...
3
votes
4answers
2k views

Show all tasks from user

How can I make a list with all Tasks? It is possible to use the MyTasks webpart, this is after changing a list of all task within the sitecollection. But i want a list of all tasks of multiple ...
3
votes
4answers
754 views

Which is Better a UserControl or WebPart?

What are the advantages of user controls over WebParts when dealing with SharePoint? Some I can think of are: familiarity, reusability, and development speed. I am planning to implement them in ...
3
votes
1answer
2k views

Sharepoint Incremental Crawl and BCS

I have a BCS connector (partial BDC Model posted below) and I'm noticing some issues with Sharepoint crawls. My full crawl seems to work perfectly, but incremental is pulling back the same number of ...
3
votes
2answers
891 views

DropDownList to display External Content Type?

I am creating a visual web part in Visual Studio 2010 for SharePoint 2010 Server. I would like to use a DropDownList that shows data from an external content type (that is tied to a SQL Database ...
3
votes
2answers
4k views

Sharepoint 2010 Permission level Full Control and explicit deny

I am facing a very frustating permission level issue with Sharepoint 2010. First, everything worked as expected up to few days ago. I have a user on my sharepoint 2010 env (publishing portal) named ...
3
votes
2answers
697 views

Tricky error in dialogbox styling

This question is related to this: Customize Sharepoint 2010 Ribbon in Dialog ONLY I did what suggested there and it works fine, but with a small problem shown on the screenshot below. My Ribbon html ...
3
votes
1answer
1k views

I am trying to rename a site using Set-SPSite command

I have created several host-named site collections and now I have to rename a couple. I used the command New-SPSite to create 'http://test1.domain.com' and was able to get everything going fine, but ...
3
votes
1answer
5k views

Calculated field Date formula

I have a date field, and it has the date in the format - 11/2/2011 11:40 AM How ever my requirement is to get the date in the format - 02 Nov 2011 11:40 AM For that I created a calculated field for ...
3
votes
2answers
7k views

What is the price of Sharepoint 2010 Enterprise Edition, with the 5 user cals [closed]

What is the price (in US Dollars) of SharePoint 2010 Enterprise Edition, with the 5 user cals? I can't seem to find this pricing anywhere. Whenever I ask one of the "local" resellers, the response is ...
3
votes
2answers
1k views

Listdata service with managed metadata or multivalue columns

The PowerPivot team just posted a white paper on Using SharePoint List Data in PowerPivot, which is awesome. Now I can slice, dice, and analyze the contents of a document library I manage. Except… ...
2
votes
0answers
107 views

Filter.aspx and GetDistinctValues

We found an issue, that filters on columns are stop working. Error message is: Cannot show the value of the filter. The field may not be filterable, or the number of items returned exceeds the ...
2
votes
1answer
87 views

SharePoint 2010 performance with SQL Server RBS

The SharePoint 2010 capactity planning document states that a database for a single sitecollection should not exceed 200 GB. However, if I use SQL Server RBS I can keep the physical database size ...
2
votes
1answer
469 views

Programmatically trigger “New document” action in a document library

I've been asked to check if it is possible to trigger the creation of a new document linked to a content type. Like, to make it simple, you have a webpart, a button, you click it, and it opens the ...
2
votes
3answers
98 views

@import, not working in css of sharepoint 2010

seen like this is the easy way, but I am facing some issue, I separated style sheet according to the section like layout.css typo.css element.css and sooo on and then from the masterpage ...
2
votes
1answer
2k views

InfoPath form: How to redirect to the previous page after pressing on the submit button?

I am using SharePoint 2010 Online (Office 365). I have created a form in InfoPath for an external list. You see some fields and a submit button. When I press on the submit button everything is ...
2
votes
1answer
1k views

Document Properties not carry to new version

SP 2010, I have a document library with versioning turned on. If I populate title on the document, and save it... then I upload a new version of the document the title will get wiped out. How do I ...
2
votes
3answers
1k views

Simultaneous development environment for SP2010 and SP2013 in single OS

I have on my laptop a development environment as win7 with std IIS, SharePoint 2010 Server, SQL 2008 R2 and Visual Studio 2010. I already installed Visual Studio 2012 side by side. But what about ...
2
votes
2answers
2k views

Audience Targeting on Navigation Links

I have a SP 2010 Enterprise instance, and I have some navigation links that I want to suppress using audience targeting. I have a particular SharePoint group with my members, and so I go to Look and ...
2
votes
4answers
2k views

How can I move an item in a library to another folder preserving meta-information?

I have a library with numerous folders and documents that I am trying to organize. The easy way would be to use explorer view, but I'm getting errors accessing it to which my internal help desk is ...
2
votes
1answer
2k views

Re-Ghost an UnGhosted Customized PageLayout?

I have a development environment, a test environment and a production environment. I develop packages in the development environment and update the solution in the test environment. As it turns out my ...
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
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
2answers
841 views

Exception “The SPListItem being updated was not retrieved with all taxonomy fields.” at changing TaxonomyField value

This problem appears only on one particular Document Library. I use TaxonomyField.SetFieldValue(myItem, myTaxonomyFieldValue); and it works fine everywhere except this lib. Can anyone suggest a ...
2
votes
6answers
3k 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
485 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
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
998 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
2k 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
437 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
3answers
6k views

How to get list by url using client object model?

Is it possible to get list by url using ECMA script client model? For example something like this: context.get_web().get_lists().getByUrl("Lists/MyList");
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
835 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
1k 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
627 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
2answers
80 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
76 views

Understanding list view threshold (I expected an exception)

I created a list with numerous lookup columns (more than 12) and many many list items (more than 30.000). The "All List Items" view works perfectly. This is expected However I expected a sorting on ...
1
vote
0answers
119 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
626 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
65 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
127 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
0answers
140 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
27 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
275 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
135 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
349 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 ...