Skip to content

cajones/sharepoint-lists.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

sharepoint-lists.js

just some sharepoint list grabbing code

$(document).ready(function () {
  var listSource = new Sharepoint.ListSource({ url: '//mysharepoint.com/sites/blah/portal/_vti_bin/lists.asmx' });
  var wrapAndAppend = function (selector, value) {
      $(selector).append($('<option>').append(value));
  };
  listSource.load('BestPracticeUploadList', ["Main", "DateCreated"], function (results) {

      $.each(results, function (index, values) {
          wrapAndAppend('#Main', values[0]);
          wrapAndAppend('#DateCreated', values[1]);
      });

  });
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published