10
votes
4answers
7k views

How do I check in a LOT of files all at once?

I put a lot of documentation on our SharePoint site, and it all lists as being Checked Out To me. How do I check all of those files in, in one shot?
10
votes
2answers
1k views

When to use SPItem vs SPListItem

I am confused on when to use SPItem vs SPListItem—specifically when grabbing items from a document library. What are the benefits of each and downsides of each.
10
votes
4answers
2k views

CAML Now Instead of Today - CAML Bug?

I have a CAML query, in which the <Where> node looks like: <Where> <Leq> <FieldRef Name='PublishedDate'/> <Value Type='DateTime'> <Today/> ...
10
votes
3answers
2k views

Best way to Impersonate in SharePoint

So far, I am aware of below 3 ways of performing impersonation in a SharePoint web part or page : Using Win32 API [DllImport("advapi32.dll", SetLastError=true)] public static extern bool ...
10
votes
2answers
1k views

Best way to package publishing content types

I'm currently planning on how to package my Publishing content types in a WSP to make deployment in production easier. I came a cross the following choices 1- create a feature receiver and ...
10
votes
1answer
1k views

Localizing the Content Query Web Part in XSL

Has anyone managed to get the locale ID for the context of an instance of a Content Query Web Part in XSL, without extending the class? DataViewWebParts have a Language parameter passed in, but CQWP ...
10
votes
1answer
2k views

Statistics on sharepoint use worldwide? [closed]

Does anyone know if there are any statistics out there for how many companies use SharePoint world wide? I did a quick search but couldn't find anything....
10
votes
4answers
7k views

Best Practice to check if a user exist

Am I missing something here? There should be a method to check if a user exist, which doesn't throw an error if it doesn't. EnsureUser() is not applicable, because that method creates a new user if it ...
10
votes
6answers
496 views

Facebook-like notifications when new item is added to certain list/library?

I was wondering if this is possible. The screenshot below somewhat illustrates what I'm searching for. I'd like to show a notification in a box whenever a new item has been added to a certain list or ...
10
votes
2answers
4k views

Best practice for developing a WebService in SharePoint?

I've followed the following steps to build a WebService in SharePoint: Created a new project using WSPBuilder. Added a 'WebService' (Add a new web service to the layouts folder) Do a WSBBuilder ...
10
votes
3answers
2k views

Google Maps v3 on Web Part page

Has anybody been able to implement Google Maps v3 on a Web Part page (SharePoint 2010)? The maps render fine if I display them in a separate .aspx page, but as soon as I try to embed the code in a ...
10
votes
4answers
1k views

Mutliple solutions using shared dlls can cause havoc when individual solutions are retracted

Problem: Multiple solutions using shared dll's can cause havoc when individual solutions are retracted. Example: You have a web part helper dll used by all your web part code. If you retract a ...
10
votes
2answers
624 views

“Best Practices” for SharePoint customizations/development to easily migrate to new SharePoint versions

