Forum Discussion

Nigel Witherdin's avatar
Nigel Witherdin
Iron Contributor
Apr 03, 2017
Solved

Search REST query - filtering ModifiedBy by Current User

Hi,   Trying to show the 10 most recent documents edited by the current user by calling the search REST api, but I am struggling with filtering the results by the current user. Using this call give...
  • paulpascha's avatar
    Apr 03, 2017

    As described in this blog by Mikael Svenson you can use Query Variables together with the REST api

    http://www.techmikael.com/2015/07/sharepoint-rest-do-support-query.html

     

    Key here is to make use of QueryTemplate instead of QueryText.

     

Resources