New answers tagged


If you want to perform a rest query using $filter and content type id field, you can do it like below: http://siteurl/_api/web/lists/getbytitle('Documents')/items?$select=ID,Title&$filter=startswith(ContentTypeId,'0x0101') Insert the internal column names in the $select to get the column names.


You can create column with 'date only' and then you can pass date directly in sharepoint format. _api/web/lists/getByTitle('ListName')/items?$select=Id,Title,Modified,Birthdate&$filter=Birthdate eq '2016-04-13' Its working fine for me (Tested on SharePoint online). For 'Date and time' Field we have to format using javascript in order pass in ...


I only browsed your code You have to look closely at WHERE inside the then resolves your code runs, ie. if (errCnt>0) will run before attachments are found. Also try to merge your code, you have 2 branches that almost do the similar, merge them into one... your code will become smaller.. your code will be easier to debug

Top 50 recent answers are included