Tag Info

Hot answers tagged

8

As a part of the new Minimal Download Strategy (MDS) the sp.js library is not loaded until explicitly called in SharePoint 2013. Your case is pretty common, for example for a publishing pages, where sp.js library is loaded in the edit mode but not in the display mode. Solution Replace SP.SOD.ExecuteOrDelayUntilScriptLoaded the with SP.SOD.executeFunc ...


7

I discovered that the problem comes from the program Microsoft Visual Studio 2010 Shell (Isolated) - ENU that gets installed with SQL Server 2012. After uninstalling that program and then running the SharePoint 2013 installer I am able to see the splash screen. Warning - This will prevent Sql Server Management Studio 2012 from working on that machine.


7

Preparing your JS files for SP2013: Modify JQuery and all additional libraries to be in the SharePoint namespace To add a file into a namepsace surround it with this code: // Example for JQuery, replace jquery with your library name function $_global_jquery() { // Library code goes here } $_global_jquery(); This will ensure correct On Demand ...


6

Check with your IT department. You probably already got an SMTP server that you can use. Then it is just a question of configuring SharePoint for outgoing mail from Central Administration > System Settings > Configure outgoing mail settings The whole setup (including if you do not have an SMTP server) are described pretty well on Technet here. If you ...


6

A feature is a development package that can be removed and deployed at will from the SharePoint side. Let's say we have a feature in Visual Studios that is a web part. If we deploy this web part as a feature (like most do) in Visual Studios, that web part will be immediately available because it will deploy the feature to sharepoint, and turn on that ...


6

I think what the OP is after is a way to store information that can be made accessible globally. If it is indeed the case, then what can serve this need are property bags. Property bags are a place to store metadata or properties of your SharePoint sites. The Property Bags are implemented as a hash table consisting of property names and values; they can be ...


6

Minimum Limit is 2000 and Maximum limit is 2147483647 list view threshold by default is 5000 and 20000 for auditors and administrators. Effect on performance :The limitation actually comes from sql server. if SQL Server executes a query on a single table that would exceed 5,000 results, SQL Server will lock the entire table while the query executes. Since ...


6

user1901384 is correct, ExecuteOrDelayUntilScriptLoaded won't load it, it will just check to see if it has been loaded. Take a look at this code sample (full page here). You don't need the clientContext part, what you're looking for is SP.SOD.executeFunc() but I left in the clientContext because you might find that helpful as well. Put your console.log('2') ...


5

The way to go is Web templates. Site definitions are not allowed in sharepoint online as it is deployed as a farm solution. You can create a web template and deploy it as sandbox solution. A must read blog on this topic are: Sharepoint web templates Remote Provisioning in SP 2013 Remote provisioning is the best approach. An excerpt from the blog: ...


5

Features make it easier to deploy managed solutions or site customizations to SharePoint. A feature can be just about anything, but more often than not it seems they are ASP.Net wrapped in a solution and deployed to SharePoint. (IMHO) Check these out, see if they help: MSDN overvew http://msdn.microsoft.com/en-us/library/office/ms460318(v=office.14).aspx ...


5

There is no needs to add a module if you place it inside a Mapped Layout Folder.


5

use this powershell script to download Data from SharePoint Document Library.it takes around 2 minutes to download 1Gb data. if((Get-PSSnapin "Microsoft.SharePoint.PowerShell") -eq $null) { Add-PSSnapin Microsoft.SharePoint.PowerShell } #Script settings $webUrl = "http://xyz:1000/" $docLibraryName = "Documents" $docLibraryUrlName = "mydocs" ...


5

You can not just turn data.d.results on a string. You must make a grab for For all results that return in data.d.results. So you will have: for(var i = 0; i<data.d.results.length; i++){ $('#event_listing').append(data.d.results[i].ID); $('#event_listing').append(data.d.results[i].Title); } So you return the ID and title of all objects, since ...


4

I believe the only difference is their page layout and navigation. Seattle is what we're used to from 2010, and Oslo is new, moving the left nav to the top, and removing the top navigation all together. Oslo has a wider layout for your content.


4

