Tag Info

Hot answers tagged

41

2013 Model Types: CSOM: Client-side object model. C# (or Visual Basic) only, use NuGet, at the moment same package for both 2010 and 2013. JSOM: JavaScript object model. JavaScript only. SP.ClientContext.get_current() for normal use. new SP.ClientContext('url...') for specific SPSite. Note this works cross-SPSite in 2013. SSOM: Server-side object model. ...


18

You can start from SharePoint 2013 training for developers; SharePoint 2013 development overview. Also as SharePoint 2013 is very similar to SharePoint 2010 you could periodically stumble into some articles related to SP2010. I could suggest some things to keep in mind about their differences: InfoPath seems to be deprecated in SP2013. So take a look ...


18

Here is Microsoft solution: http://support.microsoft.com/kb/2752600 Basically, start the browser as a different user. Another solution (but dirty) is to edit the Welcome.aspx file and add a control: <SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser" Text="<%$Resources:wss,personalactions_loginasdifferentuser%>" ...


17

Does SharePoint 2013 have support for responsive design or do you have to create it from stratch? No, there is no built in out of the box support for responsive design in SharePoint 2013. Responsive design is different from Mobile friendly design, and as such I think it's best to do your page layout and not rely on a framework. Others feel different, ...


16

Visual upgrade feature in SharePoint Server 2010 have been deprecated in SharePoint 2013. Web Analytics are not available in SharePoint 2013. Analytics processing for SharePoint 2013 is now a component of the Search service. No more Sandbox solutions support. In other words, sandbox solutions will be available for backwards compatibility with existing ...


16

Nearly all my SharePoint 2013 development are done on my trusty Lenovo Thinkpad T410S which has a Core I5 (first gen) and is thus limited to 8gb ram but has a sweet SSD which helps a lot since everything is using the disk simulatenously. For development purpose, it's a all in one server (domain controller, SQL Server, SharePoint Farm) running Windows Server ...


15

SPContentDatabase.ForceDeleteSite http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spcontentdatabase.forcedeletesite.aspx use this method to force a delete: SPWebApplication spWebApplication = SPWebApplication.Lookup(new Uri("http://mywebapplication")); // insert the webapplication ...


13

You need to setup the app domain this is a good tut but very lengthy http://sharepointchick.com/archive/2012/07/29/setting-up-your-app-domain-for-sharepoint-2013.aspx also this: In order to install an App from the App Store you must setup an isolated App Domain, this is because Apps from the store deploy to their own app domain and run under a ...


13

You need to add a JSLink to the fields themselfs (this means you need to either update the existing fields (by code or by powershell, harder in Office 365) or create your own field definition) In that .js file you need to specify a number of methods that will override the standard functions, including View, DisplayForm, EditForm, NewForm. Note that this ...


13

7 Code samples that cover Client-Side Rendering/JS Link usage scenarios: http://code.msdn.microsoft.com/office/Client-side-rendering-JS-2ed3538a


13

Yes. You need to activate Site Feed feature in Site Settings --> Manage site features. Then, when adding web part, under Site Collaboration group you will have the Site Feed WebPart UPDATED Yo must activate this feature in _layouts/15/ManageFeatures.aspx


13

You can always add ?contents=1 to any url in SharePoint to see what specific webparts that are used in the site/page. Example: 'http: //test.sharepoint.com/Pages/default.aspx?contents=1'


12

Fun stuff, I was checking this site since I stopped answering SO SharePoint questions for a few years now and this was the first thing in the list, a very interesting oversight during the "host web Feature" option for CustomActions. What a detailed investigation! Luckily I have a solution for you. WEB STANDARDS TO THE RESCUE CHO CHOO With Microsoft ...


12

Yes, there are fundamental differences between SharePoint-hosted and cloud-hosted apps. A SharePoint-hosted app may provision basic resources into its app web such as HTML/CSS/JS files, site column/content type/list definitions, etc. Under no circumstances can server-side code run within a SharePoint-hosted app. You can run server-side code in a ...


11