Do you know of any documents that describe “best practices” for SharePoint customizations (especially custom developments) in order for these customizations/code (for example web parts, event ...
10
votes
3answers
3k views

Grab a specific property bag using ECMA script

I am trying to grab a key/value pair from a specific property bag but can't find any documentation or example code on how to grab a property bag. Currently I can only seem to grab allProperties. Here ...
10
votes
6answers
472 views

Is SharePoint right technology for our project?

We are currently building a new public (extranet) client document portal. This should be system very similar to box.com where we can exchange documents with our clients. We will also allow the client ...
10
votes
5answers
1k views

RichHTMLField value is not rendered in page

I have a custom page layout created, in which "PublishingWebControls:RichHtmlField" control is added with some default HTML value. When any page is created using the custom page layout created, page ...
10
votes
3answers
2k views

Purpose of the <MAPPINGS> CAML element in a custom Choice Field definition

I have yet to find a clear answer to this topic, so I'm writting this question in hope that someone can explain me the correct way to archieve my goal. I must also add that all my test was done on ...
10
votes
1answer
720 views

Site Collection Web Analytics reports numbers are incorrect

We are experiencing problems with the reports from the site collection web analytics. We use SharePoint Server with FAST search on a public facing web site. Our SharePoint solution is only used for ...
10
votes
2answers
297 views

Friendly URL and Content Deployment

SharePoint 2013 has introduced Friendly URLs and is implemented using Managed Meta Data Service. The Content Deployment will complain Metadata Navigation is not supported Deactivate Metadata ...
10
votes
1answer
417 views

The remote event receiver callout failed

I've created an AppEventReceiver for my High Trust Remote app, when I deploy the app through Visual Studio 2012 I get the following error The remote event receiver callout failed The HTTP request is ...
10
votes
1answer
878 views

Sharepoint Online (365) Programmatically working with Managed Metadata

So, you want to migrate some documents that have managed metadata columns from another source into SharePoint Online. Microsoft.SharePoint.Taxonomy is blocked. Microsoft.SharePoint.Client.Taxonomy ...
10
votes
1answer
2k views

Implement Interface in custom “Connected Web Part” to provide “Filter Values”

Question 1.1 What interface do I need to implement into my custom web part, to make it a provider for "filter values" for a normal XsltListViewWebPart? Answer - IWebPartParameters "XSLT List ...
10
votes
1answer
682 views

Modification date gets updated when selecting/clicking a file

On our SharePoint site the modification date of files gets updated when it should not, when no changes to a file have been made. I have found two ways to reproduce this error: A document is opened ...
10
votes
1answer
3k views

How to use onWorkflowItemChanged in a State Machine Workflow?

I'm using a simple Workflow for demonstration purposes: Init sets State1. State 1 waits for item changed and set's state 2. State 2 waits for item change and finishes the workflow. The problem: ...
9
votes
4answers
7k views

SharePoint 2010 CSS Reference

For SharePoint 2007, Heather Solomon made a reference chart for all CSS elements used by SharePoint 2007 so that they could be overridden when branding a SharePoint 2010 site. Does any such reference ...
9
votes
8answers
4k views

How can we use a different masterpage for annoymous and authenticated users?

Is there a way to load a different master page if I can identify the user to be annonymous?
9
votes
9answers
4k views

ASP.Net WebPart or SharePoint WebPart

This is an almost religious question; what are your preferred base classes for building WebParts in SharePoint? Are you using the ASP.NET WebPart (System.Web.dll) or the SharePoint WebPart ...
9
votes
6answers
1k views

How to choose a development computer for a SP 2010 environment?

I'm looking for a descent development computer that targets SharePoint 2010. The computer must be a laptop and does not have to rely on a domain controller (or at least not all the time). What are ...
9
votes
3answers
6k views

AllowUnsafeUpdates vs SPSecurity.RunWithElevatedPrivileges

When is the best time to web.AllowUnsafeUpdates vs SPSecurity.RunWithElevatedPrivileges? Specifically when dealing with updating an item in a list or updating the list itself. Is it safest to use ...
9
votes
4answers
1k views

Why does having `windows.onload` break page editing?

This is related to an earlier question that I posted: Can't edit page after adding custom web part! Basically, I have created a web part with some javascript. When I add this web part to a ...
9
votes
3answers
1k views

What exactly is SharePoint?

What is SharePoint anyway? What's the difference between SharePoint and Dropbox or SkyDrive for example? They all share files. Why should anyone use SharePoint instead of SkyDrive or Dropbox?
9
votes
2answers
7k views

Programmatically add JS/CSS to pages

I've created a Visual Studio SharePoint 2010 solution with an ASCX that adds some JavaScript files and CSS to the head of each page; this is based on this article. When I deploy the solution, it adds ...
9
votes
7answers
13k views

How to sync a SQL database with a SharePoint List?

I need to sync an already existing SQL Database to a SharePoint 2010 list. Two way sync would be great but one way sync is also alright. Any documentation in this regard would be of a great help. ...
9
votes
4answers
757 views

Disposing and Closing SPWeb objects

I have used something like using (SPWeb web = SPControl.GetContextWeb(Context)) but while deploying the project it shows an error. While trying to figure out the cause I came across an msdn ...
9
votes
3answers
17k views

PowerShell: Script to check feature status (enabled/disabled) before activating

I am developing a script to refresh my custom features. Earlier i was just looping through the features and calling Disable-SPFeature and Enable-SPFeature on each items. The issue is when the ...
9
votes
3answers
5k views

Get the current UI language with ECMAScript

Is it possible to get the display language from within ECMAScript? Similar to http://www.sharepointoverflow.com/questions/3129/get-the-current-ui-language-from-a-webpart, I'd like to get the user's ...
9
votes
10answers
10k views

Sharing data between multiple site collections

We currently have no central records for the addresses of our offices around the world in Sharepoint. Different teams maintain their own address lists, and a search for an address may return various ...
9
votes
5answers
5k views

Which is the easiest way to migrate entire List to a new new site?

Hi I need to migrate a list with 800+ items to a new location but within the same site collection. Which is the easiest way to do it. I want it to be a exactly same with all data, attachements etc ...
9
votes
2answers
3k views

How can I use normal paging on a custom view?

I'm creating several lists (and their views) programmatically, based on custom list definition templates. When these views display more than 30 items, the following link is displayed: Whereas on ...
9
votes
9answers
26k views

How can I move a document from one directory to another?

How can I move a document into a sub-folder and still maintain its version history from the old location in the new location?
9
votes
2answers
461 views

color code in sharepoint calendar

I have sharepoint calendar and I want the entries to be in color based on status. If user add one entry and status is initially pending then that task would be in green, later it get changed to 'in ...
9
votes
7answers
4k views

How to create DEVELOPMENT, UAT & PRODUCTION environment in SharePoint 2010

I just started digging sharepoint 2010. To get a clear picture of sharepoint environment my question is. In my office I have given a single Quad core machine and being told to get expertise on ...
9
votes
3answers
6k views

Why is my transfer rate so slow when using “Open with Explorer”?

I'm logged in on my SharePoint 2010 server machine (running Windows Server 2008 R2) and using the "Open with Explorer" feature in a document library to copy another full directory from a separate ...
9
votes
8answers
7k views

Customing the newform.aspx of a list using jslink in SharePoint 2013

How do I customise the newform.aspx of a list in SharePoint 2013 using JSLink? A lot of examples seem to be for customising list views. I can't find anything that explains how to customise the new ...
9
votes
2answers
883 views

Add huge number of folders

Is there any tips for programatically adding and managing the huge number of folders in document library? In my scenario, a document library has 3 hierarchies and each hierarchies contains 50 - 100 ...
9
votes
6answers
2k views

Why would a site admin or designer use a Web Part Page instead of a new sub-site/sub-site collection?

I am a site owner, and up until now, I have always created sub-sites instead of using basic pages or Web Part pages. I would like to understand what advantages Web Part Pages have over just adding a ...
9
votes
1answer
3k views

Understanding Data Sheet view list better in SharePoint 2010

I would like to know more about the features of Data sheet type lists. Can I use conditional modification to the data sheet rows, for example changing the color if a column value equal 'X' ? Can I ...
9
votes
4answers
5k views

Replace the Default Page in a SharePoint WebSite

I have been asked to programmatically do the following in a SharePoint 2007 team site collection: Create a website using the OOTB blank site template. (Please note, for project specific reasons, we ...
9
votes
4answers
1k views

What do the terms Farm, Site, Web, WebApplication refer to in the SharePoint API?

I'm sorry for dumb question but I am very new to Sharepoint 2010 and something is not clear to me. What do the terms Farm, Site, Web, and WebApplication mean? I pretty much understand Farm and Site, ...
9
votes
3answers
740 views

Does Sharepoint Differential backup put the site collection in read only mode?

Does Sharepoint Differential backup put the site collection in read only mode?

15 30 50 per page