Tag Info

Hot answers tagged

25

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


17

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


13

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


9

In SharePoint a special content type exists that is called "Link to a document" and can be added to any document library. You need first enable management of content types on a library and the you can add it to the library. Once this has been done you can link to any file based on an http link. You will find a detailed description of this: How to use a ...


9

The log file should get you the path that SharePoint unsuccessfully tries to resolve. Try adding "~sitecollection" first in the ScriptLink like: <SharePoint:ScriptLink language="javascript" name="~sitecollection/custom/jquery-1.10.2.min.js" runat="server" Localizable="false" /> but this will only work inside the "the_new_osce_portal" Site ...


8

Try the following powershell code, $site = new-object Microsoft.SharePoint.SPSite("http://Server:1111/") $web = $site.OpenWeb("/") $resultsPath = "Pages/default.aspx" $page = $web.GetFile($resultsPath) $page.CheckOut() $wpm = $web.GetLimitedWebPartManager($resultsPath, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared) $wpm.WebParts | ft ...


8

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 || {}; ...


8

As with most job titles this is very depend of the company in question. When "developing" solutions to business problems using SharePoint the following comes into play (with a lot of extra work not included in this list): Figure out what the business problem is Find which part of it should be solved by IT if any Figure out if SharePoint should be part of ...


8

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


8

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


8

I hade the exact same problem last week and found no built in way of solving it. What I ended up doing was checking the value of beforeProperties and afterProperties of what I wanted to update, and if there was no difference, then I broke out of the method. I actually wrote a blog post about it. This is an annoying problem that I hope Microsoft improves in ...


7

The webpart item limit only affects the front end display (pagination)- so a request for all the items is still sent to the database. I suggest you create numbers of views to display the data. When creating the views, you can set the Filter to limit the items shown in each view to 5,000: Click Show items only when the following is true. For the first ...


7

SharePoint 2013 is not supported on Windows Server 2012 R2. This will possibly change with the release of SP1 for SharePoint 2013 this spring. More: http://support.microsoft.com/kb/2891274


7

There is a free tool from Pointbird that will give you this functionality, or you could just add a custom action that adds a link to "/_layouts/closeConnection.aspx?loginasanotheruser=true" http://pointbird.com/products/pointbird-sign-in-as-different-user/ http://www.cwheeler76.com/Lists/Posts/Post.aspx?ID=2


7

If it is indeed what the Related Item brings back, then it's just a normal json object and you can do this: var obj = [{"ItemId":2,"WebId":"860915f4-6bb7-4954-ae3a-dfb360620954","ListId":"4ba4d24a-4774-485b-8954-92794088f690"}]; var id = obj[0].ItemId;


7

Since respond.js is a presentational script, its placement within your HTML can dramatically impact page performance and execution time, especially on less capable browsers with slower JS engines. This module takes the guesswork out of placement and puts the script where it will be most effective. Optimal location is in the head after your CSS but before ...


7

1.Add that Document Library as WebPart 2.Than Edit Web Part 3.In Properties List View, Select Toolbar Type As "No Toolbar"


7

Yes you can do that. Thank you to ASP.NET 4 and Managed Navigation this is very easy to do on SharePoint 2013. Please refer to these links: http://technet.microsoft.com/en-us/library/dn194310.aspx http://technet.microsoft.com/en-us/library/dn194311.aspx Note: The cross-site publishing feature is available only in SharePoint Server 2013 Enterprise. If ...


7

Device Channels Yes I'm talking about Device Channels even when they are not mentioned in the question, because they can deliver the best performance and optimizability for the enduser and the client - in my opinion :) Pro individual designed HTML/CSS and JS foreach device -- no need for hiding or removing incompatible elements -- faster because you just ...


7

Instead of using PowerShell Remoting with SharePoint you could consider another approach. Since SharePoint 2013 supports several sets of APIs, you could utilize client APIs (CSOM/REST) in PowerShell. As you already mentioned Microsoft released Windows PowerShell for SharePoint Online for working with SharePoint Online. This SDK uses CSOM as the ...


7

As far as I understand your question, i think there is problem when your are uploading file through a mapped drive. If you copy & paste a file over windows explorer (WebDAV) to the Library the EventHandle (ItemAdded) will trigger as soon the File was created. But this doesn't mean the File is already filled with data. So one workaround should be to put ...


6

I came across this while searching and figured I would add my thoughts. I have also been looking for a way to tackle this problem. The DragDrop.js file in Layouts has a function called UploadProgressFunc which is essentially just a switch statement. One of the options on that switch is uploaded. This is the function to tap into if you need to handle this ...


6

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");


6

You can check SPWeb.UIVersion to see what UI version the site is currently using: switch(web.UIVersion) { case 3: // 2007 break; case 4: // 2010 & 2013 "14 mode" break; case 15: // 2013 break; }


6

When an authenticated user, whom has never visited a site collection, first visits a site there are a number of tables within the Content database which must be updated. The SharePoint Content database’s UserInfo table stores user specific information about an authenticated user and this information and really acts as a cache which is updated periodically. ...


6

SharePoint provides Out of the box Issue Tracking List template. You can use this list as a bug tracking system. You can add columns to the list based on your requirements. We have been using Issue Tracing list in SharePoint for one of our projects quite successfully.


6

I've successfully done this in SP 2010 with PowerShell. I've done things slightly different, so let me try to translate and see if it works out for you. Adding a Web Part to a WebPartZone For your first section, add an .Update() on the page creation to commit the change to the DB: PublishingWeb pWeb = PublishingWeb.GetPublishingWeb(web); string pageName = ...


6

The internal names of SP_UI_Dialog has changed in on RTM SP2013 on-premises so you should use: function _maximizeWindow() { var currentDialog = SP.UI.ModalDialog.get_childDialog(); if (currentDialog != null && !currentDialog.$Q_0) { currentDialog.$1Y_0(); } } ExecuteOrDelayUntilScriptLoaded(_maximizeWindow, 'sp.ui.dialog.js'); On the ...


6

Run this PowerShell script get-spfarm | select BuildVersion


6

You should try to using this. It may help you: var data = { '__metadata': { 'type': 'SP.Data.TimesheetListItem' }, 'Timesheet_x0020_Page': { '__metadata': { 'type': 'SP.FieldUrlValue' }, 'Description': 'Google', 'Url': 'http://google.com' }, ...



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