All Questions

9
votes
6answers
5k views

SharePoint 2010 custom 401 error page on authenticated site

I'm trying to create a custom 401 error page for my site. The setup is a SharePoint 2010 enterprise site with subwebs. The entire solution requires authentication (no anonymous access). I've tried ...
9
votes
5answers
6k 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 ? ...
9
votes
3answers
3k views

Why doesn't clicking New Document save back to the document library?

I'm watching a course on SharePoint Foundation 2010 Fundamentals. In it a document library is created a couple of columns are added, then when New Document is selected from the ribbon, Office opens ...
9
votes
3answers
5k views

How to disable launch modal dialog in list definition schema.xml?

I have a sharepoint 2010 site template. The site template activates a feature that deploys several lists. Some lists need to open the new/edit/display forms in full page mode. Is there a way to ...
9
votes
4answers
3k views

Web scoped Timer Job

Could you help me understand the SharePoint timer job? The issue is simple. I should implement a page and put it to the layout folder (the page should be accessible from any web). This page should ...
9
votes
6answers
3k views

How do I deploy the new version of a webpart?

As stated here (and as i checked), to upload a new version of an installed webpart, uninstalling the assembly from the GAC and installing the new version would suffice. I've tried it and it worked. ...
9
votes
2answers
2k views

How can I display a message on a list item when within X days of a date?

I'm using SharePoint 2010 and I'd like to create a column in Task List that will display a message (not generate an email: just display a field text) such as "URGENT" or "Almost Due" when the date is ...
9
votes
5answers
2k 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 ...
9
votes
3answers
11k views

SP.SOD how to use correctly?

