11
votes
4answers
23k views

What's the difference between a document center and a records center?

I'm not clear on the differences between sharepoint's built-in templates for ECM. Document Center A site to centrally manage documents in your enterprise. Records Center This template creates a ...
11
votes
5answers
15k views

Display the Sharepoint context menu in list items on another column instead of Title column?

In SharePoint Lists, we can define new View and select the columns that we want to show. I don't want to show the Title column but I also want to show the default Context Menu for the0 items on List. ...
11
votes
15answers
43k views

Infopath change Publish Location

Working with Infopath 2010 here and SP 2010. I've created my form and published it while in DEV. Now, I want to publish it to the Prod Location. Here's the issue and to me, quite strange. I can't ...
11
votes
5answers
36k views

Is there a way to disable X-FRAME-OPTIONS response header, or at least modify it?

I want to embed my sharepoint 2013 pages in another document, but the X-FRAME-OPTIONS are set to SAMEORIGIN by default. Adding ALLOW-FROM url does not work when added to the web.config OR on specific ...
11
votes
5answers
15k views

Restore-SPSite to the same content database

I ran Restore-SPSite on my server from a backup. I then deleted the site collection and did it again but got the following error: Restore-SPSite : The operation that you are attempting to perform ...
11
votes
3answers
5k views

Is there a way to see if an SPField was created by a user?

I have some code where I am going through all of the Fields that belong to a content type. I'm curious if there is a way to check to see if the SPField was created by a user or if it is a system ...
11
votes
3answers
481 views

SharePoint database maintenance for the non-DBA

Question ported from Serverfault as it is specific to database maintenance for SharePoint administrators: For SharePoint administrators, SQL Server is often a black box that is installed as a ...
11
votes
4answers
14k views

Creating a Site collection programmatically throws exception <nativehr>0x80070005</nativehr>

I'm migrating a SharePoint customization from MOSS 2007 to SharePoint Server 2010 (Win 2008), which creates the Site Collection programmatically. Problem is I'm unable to create the Site Collection ...
11
votes
10answers
4k views

Has anyone optimized the front-end (css/javascript files) of a SharePoint site

So it seems to be that Sharepoint's front-end optimization is non-existant. For example, http://dfs.us.dell.com/Pages/DFSHomePage.aspx, according to YSlow, is serving up 14 separate JavaScript files, ...
11
votes
3answers
18k views

Getting 401/403 in High Trust App for Sharepoint 2013

I have this Cloudshare environment consisting on 3 machines: One for Sharepoint 2013 (this is where I develop with VS2012 installed) Another for SQL Server 2012 And another for Active Directory ...
11
votes
8answers
42k views

Update user profile for user whose account name has changed in AD

We have an issue with User Profile Sync in SharePoint 2010 when the following happens: A new user is added to AD (i.e. DOMAIN\jdoh) The user is synched successfully to SharePoint Time passes The ...
11
votes
8answers
14k views

How do I determine a user's SharePoint group membership using the client object model?

I want to redirect users from a landing page to another page in SharePoint 2010, based on their group membership. I need to do this using JavaScript (ECMAScript) and not server side code.
11
votes
5answers
5k views

SharePoint 2013 hide elements (in body area ) when ribbon is expanded / ribbon is in use

Is there a css class/id in SharePoint 2013 that hide elements when the ribbon is in use? I've got some elements that I don't want to show when the user's in edit mode! In the picture below you can ...
11
votes
3answers
12k views

Should i have the “Microsoft SharePoint Foundation Web Application” role active on all servers in a large farm?

I've checked the resources at Microsoft TechNet, MSDN and Bing but I’m not aware of any information regarding the best practice about the configuration for the "Microsoft SharePoint Foundation Web ...
11
votes
5answers
41k views

How to add a hyperlink anchor in a Sharepoint wiki-page

In Sharepoint (2010) wiki pages it is easy enough to add a hyperlink, but how can one add a hyperlink anchor without editing the messy html? You can see here that, although I've got a link and typed ...
11
votes
3answers
11k views

Hiding buttons of the Ribbon Bar

Is it possible to hide specific buttons of the SharePoint 2010 Ribbon Bar based on the user's permission on publishing pages? For example, we need to hide the font dropdown and under the Insert tab, ...
11
votes
7answers
12k views

Why don't Lists and Libraries show up in SharePoint Designer?

I have a SharePoint 2010 site that works correctly, and a subsite that does not. When I open the subsite in SharePoint Designer, the "Lists and Libraries" view says "There are no items to show in ...
11
votes
2answers
13k views

Validate if the entered text is number

Is it possible to write column validation to check if the entered text is number? I have a column named Year of type Single line of text. I would like to be able to stop the user if he or she enters ...
11
votes
5answers
11k views

Paging and sorting with BCS

I going to use the new exciting External Content Type feature to display a list of data from an external LOB system. The list is potentially long, so paging with filtering at the LOB system side is ...
11
votes
1answer
3k views

“Incoming e-mail settings” hidden from custom document library

Very simple set-up: Visual Studio --> Add New Item --> List Definition. Type: Document Library. Besides that - no changes. Deploy. Result: As you can see: No "configure incoming e-mail settings" ...
11
votes
1answer
5k views

Client Object Model Equivalent of SPSiteDataQuery?

