Tag Info

Hot answers tagged

27

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


14

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


14

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


13

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


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


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

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


12

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'


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

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


10

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


10

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


10

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


10

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


10

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


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

Virtual Server doesn't support X64 guests. So running Win 7 your best options are most likely: VHD Boot VM Ware VM Ware is nice because you may have other things running on the machine at the same time, but be aware of the Hardware and software requirements for SharePoint 2013 Preview, which states 8GB Ram for foundation, 24GB for Server, so unless you ...


9

Please visit this blog from Joel Oleson where he describes about SharePoint 15 and Office 15 Wave of Products !!! You can also check out for the Technical Preview Program from Office


9

In addition to traditional web parts still being supported (in either full-trust or sandboxed solutions) as Simon mentions, you can develop new app parts in an app for SharePoint 2013. An app part is like a web part, and in fact is also made available to users in a host web's web part gallery. Users add app parts to pages the same way they would add web ...


9

As James mentions it's not a valuable comparison as it's two completely different tools. No "SharePoint is not a database" and no "SQL is not a collaboration, document management, ... platform". But to answer your question only point 7 and 8 has been changed (fixed) in SP2013. For more information: Here is my take on the eight points: Primary and foreign ...


9

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


9

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


9

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


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

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


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


9

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


9

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


8

Worked for me: server 2k12, SQL 2k12, SharePoint 2k13. This was done on Hyper-V I did it as a single server installation, joining the server to my existing domain, used the full installation option (default) as opposed to the stand alone server. Beyond that, I accepted the defaults as it's the first time I've played with this edition. As for Perms, I ...



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