SP.SOD is a nice feature of SharePoint, but how should I use it? For example, I use these lines of code ExecuteOrDelayUntilScriptLoaded(function () { //code }, "custom.js"); If I understand ...
9
votes
4answers
4k views

How to save variables per user session per page

I am using three webparts. Webpart A creates a value when the user clicks on the button in Webpart A. WebPart B uses this value to create a list with items the user can select. WebPart C uses both ...
9
votes
2answers
6k views

What permissions are needed to deploy a WSP to SharePoint 2010?

In an attempt to make sure that developers have the appropriate rights, I'm trying to find documentation on what rights are needed to deploy WSP files to SharePoint 2010 (via stsadm or otherwise). ...
9
votes
2answers
1k views

Why use SharePoint Custom Timer Jobs?

Am I wrong to think that Scheduled Windows Tasks running for example a console app can achieve everything that a SharePoint custom timer job can? This has been my experience so far. However, a C# ...
9
votes
3answers
7k 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 ...
9
votes
5answers
1k views

External access - continually prompted for credentials

I have a client trying to access our hosted SP 2010 instance, an she can log in, but once she starts clicking, gets prompted to login again and again. She is accessing from the outside, not inside of ...
9
votes
4answers
6k views

Will an InfoPath 2007 form with managed code work on SharePoint 2010?

I have an existing InfoPath 2007 form containing managed code. The form is now published on SharePoint 2007. The form will be edited and created using the InfoPath 2007 client, so no Web Form in this ...
9
votes
1answer
1k views

SP 2010 & IE 10 - compatibility mode

IE10 is automatically installed on servers with every new update or on win 8 workstations and our users with rights do not read what is inside updates at all... 2010 SP2 is not ready yet and maybe ...
9
votes
1answer
513 views

Detecting browser and replacing web part?

I have a video I want to display on my SharePoint 2010 public facing site and at the moment I am using Silverlight, however, I would like to replace this with flash (youtube actually) if the users are ...
9
votes
3answers
8k views

How to traverse SharePoint Library in Client Object Model?

I have SharePoint Library and i want to traverse all folder and sub folder of it using client object model. Can anybody have solution ?
9
votes
2answers
2k views

What is the difference between properties.OpenWeb() and properties.Web?

I am developing an event receiver, using the ItemUpdating event, and I noticed that the properties parameter has an "OpenWeb" method, with this description: Retrieves the Web site that is ...
9
votes
2answers
25k views

Using calculated field to retrieve substring of another field

Suppose I have a field that contain the following data: ========================== | Email Address | ========================== | Jack@wonderland.com | | Peter@nobodyland.com | | ...
9
votes
1answer
2k views

Making Document Libraries visible to some users and not others

I have several document libraries that I would like to list on the front page but make visible to certain users only. If I set it up this way: -UserLib1, user1 has read permissions -UserLib2, user2 ...
9
votes
1answer
259 views

Wizard Installer for a Webpart

I have a Webpart for a Sharepoint 2010, and I would like to create a "Wizard Installer" for this webpart, that a customer can install to his own Sharepoint Server. What is the easiest way to do it? ...
9
votes
1answer
489 views

How can I retrieve a list of all user names logged in to SharePoint?

How can I get all user names that are currently logged in to the system in SharePoint 2007?
9
votes
2answers
7k views

Ribbon gets hidden by default. How to fix that?

I have the following problem: the ribbon bar gets hidden by default for the users of a site collection, so they must enable it manually by using the "Show Ribbon" link on the site action menu. This ...
9
votes
1answer
2k views

Manage trust/add certificate

I try to add a certificate under "central administration>security>manage trust" but I always get the following error: The Root Certificate that was just selected is invalid. This may be ...
9
votes
3answers
13k 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 = ...
9
votes
3answers
8k views

“View exceeds list view threshold” even when it doesn't

I have a document library in SharePoint Foundation 2010 which contains over 10,000 items, arranged in folders such that no folder contains more than 2000 items. I've created a public view called ...
9
votes
1answer
612 views

Is it necessary to call SPWeb.Update() after setting AllowUnsafeUpdates?

Amidst working on resolving this issue, there's something I was curious about, and something that I've been very inconsistent about in my code. If you enable SPWeb.AllowUnsafeUpdates = true, do you ...
9
votes
6answers
3k 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?
9
votes
2answers
1k 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) ...
9
votes
4answers
698 views

Renaming a Page Library

What is the proper way of renaming a page library from a site collection that has a different regional setting? e.g. Dutch, changing Paginas to Pages. Swedish/Norwegian from Sider and Sidor to Pages, ...
9
votes
2answers
1k views

Books Recommended for Beginner SharePoint architect

I am a recent graduate and got a job as a junior SharePoint developer few months ago. For the last few months, I have been working on SharePoint development, e.g. webparts, .Net Forms, K2, Lists, ...
9
votes
3answers
3k views

How to do sharepoint people search via webservice?

I need to access search for people in SharePoint 2010 from a webservice. I have tried this querypacket: sb.Append("<QueryPacket xmlns='urn:Microsoft.Search.Query'>"); ...
9
votes
1answer
6k 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 ...
9
votes
1answer
7k views

PowerShell - create list from list template in list template gallery

Using PowerShell on a SharePoint 2010 site, how can you create a new list from a list template found in the list template gallery?. I want to be able to add several lists at once (just in numerically ...
9
votes
1answer
2k views

Are there a wiki in sharepoint that supports markdown?

I'm wondering if there are a wiki for SharePoint that supports markdown? Or if there are a way to change the existing one so that it can be edited using markdown.
9
votes
3answers
12k views

Why is GetUserProfileByName from InfoPath Forms Services with claims authentication failing?

I have a web application with an ADFS 2.0 trusted identity provider, and it's the only authentication provider. When I login, SharePoint correctly associates me with the my stored profile, but calls ...
9
votes
3answers
7k views

Reusing the XsltListViewWebPart

In my situation, I'm creating web part pages with XsltListViewWebParts on them. I need to set a predefined view on them, with custom filtering / columns setup in CAML. Therefore, I tried moving the ...
9
votes
1answer
3k views

How can I migrate my existing MOSS 2007 userprofiles including audiences to SharePoint Server 2010?

We are planning to implement SharePoint Server 2010 in our orginization. Many of our in-house application are heavily dependent upon userprofiles and audience targeting. Is there any Microsoft ...
9
votes
2answers
7k views

Error occurred in deployment step 'Install app for SharePoint': Apps are disabled on this site

We have installed SharePoint Server 2013 on a Windows Server 2008 machine. In our development environment we have installed Visual Studio 2012 on a Windows 7 machine and have installed Office ...
9
votes
3answers
2k views

How to localize webpart title, description, group, quickadd group in Sandbox solution

I've seen other similar questions (like this one), checked Microsoft documentation (like all the ones stemming from and related to the page Localization of Sandboxed Solutions in SharePoint 2010), ...
9
votes
3answers
3k views

Site Assets vs. Style Library

I usually store my JavaScript/jQuery files in the Site Assets library, but I see on forums that others are using the Style Library. What are the respective benefits of each?
9
votes
1answer
1k views

What is the recommended archiecture to solve multi-tenancy with SharePoint 2010 that requires both http and https?

We want to setup a set of site collections that all have their own unique vanity domain names. There will be 100 or more. For example: www.domain123.org www.domain234.org www.domain456.org etc. ...
9
votes
3answers
564 views

How to handle staging environments

We have convinced a number of customers that their SharePoint solution is a critical business system and should be handled as such. This will in most cases include a staging environment, but ...
9
votes
3answers
687 views

SharePoint 2013 Workflow Manager 1.0 Causes High CPU on Server

I installed Workflow Manager 1.0 on my test SharePoint server following these links: Installing Workflow Manager 1.0 Install and Configure Workflow for SharePoint 2013 Blog on how to install ...
9
votes
1answer
199 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 ...
9
votes
4answers
3k 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 ...
9
votes
2answers
2k views

SharePoint view in grouping items by the first letter of the Title field

I followed this article and it works fine if the number of items for a letter is less than 30. But it fails when you have more than 30 items and go back and forth for a group. Say Under "S" you have ...
9
votes
2answers
656 views

User Profile Synchronization - cannot import users without DN entry

I need help in troubleshooting the problem with User Profile Synchronization. Issue: Some users were treated with stsadm -o migrateuser command and they no longer being imported from Active ...
9
votes
1answer
3k views

(Solved) Start a Workflow of the Host-Web via SharePoint App and JSOM

The Last Update is the Solution I have got an App for SharePoint 2013, which needs to start a Workflow. This Workflow is in the HostWebContext, not in the AppContext. The List, the Workflow is ...

15 30 50 per page