14
votes
2answers
1k views

Automatic updates on farm servers

I am having a hard time convincing the infrastructure team to turn off automatic updates on the SharePoint farm I have setup. It seems that regularly when automatic updates are applied, something ...
14
votes
8answers
6k views

Content Type Event Receivers Impossible to Remove

I have a very odd situation in my SharePoint staging environment. We recently stood up a new SharePoint 2010 server (single WFE + a DB server), and attached a backed-up content database from our ...
14
votes
2answers
16k views

Reduce “noderunner.exe” impact

I have a SharePoint server that is relatively slow. When I look on the task manager, I can see that noderunner.exe is RAM consuming process. I saw that my Get-SPEnterpriseSearchService returns ...
14
votes
3answers
26k views

How to get all items in a View using Client Object Model (JavaScript)

To get all the items in a List you use // Setup context & load web context = new SP.ClientContext.get_current(); web = context.get_web(); context.load(web); // Load task list this.List = web....
14
votes
1answer
3k views

Is Calling base.ItemUpdating(properties); necessary?

In an event receiver, is it necessary to call base.ItemAdding(properties);, base.ItemUpdating(properties);, etc. at the beginning of your event handler? I've seen people arguing that it isn't ...
14
votes
2answers
8k views

SharePoint 2013 CSOM: Is it better to pass a Context object around or a Url?

In SharePoint 2013 CSOM is it better to pass a Context object around, or a Url to open a context? Which would be the best example: (Please consider there may be a lot of methods preforming tasks) 1)...
14
votes
2answers
5k views

Backup Office 365 sharepoint site? (company.sharepoint.com)

Is it possible to synchronize or backup an Office 365 SharePoint site? The company I work for want to use Microsofts "cloud" SharePoint offering, but they wont go ahead if they can't back it up on ...
14
votes
2answers
352 views

Do all Content Types require Site Columns?

I'm just wondering if Content Types are always only made out of Site Columns, or if it's possible to define Fields that only exist on that Content Type? (Like how you can add a custom Column to a list)...
14
votes
4answers
9k 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 ...
14
votes
1answer
4k views

Change Sharepoint language with a link?

Is there a way to get the language-switch control as static link in the pagelayout? I want my users to switch between German and English with a single click. Sorry guys, found a solution :D <...
14
votes
3answers
9k views

How do I connect with SharePoint Online Web Services in order to access list and taxonomy data?

I am using the SharePoint SOAP web services to try collecting list and taxonomy data from a site on SharePoint Online. The following code works nicely when connected to a standalone SharePoint farm. ...
14
votes
2answers
955 views

When deploying a site from custom site template, one lookup column in doclib has empty values for Office 2010 (docx, xlsx, pptx) files

I'm deploying sites using a custom site template (WSP) that is: Saved as WSP from customized Team Site Deployed as Farm Solution Has lists, libraries with content customized in Visual Studio (...
14
votes
2answers
1k views

REST and CSOM much slower than List Web Service

lists.asmx = Web Service listdata.svc = REST API client.svc = CSOM Using JavaScript to query a list using the 3 available APIs, I'm finding lists.asmx responds much faster than listdata.svc or client....
14
votes
1answer
767 views

Why is setting task fields in a “Before A Task Is Assigned” step not working?

I have a custom process in a SharePoint 2010 workflow where I need to allow the first participant to be able to change the second participant in the participant list. What I have tried is asking the ...
14
votes
1answer
918 views

Memory leak in Microsoft.Sharepoint.Taxonomy.TaxonomyItemEventReceivers?

I've been trying to locate some memory leaks we've noticed in our ULS (EventID: nask, An SPRequest object was not disposed ... etc). On my dev environment, and at least 2 other cleaner installs, the ...
13
votes
7answers
43k views

Get Site Collection full URL using javascript

I want to get the URL for my site collection. One way I thought I could do it was using the window.location in javascript and getting it that way. I know that you can use ECMA script and the client ...
13
votes
4answers
21k views

