Tag Info

New answers tagged

0

You are getting site collection groups earlier you are retrieving groups from the site collection, but when you execute your GetData() function, you are passing in a group name, but executing it at the root level. http://site/_api/web/sitegroups/getbyname('Owners')/users instead of http://site/subsite/_api/web/sitegroups/getbyname('Owners')/users


1

Try updating click event as follows $("#btnGetResults").click(function () { ShoutoutDataSub = []; Name = $('#txtEmp').val(); fromDate = $('#ShootOutfrmDate').val(); GetReports(Name, fromDate); });


0

I'm assuming you aren't flushing the datatable content prior to loading the new data, $("#datatable").empty(); //refetch and populate datatable


1

You don't need to reinvent the wheel I believe. From your requirement we can easily achieve using HTML Form webpart. And then connect it to a List View webpart for filtering. https://support.office.com/en-us/article/Use-the-HTML-Form-Web-Part-to-filter-and-display-data-in-another-Web-Part-860b681c-38ad-43ff-a036-a60868497ff7 The good thing about this ...


2

I just did something similar for SharePoint 2013 but I'm pretty sure this works for 2010 as well. You can pass in special query string parameters to your views on a list, namely FilterFieldN, FilterValueN, and FilterOpN (where N is a number between 1 and 10). Example: ...



Top 50 recent answers are included