Yes, Service Pack 2 contains all Cummulative Updates and Hot fixes before it.. including SP1 Install SharePoint 2010 Service Pack 2 the right way SharePoint Server 2010 Service Pack 2 has been released (Updated July 31st, 2013)


4

This will be exactly because there is no file extension. The search crawler (or gatherer) relies on the file extension to know which piece of software (IFilter) to load to open the file and index it. No way around it, this is just how Search in SharePoint works.


4

There is another method in which you can upload extend the limit of the documents or files attached. Following is the code i used: Suppose I have a folder called attachments with several files, Following are the parameters used: destWeb-Destination SharePoint Web destSite-Destination SharePoint Site destList-Destination SharePoint List itemDest-List Item ...


4

To check-out: //get the connection ClientContext ctx = new ClientContext("http://sitename"); //get the home page File home = ctx.Web.GetFileByServerRelativeUrl("/SitePages/home.aspx"); //checkout in case it's needed; doesn't hurt if it doesn't home.CheckOut(); To check-in: //checkin in case it's needed; doesn't hurt if it doesn't ...


4

You can use this: $siteUrl = 'http://....' $listName = 'Project Initiation' $field1_Name = 'Authorization' $field2_Name = 'Overall Status' $web = Get-SPWeb -Identity $siteUrl $list = $web.Lists[$listName] $items = $list.Items ForEach ($item in $items) { if ($item[$field1_Name].ToString() -eq 'Pending') { $item[$field2_Name] = "In ...


4

In order to add a lookup field to a list, you need to create field xml and add it to the fields collection of the list using fields.addFieldAsXml. The code below shows it in Managed CSOM public static void AddLookupField() { string lookupSchema = @"<Field Type='Lookup' DisplayName='mylookup2' ...


4

How to provision Fields using JavaScript (CSOM) in SharePoint 2010/2013 1 Provision List column function ProvisionFieldInList(fieldSchema, listTitle) { var context = SP.ClientContext.get_current(); var list = context.get_web().get_lists().getByTitle(listTitle); var fields = list.get_fields(); var ...


4

Trial and error my friend. However, knowing HTML and CSS combined with Sharepoint Designer...when working with SPF 2013 is in my opinion all you need. I'm pretty much on the same boat as you. Here are some links I found and will share relative to branding: Fixed Ribbon and Scroll Bar This helped me This is good to understand what css class does what ...


4

WebPart (Farm Solution) GAC - DLLS placed in GAC, file level folders placed in the hive WebApplication- DLLS placed in BIN folder of the web app, file level folders placed in the hive WebPart (Sandbox) GAC - DLLS placed in UCCache, content stored in the web app database WebApplication -N/A No, you only have to add third party libraries to the ...


4

When we are creating new webparts when is it that we have to add safe controls to package or web.config. I am confused on this topic.. Pls guide. When you develop a new web part using Visual Studio 2010 or it later versions (Farm solution), it will create a WSP which is deployable to specific web application and a safe control entry is automatically ...


4

You need to use the overload for SPField.Update that takes a boolean parameter. That will push the changes to lists that use the field.. I.e., in Powershell: $myField.Update($true) MSDN documentation here.


4

Short answer. No. Create a Search centre and configure your refiners there. The OOTB ossearch.aspx page is not editable.


3

Batman, This should help: How to Validate a Due Date in a SharePoint 2010 List In short use Column Validations in Column Settings, a short formula can be: [Due Date] > Today()


3

The answer is quite simple. Open the Master Page (Normally V4) Find the following control : <SharePoint:ClusteredSPLinkButton id="idNavLinkViewAllV4" runat="server" PermissionsString="ViewFormPages" ...


3

If you are complaining about 2 minutes being slow for 5k items, presumably this isn't a one time import - you may consider looking at Business Connectivity Services to connect directly to your external data source.


3

Oh, that is explained by the fact the XSL Style sheet is used by Web parts (Content Query Web Part, Table of Contents, Summary Links) available only on the Standard or Enterprise editions, in the Publishing Sites. SharePoint Foundations does not support Publishing sites.



Only top voted, non community-wiki answers of a minimum length are eligible