Tag Info

Hot answers tagged

9

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 ...


9

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

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

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

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" ...


6

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 ...


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.


4

@PirateEric Sorry but this is untrue. Anyone who finds this as I did searching for a way to change the List URL of a SharePoint 2013 last can do so in Designer by following the steps outlined in this SO post: http://stackoverflow.com/questions/12904944/change-sharepoint-library-url Essentially: In SharePoint Designer just navigate to All Files navigation ...


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

It is the "SharePoint Products and Technologies Configuration Wizard". Used for configuring SharePoint after installation, updates, farm modifications etc.


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.


4

CAMLViewFields: '<ViewFields>'+ '<FieldRef Name="NamePage" />'+ '<FieldRef Name="Date" />'+ '<FieldRef Name="Title" />'+ '<ViewFields>' should be CAMLViewFields: '<ViewFields>'+ '<FieldRef Name="NamePage" />'+ '<FieldRef ...


4

The template file from the article that you mentioned in the question contains some typos and hard-coded parameters like title and list url. Instead I would recommend you to utilize the template provided below. Regarding template file, in fact, there are several ways how to apply custom template to List View, and not necessary only via JSLink property. ...


4

Nothing is 100% secure, Because if a person who has right permission and he decided to misue of the documents than he can. But their are couple of things to try. Information Rights Management (IRM) is a persistent file-level technology from Microsoft. It uses permissions and authorization to help prevent sensitive information from being printed, forwarded, ...


4

The rest interface is not available to anon users by default. It can be enabled, but MS recommends against it. The preferred solution is to enable the search rest api for anonymous access, and retrieve all data that you need via that. A good article that explains the above in detail. Waldek's post that is a good explanation of how to enable the search api ...


3

i think its too late to get the foundation with sp1. i checked the msdn but over there its already sp2. best option to contact MSFT and get the old bits from there. That's why i always say, keep the copy of exe files until the product life.


3

Feature is a unit of deployment that generally includes content such as .aspx application pages, list schemas, customizations expressed in CAML I also highly recommend to read Ted Pattisons book: http://www.amazon.com/dp/0735623201/?tag=stackoverfl08-20 Check this Tech-net Article, Creating SharePoint Features also MSDN, SharePoint Feature and this link


3

You can set the view that you have configured as the default view, and then delete the allitems.aspx view. That way when people navigate to the list they are taken to the new default view (your view). It is important to be aware though that this is no substitute for security. Users will stil be able to access individual list items by their unique url, and ...


3

If you're following that tutorial, remember that in SharePoint 2013 the LAYOUTS directory has a /15/ node. So in SP2010, the path might have been /_layouts/awesomeness/jquery.js but that exact same path in SharePoint 2013 might be /_layouts/15/awesomeness/jquery.js.


3

Check the below blog, She first explain the case why we need the retention then how to implement in the SHarepoint, I think this will solve your issue. Applying Document Retention in SharePoint 2010



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