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


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

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

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


8

Queries will be executed based on the logged in users context. The results will be security trimmed. Also you should note that there is no option to elevate privileges from Client Side. This was done to eliminate security risks. Talking about app's (which can use REST queries), we can elevate the permissions. But this permission is maximum limited to the ...


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

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

Since your "today" variable is a JavaScript date object, you can get the string representation by calling the toISOString() method. ...$filter=StartDate ge datetime'" + today.toISOString() + "' and ...


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

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

Try this variant, replacing the AllUsers lookup with EnsureUser $spsite = new-object Microsoft.SharePoint.SPSite("https://mysite.com/") $web = $spsite.openweb("/subsite1/subsite2/") $removeUser = $web.EnsureUser("domainname\username") Or, if you do not wish to add the user to the site even to then delete him/ her, you can build on this functionality ...


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


6

I don't know of a configuration setting that will turn off the Add button in the Calendar but you can hide it by placing a Content Editor web part on the page and adding the following CSS to the Content Editor. Be sure to click the Edit Source button in the ribbon and paste it in the HTML Source. <style type="text/css"> .ms-acal-rootdiv ...


6

Yes, being a straight modification on a default SharePoint file, it will bring your farm to an unsupported state


6

This seems to be pretty close in performance: context.Load(lists, all => all .Where(l => l.RootFolder.Name == "MyListUrl") .Include(l => l.Id)); context.ExecuteQuery(); list = lists.Single(); If you need to get this by server-relative url you would need to parse the web url and list url first.


6

You should reduce it, and your farm will get benefit from it. Their is no impact rather you will get performance improvement. NodeRunner.exe is resource hungry process. their 3 step process: Use Set-SPEnterpriseSearchService -PerformanceLevel Reduced to reduce the CPU impact the search service Modify the C:\Program Files\Microsoft Office ...


6

If you have an MSDN Premium subscription, you will be able to set up a development environment using VMs and you should also be able to sign up for a 1 year free Office 365 developer account. In addition to the Core Solutions jumpstart that Amal linked to there is also the one for the Advanced Solutions as well. You also should absolutely get a PluralSight ...


6

Farm Solutions (Full Trust): Develop for SharePoint On-Premises only. Can use managed code and the Server Object Model. This model has been around since SharePoint 2007 and is currently the most robust and well documented. Sandbox Solutions: Develop for SharePoint On-Premises or SharePoint Online. Can currently use managed code and a limited version of the ...


5

I can't really provide a sensible answer to why this is happening (I can confirm I'm experiencing the same weird behavior. I'm sure this is related to the fact that they cut out the designer part without properly thinking about the consequences this would have had). What I can offer is a dirty workaround that proved to be almost always working in my case. ...


5

@PirateEric Sorry but this is untrue. Anyone who finds this as I did searching for a way to change the List URL of a SharePoint 2013 last can do so in Designer by following the steps outlined in this SO post: http://stackoverflow.com/questions/12904944/change-sharepoint-library-url Essentially: In SharePoint Designer just navigate to All Files navigation ...


5

This forum article helped me but I have to substitute for the missing "C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server" - C:\Program Files\Windows SharePoint Services\15.0\Data\Analytics_{some guid} Hi All, Recently an issue was reported to me where some of my site admins were facing an issue in setting up a SharePoint 2013 stand ...



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