Doesn't seem so. I just tried and got the following message Microsoft SharePoint Designer cannot be used to edit web sites on servers different from Microsoft SharePoint Server 2013. To edit these sites, you need to use the same version of SharePoint Designer which matches the version of Microsoft SharePoint Server.


11

The page you are looking for is in this folder directory, C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS File is named as SearchResults.aspx


11

My problem solved! Have a follow this link. Turn off distributed cache: Site loading time with it off: site loading time with it on: !!! From 6.10 seconds down to 79 ms


11

I had the same problem today. I compared the project files with an older version. In my case the Package directory (with the files Package.package and Package.Template.xml) was missing. After copying this directory back from the older version of the project and modifying the csproj file to include the references to the package directory, the error solved ...


11

Some resources about Client Side Rendering INTRODUCTION TO CLIENT-SIDE RENDERING IN SHAREPOINT 2013 - I would suggest to use this great article as a starting point, it goes through what CSR is, how CSR can be used, and some tips about debugging and developing As a primer on how to customize a field type by using CSR there is an article in MSDN How to: ...


11

Using a CSS only approach, add the following CSS inside the content editor webpart or add it to your custom css. <style type="text/css"> div.ms-promlink-body { height: 100px; } div.ms-tileview-tile-root { height: 110px !important; width: 110px !important; ...


11

'Text': { 'View': RenderFieldValueDefault, 'DisplayForm': SPField_FormDisplay_Default, 'EditForm': SPFieldText_Edit, 'NewForm': SPFieldText_Edit }, 'Number': { 'View': ...


11

Yet another version to load List by server relative Url using CSOM. The solution consists of the following steps: Retrieve list Folder object using Web.GetFolderByServerRelativeUrl method Retrieve List by specifying List ID stored in vti_listname property from Folder.Properties object Code: static class WebExtensions { /// <summary> /// ...


10

You can use Sharepoint Client Object Model for this. Here is how to do it on the current web: function CheckPermissionOnWeb() { context = new SP.ClientContext.get_current(); web = context.get_web(); this._currentUser = web.get_currentUser(); context.load(this._currentUser); context.load(web,'EffectiveBasePermissions'); ...


10

Try this... Open up the SharePoint 2013 Management Shell as Administrator and run the following command: Enable-SPFeature SearchWebParts -url http://<central admin url>


10

for simplicity I will state the obvious! user is not authenticated and resource requires authentication this tells me there is somthing wrong going on with the hand shaking (your certificate is not sent or is wrong), as its a microsoft product the best place is to look at msdn. to make it clear please read this: The following step is optional. ...


10

Have you set the SPWebApplication.CrossDomainPhotosEnabled property? asnp Microsoft.SharePoint.PowerShell $wa = Get-SPWebApplication http://intranet.contoso.com $wa.CrossDomainPhotosEnabled = $true $wa.Update()


10

here is a better solution. Enjoy and let me know if you need more help :) ExecuteOrDelayUntilScriptLoaded(function() { g_uploadType = DragDropMode.NOTSUPPORTED; SPDragDropManager.DragDropMode = DragDropMode.NOTSUPPORTED; }, "DragDrop.js");


10

I just had this issue the other day (but with height). The key is to use postMessage to set the width of the iframe. This worked for me (put in the .aspx file of app): <body> <div id="dynamicContent"> //App content here </div> <script type="text/javascript"> "use strict"; window.Communica = window.Communica || {}; ...


10

Juergen, The below article should help: http://blog.collabware.com/2013/03/22/tips-tricks-sharepoint-2013-modal-dialogs/ You have SP.UI.ModalDialog.showWaitScreenWithNoClose which can be used.. function RequestEnded(sender, args) { try { waitDialog.close(); waitDialog = null; } catch (ex) { } }; function RequestStarted(sender, args) { ...


10

If you export the web part and locate the JSON string that contains the "refinerConfigurations" you can change the "useDefaultDateIntervals":false and then set your own intervals like "intervals":[-365,-180,-30,-7,-1]. Dates in the past are negative and the future are positive. If you don't know how to export and import a web part let me know and I'll add ...



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