I have two lists. First one is a Projects List and Second List has a lookup column to the First list. I want the lookup column on Second list to show only the Projects filtered by the column "Created By".

In example: If John Doe Created a Project in the first list, then, John Doe will go to second list to create a record but The projects lookup column should only show projects created by John Doe and not all other project created by someone else. I am using Sharepoint 2016.

Your support is really appreciated.


  • Can't you use workflow to create a new item in the second list with Project Name and Author column? Commented Nov 22, 2017 at 21:33

1 Answer 1


Use Rest Api on New form:


        $("select[title^='Projects']").append("<option value=''></option>");

        var listName='Projects';
        var currentUser='John Doe';
        var Query = _spPageContextInfo.siteAbsoluteUrl+ "/_api/web/lists/getbytitle('" + listName + "')/Items?$select=Projects/Title&$expand=Projects&$filter=Author eq '" + currentUser + "' ;

            url: Query,
            type: "GET",
            headers: { "accept": "application/json;odata=verbose" },
            success: function (data) {

                    var  jsonData= data.d;
                    var i =0;
                    var listItems="";
                    for (i = 0; i < jsonData.results.length; i++){
                     listItems+= "<option value='" + jsonData.results[i].Title+ "'>" + jsonData.results[i].Title+ "</option>";

            error: function (xhr) {


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.