Tag Archives: GET ITEM SharePoint

Obter Itens de Lista SharePoint JQuery

Obtém os itens da lista no SharePoint AJAX. [js] function AtualizaFinalizaTarefa() { var urlSite = _spPageContextInfo.siteAbsoluteUrl; var tituloSolicitacao = $(‘[id^=”Title_”]’).val(); var idSolicitacao = parseInt(GetUrlKeyValue(‘ID’)); var listaSiteProjetos = “/_api/Web/Lists/getbytitle(‘Tarefas’)/items?$filter=IdSolicitacao eq ‘” + idSolicitacao + “‘”; var url = urlSite + listaSiteProjetos; $.ajax({ url: url, type: “GET”, headers: {“accept”: “application/json;odata=verbose”}, success: function(data){ obj = data.d.URL; $.each(data.d.results, function(index, […]

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> SharePoint | <span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span> , , , | Leave a comment