Hot answers tagged

3

No. Removing a user will not remove their files they created on SharePoint sites that are not their OneDrive. Eventually, after 30 days, their person site , which contains their OneDrive, will be purged. In addition to the article mentioned earlier, see also this article: https://support.microsoft.com/en-us/kb/2619308


3

It's still weird that $orderby does not work with Likes and Calculated Type columns. So now can do following things. Sort them in client side Ignore $orderby from url var uri= appweburl + "/_api/SP.AppContextSite(@target)/web/Lists/GetByTitle('listName')/items?$select=LikedBy/Title,LikedBy/ID,Title,Id,LikesCount&$expand=LikedBy&$filter=" + ...


2

For a managed metadata field there are usually two fields. One holding the complete (term) information including the id's etc. And one with only the 'text value'. Look if you have a managed property called ows_SPShSkills (without the 'taxid'). And use that field as a refiner. It will hold the textual value of the managed metadata. If that managed property ...


2

Create One Calculated type column and set data return formula type to Number and apply this formula: ="<img src='/_layouts/images/blank.gif' onload=""{"&" var day=new Date();"&" this.parentNode.innerHTML= day ;"&"}"">" You will current date and time. UPDATE For only Date try below formula: ="<img src='/_layouts/images/blank.gif' ...


2

It looks like the query is working as it should. Your selector looks off. Try Item.AssignedTo.results.FirstName


2

You can apply some conditional filtering like following: var filter = ""; if (statusFilter) { filter += "status eq '" + statusFilter + "'"; } if (!statusFilter) { filter += "status ne 'Rejected'"; } if (categoryFilter) { filter += "and category eq '" + categoryFilter + "'"; }


2

Arf, that's exactly why I 100% prefer on-prem SharePoint! In your situation, in all cases, you'll have to setup and maintain another server. Your options are: Create a Windows Service hosted on a third-part server. You can write in C# and leverage the client-side .NET API of SharePoint. Create a Console application, still hosted on a third-part server. ...


2

I haven't done this but based on my discussions with people I respect in the community I think Azure WebJobs are the way to go. Here are a couple resources that will help you get started. SharePoint Timer Jobs running as Windows Azure Web Jobs Getting Started with building Azure WebJobs ("Timer Jobs") for your Office 365 sites


2

There's no difference. What you see is the icon for the calendar from SharePoint 2010, and the second is for 2013. While migrating a 2010 farm to 2013, the icons are not updated. While it can be annoying to have the old icons, there is no impact to the functionality.


2

Apparently they are purged after 30 days. See https://support.microsoft.com/en-ca/kb/3042522 for some background and useful information. Cheers


2

Most often there are no IDs. And hardcoding IDs (generated by SharePoint) in CSS rules will get you in trouble sometime in the future. When you add,(re)move other WebParts the IDs can change. Learn how to use CSS selectors to target with metadata used in other attributes. http://www.w3schools.com/cssref/css_selectors.asp Although not perfect, the ...


1

For client side stuff I came up with the following check: if (typeof O365 === "undefined"){ // I'm executing in the context of SharePoint on-prem. } else{ // I'm executing in the context of SharePoint Online. }


1

GUIDs are globally unique. You should never find two things with the same GUID in any system anywhere. A programmer has made a mistake if you do. So to answer your question - no, List Item GUIDs are not list dependent.


1

Filters aren't true security as you note. You could add folders to the list and secure the folders, then only the users who have access to the folders would see the information below. Item level permission performance scales horribly and is a pain to maintain.


1

As Wjervis mention, features that are new in SharePoint 2016 On premise has been and are being deployed and you might be using them right now. However, Microsoft pushes out new features to servers, not tenants so there is no guarantee that you have access to anything new yet. And there is always a chance that features that will make it to on premise won't ...


1

Inspect the webpart after it has rendered on the page. Look for it's element ID, then use that to apply styles. Afterwards you will be able to drop css onto the page to alter it: <style> #RenderedWebpartID { /* css attributes here */ } </style>


1

It's quite simple actually. You need to open the list/document library in SharePoint designer, and on the right hand side you will find a group of files titled "Forms". Create a new edit form or a new item form as per your requirement. The designer will generate a new aspx file which you would be able to edit, and place your button wherever you need. To set ...


1

Site Usage/Analytics SharePoint captures certain site metrics, such as the most popular pages and destinations, but it has limited granularity. Refer to Microsoft's documentation: Reporting and Usage Analysis Overview (SharePoint 2010) Audit Settings A more in-depth option would be to enable auditing on your site such that page and document views are ...


1

I am not sure about the performance, but my preferred approach would be to fire five CAML queries in parallel. That way you reduce the execution time by approx. 80%. You should also think about the frequency with which you need to get this data. Although 100 responses might not make much of a difference, for a larger number of responses and a frequency of ...


1

IMO, the fastest would be to get all responses for a given QuestionId: In both cases, you'll have to retrieve all items for the QuestionId. The total number of items is the same in both cases. So the traffic on the network will finaly be the same, as well as the the memory consumption. However, in the latter case (get all items and do the loop yourself): ...


1

If you enable the audit logging on your site collection level then you can track it. You can use the audit feature of Microsoft SharePoint Server 2010 to track which users have taken what actions on the sites, content types, lists, libraries, list items, and library files of site collections If not, enable it now so you will get future ...


1

I see that you use SharePoint online. So It's possible, but you don't set it at library level. Instead it should be set at site collection level. Just go to Site Collection Administration - > Site collection audit settings and select interesting events for you. After that you can generate report with Site Collection Administration - > Audit log reports


1

One option could be to use Excel charts/graph and publish it on SharePoint Online with Excel Services. Check the links below: http://www.dummies.com/how-to/content/how-to-use-sharepoint-online-excel-services.html https://support.office.com/en-us/article/BI-capabilities-in-Excel-and-Office-365-26c0548e-124c-4fd3-aab3-5f64568cb743


1

I figured it out! The Body text had been changed from Rich HTML text field to a Plain text field. Changing this back to Rich HTML fixed the problem. I'm not entirely sure why, but I suspect it is because the Reply field and Body text are linked in some way. I cannot see if it is possible to make the Reply field plain text as well; I imagine this would ...


1

By web form if you are referring to a .Net page, you could use CSOM to connect to your site and create a new list item. MSDN article on CSOM Another great idea would be to use REST API if you cannot have managed code. Research a bit and you will be able to make a choice.


1

Enterprise keywords, as defined by the platform, is not a site collection specific feature. All site collections in a web application (or tenant in your case) would share the same enterprise keywords. In addition, the native Enterprise Keyword field, as you noticed, uses a searching/suggestion behavior to help users find terms -- you cannot pick the ...


1

Web Analytics will give you numbers very easily. http://blogs.msdn.com/b/ecm/archive/2010/03/21/introducing-web-analytics-in-sharepoint-2010.aspx For the identity of users you could try using auditing, that will let you see who's accessing the site. Other than auditing you'd need to look at custom code of some sort that runs when a web-part is rendered. ...



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