9
votes
3answers
7k 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
5answers
611 views

What are the benefits of grabbing a list by Guid compared to any other way

I know its always best to access a list by its Guid since it won't ever change, compared to accessing a list by Title or Url, but what are the other benefits of grabbing a list by the Guid? There ...
9
votes
4answers
2k 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
13k 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 ...
9
votes
2answers
10k 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
4answers
976 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
11k views

How to find all documents of a certain content type?

I have an content type I would like to delete, but when I try I get an error message saying that it is still in use. Is there a way that I can find all documents that are still using that content ...
9
votes
9answers
12k views

What are good ways around the List View Threshold?

I'm trying to use data from a SharePoint list in SSRS (Reporting services). The report isn't too big - only a few dozens rows, but for each row I need to add data from a second list, which (currently) ...
9
votes
6answers
255 views

What are the standard URL suffix views that every SharePoint professional should know?

There are certain lesser-known URL suffixes that can be quite useful in SharePoint, such as {PageUrl}?contents=1 for web part maintenance and {PageUrl}_layouts/UsageDetails.aspx for ...
9
votes
2answers
8k views

Pass parameters in ExecuteOrDelayuntilScriptLoaded in Javascript client Object model

I have written a javascript client-object model code and I am calling it through the below line code from content editor webpart: ExecuteOrDelayUntilScriptLoaded(getWebSiteData(sys), "sp.js");// ...
9
votes
2answers
2k 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
7answers
5k 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
6answers
3k 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
3answers
4k views

Event handler vs. event receiver

http://msdn.microsoft.com/en-us/library/ms453149.aspx says To create the event handler 1. Start Microsoft Visual Studio 2010. 2. On the File menu, point to New, and then click Project. 3. In Project ...
9
votes
6answers
2k views

Add jQuery in Sandbox mode (Office 365)

What would be the best approach in using/including jQuery in Office 365? Should I just use google CDN or is it possible to deploy the jQuery file to the server? Is there any good articles/resources ...
9
votes
1answer
6k views

Where is Package menu item in Visual Studio 2012

I'm using visual studio 2012 for developing SharePoint 2010 solutions, back in vs2010 there was a menu item names "Package" so I can get the package without deploying it and I noticed it's disappeared ...
9
votes
3answers
13k 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 ...
9
votes
4answers
7k 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
2k 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
901 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?
9
votes
4answers
7k 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 ...
9
votes
9answers
15k views

SPSite - The Web application at <address> could not be found

I'm trying to use SP 2010 site from a web application and when I create a new instance of SPSite I get this error: The Web application at could not be found. Verify that you have typed the URL ...
9
votes
2answers
2k views

SPWeb being closed when getting list by powershell. What's wrong?

When I run this little piece of powershell code: $w = Get-SPWeb http://localhost $l = $w.List["some list"] I get Unexpected error message to my Sharepoint ULS log Detected use of SPRequest for ...
9
votes
3answers
4k views

Best practice for deploying Site Columns and Content Type

What is the best practice for creating a site column or content type in SharePoint 2013? Is it still recommended to use farm solutions? I was hoping we could do something with the new app model, but ...
9
votes
5answers
9k views

Why does the scrollbar for Chrome users hide sometimes?

We're building a SP2010 SP1 site. For users on Chrome, sometimes the scrollbar doesn't display. The user has to refresh 1-10 times until the scrollbar appears. Why does Chrome have trouble ...
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
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
1answer
8k 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 ...
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
4answers
15k views

How do I customize a workflow task form?

I am trying to edit the form that appears when I edit one of my tasks in SharePoint 2010. I currently have a Workflow with an approval process. I believe I can get to the relevent form for my ...
9
votes
5answers
3k 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
5answers
8k views

Add “New document” button to home page

I have a fairly simple SharePoint subsite that has two elements: the home page a document library The document library has two content types associated with it. What I would like to do is add a ...
9
votes
2answers
7k 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
3answers
11k 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 ...
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
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
4k views

App Part iFrame width to 100%

I sucessfully created an App Part using a provider-hosted high trust App. The app uses bootstrap and has dynamic content to fit page size. The problem is that, when i publish the App/Web Part, the ...
9
votes
1answer
2k 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
4answers
18k 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 ...
9
votes
1answer
540 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
5answers
9k 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 ...
9
votes
3answers
3k views

SharePoint project builds but will not package

I have a SharePoint project that references (and includes in its package) a non-SharePoint project. There is a class in my SharePoint project that references the non-SharePoint project, so has a ...
9
votes
5answers
12k views

Sharepoint 2013 add css in a page layout

I'm trying to add my custom CSS file in my sharepoint 2013 page layout. I add it with the link tag or with CSSRegistration and when the page is rendered, the css does not appear in the source. Also I ...
9
votes
3answers
9k 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
29k 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 | | ...

15 30 50 per page