10
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, ...
10
votes
8answers
12k 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.
10
votes
6answers
8k views

Risk of conflict between jQuery document ready and _spBodyOnLoadFunctionNames?

I recently read in the jQuery documentation that: The .ready() method is generally incompatible with the body onload attribute. If load must be used, either do not use .ready() or use jQuery's ...
10
votes
1answer
14k views

Can't Activate Solution from Site Settings in SharePoint foundation 2010

I'm currently tasked with developing a branding solution for SharePoint Foundation sites. I've created a WSP file which can be deployed through my local machine through Visual Studios, but when I ...
10
votes
3answers
13k 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 ...
10
votes
3answers
10k 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, ...
10
votes
4answers
14k views

How to delete the undeletable list

Somehow a developer has managed to royally screw up a site collection. The site collection has the Publishing Feature enabled and it's working fine. A botched migration from 2007 to 2010 has caused ...
10
votes
1answer
9k views

How do I show a loading div when opening a modal dialog from a CustomAction?

I have created a new CustomAction which is a new item (link) in Site Actions menu. When you click it, it opens a modal page (aspx). Everything works fine, but it takes about 3 seconds to open the ...
10
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# ...
10
votes
3answers
10k 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 ...
10
votes
5answers
5k views

Add Document Library XsltListViewWebPart using CSOM or web services

How to add a document library XsltListViewWebPart (or list view web part) on page using CSOM with SP2013 when we do not want to use the in-built view with "Name, Modified, Modified By" fields? Custom ...
10
votes
2answers
262 views

SP.Utilities.Utility.SendEmail with additional headers [javascript]

Want to use the built in SendEmail with javascript and jquery. Found this code and got it working -- sends the email -- using the code below: var appweburl = "https://example.com/site"; var ...
10
votes
1answer
3k views

Possible to add a “configuration” page to my custom timer job?

I would like to have a page in the central admin that allows administrators to configure a few values for the my timer job. Is there a way that I can do this?
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
2k 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
3answers
5k views

Can't upload a non-text file to SharePoint App via REST API

I am using the following REST code to add a file as an attachment to a SharePoint 2013 list item. <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server"> <SharePoint:ScriptLink ...
10
votes
4answers
21k views

How to submit data from repeatable table in infopath form to a sharepoint list?

I have a infopath form created from a sharepoint list content type. In this form I need to add a repeatable table to send data to another sharepoint list. So when people submit this form the original ...
10
votes
3answers
5k views

Cross Site Collection Navigation

We are using SharePoint for our Intranet. We will have a site collection for the Intranet. Then a site collection for each department in the business. I.E. HR, IT, Finance. We are creating a custom ...
10
votes
5answers
10k 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 ...
10
votes
6answers
5k views

How can I disable the Document Library drag and drop function?

Before I start - I'm new to this SharePoint development lark and am slowly familiarising myself with it. We're using SharePoint online and I have amended the SharePoint out-of-the-box document ...
10
votes
2answers
16k views

how do you say blank to sharepoint?

I want to create a view whereby it does not include any items which does not have the 'next review date' as blank, i.e. only includes items which have this field populated. How do I say blank to a ...
10
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 ...
10
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?
10
votes
3answers
10k 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 ...
10
votes
1answer
174 views

Set a start page to your office 365 tenant

Is there a way to set start page of office 365 tenant to some SharePoint site, instead of portal.office.com, after a successful login? I want to be redirected to the custom site collection once ...
10
votes
4answers
938 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, ...
10
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.
10
votes
6answers
522 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
2answers
1k views

What happens if an earlier Event Receiver throws an error?

Let's say I set up an ItemAdded event receiver with a sequence number of 12345. On this list there're two other event receivers that run before it; one for ItemAdding, and an earlier one for ...
10
votes
3answers
3k 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
3answers
4k 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?
10
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 ...
10
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 ...
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
3answers
16k 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 ...
10
votes
5answers
7k 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, ...
10
votes
8answers
16k 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 ...
10
votes
2answers
1k views

Opening and closing AssetPortalBrowser.aspx in SharePoint modal popup

I am trying to open the "OOB" AssetPortalBrowser.aspx from a page within a SharePoint native modal popup. My aim is to get the selected filename back to the script. So far I was able to open the ...
10
votes
1answer
1k 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
2answers
5k 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 ...
10
votes
1answer
296 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 ...
10
votes
1answer
1k 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
438 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
3k 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
1k 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
4k 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
6answers
29k 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 ...
9
votes
4answers
1k views

Can I tell what version of SharePoint is being used from JavaScript?

I have some static JavaScript being rendered to a page and would like it to behave differently if the version of SharePoint it is being displayed by is 2013. Can I tell what version of SharePoint is ...
9
votes
6answers
2k 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 ...

15 30 50 per page