Where can i download the U2U CAML query Builder for Sharepoint 2010?

I have try to download form below links. But the site is not opening. http://www.u2u.be/res/Tools/files/CamlBuilderSetupv4.0.0.0.zip . http://www.u2u.be/res/tools/camlquerybuilder.aspx http://www....
13
votes
3answers
9k 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 ...
13
votes
5answers
6k views

SharePoint vs Confluence Wiki

I have been using SharePoint now for 3 years and I really like it and would really like all employees in our company to move over to SharePoint from our Confluence Wiki. I want them to have their ...
13
votes
2answers
13k 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 ...
13
votes
5answers
12k views

How to restrict a document library to a specific file type (extension)?

I have a SharePoint intranet site where I need to allow users to upload certain documents. These documents need to be only PDF files for example. What is the simplest way to restrict the document ...
13
votes
4answers
49k views

Minimum real world system requirements for SharePoint 2013

I've checked the SharePoint requirements here: http://technet.microsoft.com/en-us/library/cc262485.aspx which are apparently the "minimum" requirements, but I've seen some blog posts claiming to have ...
13
votes
3answers
19k views

Show custom action in ribbon for only one list

Does anyone knows how to show a custom action in the ribbon for only one list? At this moment I've got multiple custom lists, but my button is added on all of them. I only want to show it on one ...
13
votes
6answers
29k views

Site collection owners and site collection administrators. Can anyone explain the difference in plain english

Just found this on MSDN and I'm confused. the Owners group of a site is not the same as the site collection owners, which themselves are called site collection administrators in the Central ...
13
votes
4answers
9k views

jQuery accordion for the Quick Launch menu?

