Tag Info

New answers tagged

0

You can use metadata navigation for this on the default AllItems.aspx and other views. Enable it on List Settings and Choose the Created or Modified field (or a custom Person field if you like). It's an Out of the box feature.


2

Since CSR is the default rendering mode in SharePoint 2013, I would recommend the following approach to manipulate form fields in New/Edit Form page. As an introductory please follow this article Introduction to Client Side Rendering in SharePoint 2013. Suppose a Tasks list that contains a Task Category lookup field. Then the following rendering template ...


2

How to retrieve document name using SharePoint REST Since FileRef contains file name, you could utilize the following query to return document names: Endpoint: /_api/web/lists/getByTitle('<list title>')/items?$select=FieldValuesAsText/FileRef&$expand=FieldValuesAsText Example Get documents (names) that have been created from 2014 year: ...


0

The Jquery code below reads the query string value and prepopulates the lookup field. $(document).ready(function () { JSRequest.EnsureSetup(); var dropDownValue = JSRequest.QueryString['AccountReference']; if (dropDownValue) { $("select[title='External Client Account']").children("option").each(function () { ...


-3

you can use tags that are available in SharePoint for document libraries kindly go through the below link you could find it helpful https://support.office.com/en-ie/article/Use-tags-and-notes-to-share-information-with-colleagues-18e87002-a0bb-473f-9959-358f42be8d03


0

This looks like a scoping issue. $.cookie("coo", txt); is outside of the $(document).ready function. Put it inside the function: $(document).ready(function(){ $("input.search").change(function() { var txt = $("input.search").val(); if (txt) { $("#WebPartWPQ2").find("tr.ms-itmhover:not(:Contains("+txt+"))").hide(); ...


0

I wrote about this same thing in my blog. (Not trying to plug). Here is the jist of the solution. Use local storage in HTML. <script type=”text/javascript” src=”../../Style Library/js/jquery-1.11.1.min.js”></script> <script type=”text/javascript”> $(document).ready(function(){ ...


1

SharePoint 2010 REST Interface expects the following format for the Date column: /_vti_bin/listdata.svc/ListName?$filter=Modified gt datetime'YYYY-MM-DDT12:00:00Z' JavaScript example var listTitle = "Requests"; var minDate = getMinDate(); var endpointUrl = "/_vti_bin/listdata.svc/" + listTitle + "?$filter=Modified gt datetime'" + minDate.toISOString() + ...


3

It does not seem possible to filter list items using FileSystemObjectType property in SharePoint 2013 REST. Option 1 But you could utilize the following REST query to return folders and associated list items: /_api/web/lists/Lists(guid'GUID')/rootFolder/Folders?$expand=ListItemAllFields JavaScript example var listTitle = "Documents"; var url = ...


0

Try use: /_api/Web/Lists(guid'GUID')/Items?$filter=FileSystemObjectType eq 1 or /_api/Web/Lists(guid'GUID')/Items?$filter=FileSystemObjectType eq '1'


0

I also faced a similar issue when I wanted to filter by the Modified field. The following method i developed worked for me: If you are using REST API the datetime literal is used as, e.g. datetime'2013-03-12T12:01:38Z' or datetime'2013-03-12′. Therefore I needed the date in the format yyyy-mm-dd Here is the Code: var d = new Date(); var date ...



Top 50 recent answers are included