Tag Info

Hot answers tagged

23

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


15

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


12

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


10

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


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


8

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


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

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

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

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

Wael actually had the correct answer. Here is the gist of what needs to be done for packaging a Page Layout: Using Visual Studio, you can create a new Module and add your page layout to that file. Then, in the elements.xml file for that Module, here is what I typically use: <Module Name="PageLayouts" Url="_catalogs/masterpage"> <File ...


7

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


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

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

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


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

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

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


6

I would not advice to edit the Seatle.master. Instead I'd advice you to just take a copy of it and rename + edit the copy. In that way, in case anything goes wrong, you still have a solid fallback masterpage. Why some may advice to edit the html version, that is to support the Design Manager - But that method is primarily opinion-based. Regarding your ...


6

From the example you have supplied it seems that you only need to use POST if you are using CAML queries. You can use a simple GET if you use the OData querying method see OData in SharePoint 2013 with jQuery and SharePoint 2013 – CRUD on List Items Using REST Services & jQuery for fuller explanations and some simple examples. See MSDN - Use OData query ...


6

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


6

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


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



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