Is it possible to turn the left side menu (I think it's the Quick Launch area) into a jQuery Accordion style menu in SharePoint 2010? The jQuery UI Accordion control uses DIV tags, so wasn't sure if ...
13
votes
2answers
15k views

How can I export a schema.xml file for a list from a SharePoint site?

I've been troubleshooting my schema.xml file for a list definition and getting more and more frustrated. So I thought, "Hey, I'll just get it to look right in the UI and then export that and compare ...
13
votes
2answers
23k views

Safest way to get a date from Sharepoint into a C# datetime field, using object model?

If I have a Sharepoint list item with a date field. How can I get the field value populated into a c# datetime object? For example: DateTime validfrom = Convert.ToDateTime(item["validfrom"]); ...
13
votes
3answers
227 views

Lists or Managed meta data

I'm implementing a document library and trying to distinguish the use of managed meta data or lists with lookup values. The first one can be centrally defined, gives clarity of relationships and is ...
13
votes
4answers
13k views

How to avoid caching issue when using custom JavaScript and CSS deployed under _layouts?

On our farm, I'm deploying some JavaScript and CSS files under the _layouts folder. I'm then referencing them, where it's required using a <SharePoint:ScriptLink> or a <SharePoint:...
13
votes
3answers
7k views

How to split a Content Database within site

I have a very large content database & need to split it. Is it possible to split a content database within a site collection? or I need to create a new site collection?
13
votes
2answers
3k views

Convert site template to site definition

How do I go about making a site template to a site definition? For example, if I have a modified team site which I saved as WSP (save as site template), can I import that into VS2010 and convert to a ...
13
votes
4answers
10k 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/> </...
13
votes
1answer
24k views

How do you switch to a different site template in SharePoint 2010?

If you used a site template (such as the Document Center template) and wish to use a different template (such as a Team Site), how can you accomplish this? More importantly, how do you do this ...
13
votes
5answers
9k views

When should I Create a Subsite in SharePoint

Recently I got into a position where I need to see a trade off of creating a Subsite in SharePoint. I would like to know what are all the scenario that we need to create a new Sub Site and why ? ...
13
votes
2answers
1k views

How to deal with SharePoint design complexity and web designer creativity?

One of my customer wants to use SharePoint as an intranet communication portal. My customer wants to customize the look & feel of the application and he has requested to a web design agency the ...
13
votes
4answers
9k 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 LogonUser(...
13
votes
5answers
18k views

How do I hide the “Recently Modified” portion of the quick launch?

The "Recently Modified" section in the quick launch is not something I want my users to see. How can I eliminate or hide it in a SharePoint 2010 installation?
13
votes
2answers
4k views

What are all possible values for use with SPUrl?

So I've discovered: $SPUrl:~SiteCollection $SPUrl:~Site ~language (e.g. $SPUrl:~Site/yadda/~language/yadda or whatever) Where can I find a comprehensive listing of what's available for use with $...
13
votes
1answer
11k views

How to develop a SharePoint Designer Workflow Action for use in SharePoint (2013) online

Over the past few years I have been developing custom workflow actions - for use in SharePoint Designer workflows - for SharePoint 2007, 2010 and 2013 (on-premise). See this example for the kind of ...
13
votes
4answers
14k views

Remove [Revert to template] message from page

I created a page in SharePoint 2010 and then made some edits to the page. Then I went into the page Version History and restored a previous version of the page. Now I have this message that does not ...
13
votes
4answers
9k views

How to automate entry of external column data in BCS?

I have a document library, Resumes, that has a large number of resumes in it. There is a regular column on that library, called EmployeeID, that is already populated. I have an external content type (...
13
votes
2answers
1k views

SharePoint Designer 2010 workflow lifecycle

I've build a workflow with SharePoint Designer 2010 on a dev computer. Let's say it's in V1. Now I want to move the workflow to the production environment. What is the correct way to do that ? I've ...
13
votes
3answers
4k views

Client Object Model equivalent of SPUtility.SendEmail in SharePoint 2010

I am trying to send an email after an action occurs in Silverlight WebPart I am designing. Is there a built-in class in the Client Object Model that can handle this, or will I have to build a ...
13
votes
4answers
8k views

Visual Studio 2012. Visual webpart's ascx.g.cs file empty after registering any control

I've discovered a problem when a Visual webpart's g.cs appears to be empty. I'm using Visual Studio 2012 Update 3 and a project for SharePoint 2010. The steps to reproduce the problem: in Visual ...
13
votes
2answers
3k views

Error computing the expiration data for item

EventID 7972 Task Category: Information Policy Management Source: Document Management Server > > Error computing the expiration date for item > http:///webapp/sites/sitecoll/documentlib/...
13
votes
1answer
1k views

SharePoint Enterprise Search - Error: OfficeSearch14HealthSession

Ever since I provisioned a dedicated Search & Indexing Server on a SP 2010 production environment , this nagging error occurs everyday as seen in the event viewer of the server:- Session "...
13
votes
1answer
384 views

How does calculated field value form in pageInfo

Using paging in XsltListViewWebPart there are some rules, which form pageInfo attributes and which we can see in the query string. Here is the short example, what I mean. Paged=TRUE&p_SortColumn=...
13
votes
3answers
1k views

Modal Dialogs and Minimal Download Strategy

I am having the following issue in SharePoint 2013 Online (Office 365 Preview): when I try to display in a modal dialog a page that relies on MDS (Minimal Download Strategy), the dialog opens but then ...
12
votes
6answers
36k views

How can I force SharePoint 2010 to open PDF's in the browser?

In SharePoint 2007, clicking on a PDF in a document library would open it within the browser. In SharePoint 2010, doing the same asks me to save the PDF. How can I force SharePoint 2010 to just open ...
12
votes
4answers
14k views

How to use Today and Me in Calculated column

I want to use a combination of Today and ME in SharePoint 2013. I am trying it in office 365 it gives me the below error Calculated columns cannot contain volatile functions like Today and Me. Can ...

15 30 50 per page