35

You cannot use the following characters in file/folder name: Tilde (~) Number sign (#) Percent (%) Ampersand (&) Asterisk (*) Braces ({ }) Backslash (\) Colon (:) Angle brackets (< >) Question mark (?) Slash (/) Plus sign (+) Pipe (|) Quotation mark (") There are also restrictions about the positition of a character in a file/foldername: You ...


25

In SharePoint 2013 was introduced a so called Client Rendering Mode (CSR) which represents a rendering engine for list views, list forms and search results. I would recommend you to consider the following approach for your task. How to highlight the rows using CSR Below example demonstrates how to highlight list task rows based on their status ...


21

You can change the URL of a SharePoint 2013 List in Designer by following the steps outlined in this SO post: Change SharePoint Library URL Essentially: In SharePoint Designer just navigate to All Files navigation node (not List and Libraries node), find your list there -> right-click list -> rename. The URI would change then.


20

The following example demonstrates how to determine whether current users belongs to the specified groups: getCurrentUserWithDetails() .done(function(data) { var groupNames = ['News Owners','Approvers']; //determine wether current user is a memeber of group(s) var userGroups = data.d.Groups.results; var foundGroups = userGroups.filter(...


19

For listing item in a particular order you should use orderby in the URL var queryGet = "?filter=Title ne 'reply'&$top=10&$orderby=Created desc"


19

In a caml query, you will need to use <Today> token with OffsetDays. For e.g. <Where><Leq><FieldRef Name='Your_Date_Column' /><Value Type='DateTime'><Today OffsetDays='7' /></Value></Leq></Where> Reference: Using the Today token in a CAML query


18

Preparing your JS files for SP2013: Modify JQuery and all additional libraries to be in the SharePoint namespace To add a file into a namepsace surround it with this code: // Example for JQuery, replace jquery with your library name function $_global_jquery() { // Library code goes here } $_global_jquery(); This will ensure correct On Demand loading ...


18

~, #, %, & , *, {, }, \, :, <, >, ?, /, |, " above special character is not allowed for files/folder.. you need to replace these characters for create folder or files..


16

I know this question was asked long ago but it might help someone in the future. If you want to get all the users in your Sharepoint site you can use : /_api/web/siteusers? If you want to get the properties of the current user on the site then you can use : /_api/web/currentUser? I hope this helps.


16

SP Foundation does not include the User Profile Service, as @Aveenav noted. Therefore you probably do not have access to the REST endpoints for that service. Instead you will have to use the user information list to get this information. This will require two requets: one to get the current user's id, the second to get the user's info that you want. ...


16

I'm going to go over this in a bit more detail, because none of the above answers were clear to me. How to Move a SharePoint List from One Site to Another 1. Go the the List Settings of the list you want to move 2. Click Save list as template 3. Give the list template a descriptive file name, template name, and description 4. Go to the site's List ...


15

As far as I know, this is not possible by using "Calculated Value" property of "DOB" column as self referral is not allowed. What you can do is create a new "Calculated" column and then use formula =TEXT(DOB,"dd MMM yyyy"). Select "Date and Time" in data type returned and use "Date only" in format. This will solve your purpose.


13

You can do the following: var options = { url: 'https://sp2013dev/sites/dev/Shared%20Documents/Forms/EditForm.aspx?ID=9', title: 'My Title', allowMaximize: false, showClose: true, width: 400, height: 350, dialogReturnValueCallback: function(result){ if (result == SP.UI.DialogResult.OK) { window.location....


12

If you are using SharePoint 2013 or SharePoint Online, you can take advantage of JSLink to render your Status field as you want - in this case a button with some javascript logic behind it. The process would be very similar to the one described here: http://sharepoint-community.net/profiles/blogs/using-jslink-to-implement-delete-buttons-for-list-view. I'm ...


12

The green star shows up for new documents. When a new document is created/uploaded green star will be displayed. By default it showed for 2 days but you can change it as per your need. Please read more here: http://www.sharepointdiary.com/2012/02/new-tag-indicator-in-sharepoint.html Also note in case of checkouts, you see the green arrow on the Word icon ...


11

SharePoint has already lots of icons available in the DOCICON.xml file (14-Hive at C:/Program Files/Common Files/Microsoft Shared/web server extensions/14/TEMPLATE/XML) Simplest way could be to load based on file extension "/_layouts/images/icXXX.gif (where icXXX, would be icdoc.gif, idpdf.gif, etc.)


11

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.


11

As a part of the new Minimal Download Strategy (MDS) the sp.js library is not loaded until explicitly called in SharePoint 2013. Your case is pretty common, for example for a publishing pages, where sp.js library is loaded in the edit mode but not in the display mode. Solution Prefer SP.SOD.executeFunc over SP.SOD.ExecuteOrDelayUntilScriptLoaded ...


11

Unfortunately it doesn't seem possible to achieve using neither REST nor JSOM. So, the workaround, as you correctly mentioned in the question would be to utilize SharePoint Search REST/JSOM and specify contentclass:sts_site to return sites results. The following REST example demonstrates that: function searchSites(webUrl,success, failure) { var url = ...


11

The only reason is that your contents are still residing in SP Content database. Just verify following URL once and check whether you skipped deleting items from this locations. SiteUrl/_layouts/15/AdminRecycleBin.aspx SiteUrl/_layouts/15/AdminRecycleBin.aspx?view=2 SiteUrl/_layouts/15/RecycleBin.aspx SiteUrl/_layouts/15/AdminRecycleBin.aspx?view=2 is the ...


10

You can create a Visual Web Part for SharePoint 2013 Online. Your web part will be contained in a Sandbox Solution which you will develop locally. Once development is complete you will upload the Solution Package created by Visual Studio to SharePoint Online. Once this is done your web part will be available for use. As mentioned, development will be done ...


10

To check-out: //get the connection ClientContext ctx = new ClientContext("http://sitename"); //get the home page File home = ctx.Web.GetFileByServerRelativeUrl("/SitePages/home.aspx"); ctx.load(home); //check whether file is already checkout. If not then only do the checkout. if (home.CheckOutType == CheckOutType.None) { home.CheckOut(); } To check-in:...


9

There is another method in which you can upload extend the limit of the documents or files attached. Following is the code i used: Suppose I have a folder called attachments with several files, Following are the parameters used: destWeb-Destination SharePoint Web destSite-Destination SharePoint Site destList-Destination SharePoint List itemDest-List Item ...


9

SPList list = web.Lists["Notifications Group"]; foreach (SPListItem item in list.Items) { string fieldValue = item["Specific users"].ToString(); SPFieldUserValueCollection users = new SPFieldUserValueCollection(web, fieldValue); foreach (SPFieldUserValue userValue in users) { SPUser user = userValue.User; //Do something with ...


9

It's a known issue for a publishing pages (here or here), sp.js library is loaded in the edit mode but not in the display mode. As part of Minimal Download Strategy (MDS) that was introduced in In SharePoint 2013, SharePoint JavaScript libraries like sp.js are not loaded until explicitly called. Solution Utilize SP.SOD.executeFunc method to load ...


9

You can create VMs on your Win 10 and on this VM-Hyper V - you can install Windows server 2012 and sql server 2012 for installing SP 2013. This and Bill Baer Blog may help.


9

This issue is related to ListItemEntityTypeFullName. ListItemEntityTypeFullName must be specified in __metadata. Your error message seems SP.Data.listnameListItem is not the valid value for ListItemEntityTypeFullName. This value can be found in the following end-point. /_api/web/lists/GetByTitle('listName')/ListItemEntityTypeFullName Make a GET request to ...


9

You command should be look like this Export-SPWeb -Identity https://servername/path -Path C:\backup.cmp -ItemUrl "Lists/Mortgage Referrals" in identity complete URL of Site collection. at ItemURL you should not use '/' if it is on root of site collection.


9

Make sure that you have deleted the items in Site Collection Recycle Bin Note: Once the document is deleted it moved to 1st stage recycle bin. It stays there based on the web application recycle bin setting that (default is 30 days). after this period finished (30 days) it moved to 2nd stage recycle bin it also called Site Collection Recycle Bin. In 2nd ...


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