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


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


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'


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

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

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


8

I would suggest you create different content type or use the tagging feature to organize the items. Check this for the list of Pros and Cons http://social.technet.microsoft.com/wiki/contents/articles/16166.sharepoint-2013-using-folders.aspx Folder vs Metadata SPS 2013 search makes it easy to find worthwhile files and list items with or without any added ...


7

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


7

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


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

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


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


7

Yes you do not have a site content or site settings pages you find in a normal page. However, if you know the list internal name, you can build the url from it and go to lit. {App Site URL}/Lists/{List internal name}/AllItems.aspx App Site URL should be like as below example: ...


7

Works with double ' _api/Web/Lists/GetByTitle('St. John''s Calendar')/


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

Run this PowerShell script get-spfarm | select BuildVersion


6

You can copy any of the existing MasterPage's html file (I hope you have already figured that out) and go to Site Settings -> Design Manager -> Edit Master Page Now click your copied MasterPage and at the top-right you can see Snippets.. This is newly introduced in SharePoint 2013 and further explained here Now if you click Search Box, this will give you ...


6

Click on Edi Page and then Edit web part. You can rid of new document link by chaging ToolbarType to No Toolbar in List Views. The search box can be removed by going to Miscellaneous section and unchecking Display search box option. All Documents link will remain though. You may need to do some css tweaking for hiding that.


6

How to add WebPart client object on page via JSOM function addWebPart(webUrl, pageUrl,webPartXml,zoneId,zoneIndex, Success,Error){ var context = new SP.ClientContext(webUrl); var web = context.get_web(); var file = web.getFileByServerRelativeUrl(webUrl + pageUrl); var webPartMngr = ...


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

I find your requirement interesting, as it is quite common for a ticketing system. SharePoint can't do this natively, the reason being that the created and modified dates get written when an item is actually inserted and updated. You need to track the time spent on a form, that is the timespan between the click on the "add new item"/"edit item" button and ...



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