lundi 12 janvier 2015

I only want to get the title of subsites that contains characters as inputbox



I want to get the title of subsites from users input so for Ex if the user types Hello in my box then it should filter my titles by that input and only get that title and not all titles like my code does know



var queryUrl = appweburl + "/_api/SP.AppContextSite(@target)/web/webs?$select=Title,Url,WebTemplate&$filter=WebTemplate ne 'APP' & substring('" + query + "', Title)&@target='" + hostweburl + "'";







0 commentaires:

Enregistrer un commentaire