I'm looking for an equivalent to the SPSiteDataQuery functionality in the Client Object Model (COM). The CamlQuery can be used with an instance of List to execute SPQuery level of aggregation, but is ...
11
votes
5answers
4k views

Can't install Sharepoint Foundation 2010 on Windows 7

I'd really like to prepare development environment for Sharepoint 2010. This is what I did: I installed Windows 7 x64 I installed VMWare Workstation Created a VM domain controller based on Windows ...
11
votes
2answers
5k 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 ...
11
votes
6answers
4k views

Different SPList.Items.Count & SPList.ItemCount

A list on my site gives 2 when I call myList.ItemCount. But myList.Items.Count gives me zero and I can't access the items stored in the list. AllItems.aspx show me the two missing items. Any ideas?
11
votes
1answer
3k views

What are the differences between creating Search center as a subsite vs a new site collection?

What are the differences between creating Search center as a subsite vs a new site collection? What are the benefits of creating it as as new site collection v.s a subsite.
11
votes
3answers
34k views

Listing all checked out files

As a site administrator I have to list all checked out files in the site collection. Looking at the DB is looks like the tp_CheckoutUserId field in AllUserData might be a key to this query. Is it ...
11
votes
4answers
2k views

Multiple 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 ...
11
votes
1answer
5k views

How to Impersonate Users Via Client Object Model?

I want to insert new SP List items -- blog comments, to be exact -- on behalf of other users. Ideally, I'd just pass a SharepointID for the user, but that doesn't seem to be possible. I think that ...
11
votes
1answer
1k views

What order to apply SharePoint 2010 Enterprise SP1 and June 2011 CU?

It's September 2011. We just installed SharePoint 2010 Enterprise RTM. Want to install SharePoint 2010 SP1. Do we need to install SharePoint Foundation SP1 first? And should we install June update ...
11
votes
2answers
2k 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 ...
11
votes
2answers
4k views

How to enable the “From SharePoint” link when inserting a link in a blog post?

When I create a new post in a Blog website, I would like to insert documents by picking them directly from my SharePoint libraries. Actually there is an option for that but it appears disabled even I ...
11
votes
4answers
22k views

How can I use the SharePoint Javascript Object Model from a plain HTML page?

I would like to use the SharePoint Javascript Object Model from a "plain" html page (ie, not an .aspx application page etc.) Is this even possible? If so, what scripts should I reference? I've added ...
11
votes
5answers
3k 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 ...
11
votes
9answers
19k views

View list from another site collection (Why no easy answer?)

In Sharepoint 2010 whats the best way to view a list from another site collection. I want to be able to sort on People and I want it to look like a listview. (Why is there no easy answer to this ...
11
votes
3answers
3k 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 writing this question in hope that someone can explain me the correct way to achieve my goal. I must also add that all my test was done on ...
11
votes
1answer
2k 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 ...
11
votes
5answers
8k views

Clone SharePoint 2010 Production environment for Test Environment

We have cloned the SharePoint 2010 Production environment(Company Portal, around 3500 users) using VMWare clone feature. The purpose is to Create a Test environment for Restructuring the content, ...
11
votes
6answers
5k views

“a is null” error in vanilla SP2010 install

I'm setting up an SP2010 VM for dev testing purposes. Our vanilla install has no other components present and is throwing JS errors in Chrome and Firefox. In Firefox (v13): a is null ...
11
votes
1answer
356 views

Find if a site has been renamed via change collection

I'm trying to write a script to find ot if a site has changed title. This is what I have so far: $site = Get-SPSite http://dev/teams/Kittens $changeQuery = New-Object ...
11
votes
3answers
1k views

Updating User Profile doesn't invalidate cache

The website I'm building has a heavily extended user model. The requirement is to have a single page where admins (who are windows authenticated users) can see the profiles of all the users. Regular ...
11
votes
1answer
365 views

View problem when attaching workflow to list programmatically

Very irritating problem. I have a list with the following view <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,All_Documents;" DefaultView="TRUE" ...
11
votes
0answers
303 views

Hierarchical Refiner User Profile Property

We have a requirement to be able to have a refiner in People search that refines in an hierarchical way. Let's say we have A custom User Profile Property called "Organisation" bound to a TermSet ...
11
votes
1answer
441 views

Invoking an ActivityAction in a SharePoint workflow

In a Visual Studio, SharePoint 2013 workflow, the "IF" Activity provided by Microsoft can take a condition and two activities as parameters: I want to write a custom activity that can similarly ...
11
votes
2answers
999 views

Why is my workflow DependencyProperty event handler not firing?

I have a custom workflow activity (SharePoint 2010) with a Dependency Property defined as follows: public static DependencyProperty TaskChangedEventPropertyEvent = ...
10
votes
5answers
52k views

List all Site Collections in a Farm

I want to be able to see the number, names, url of all site collections there are in a given farm. Would there be a powershell command to do that?
10
votes
3answers
2k views

What does OWA stand for?

I've seen the phrase OWA used around here on several questions, what does it stand for? Is it a standard feature?
10
votes
4answers
11k 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 ...
10
votes
8answers
5k 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?
10
votes
4answers
8k 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 ...
10
votes
7answers
450 views

When do I store a document on Sharepoint and when do I store on a LAN server

Can anyone provide a link or advice on when to store a document on SharePoint. It seems as if I have several choices where I work LAN File Server SharePoint MS Outlook OneNote The LAN vs ...

15 30 50 per page