0

Read this: https://stackoverflow.com/questions/41620085/need-help-from-sharepoint-experts-creating-map-from-list-using-js

I dont feel like retyping the whole thing, just read this and let me know your thoughts

0

Try using
clientContext.load(this.collListItem); instead of clientContext.load(collListItem); and clientContext.load(this.website); instead of clientContext.load(website);

  • Did not work, but i still added it to the code, i got it to work by re organizing my entire code. But a new problem came up. Thanks! – user1986245 Jan 15 '17 at 19:42
  • You need to wait for the sp.js loads. Instead of the retrieveListItems() at the end, put this: $(document).ready(function() { ExecuteOrDelayUntilScriptLoaded(retrieveListItems, "sp.js"); }); ); – Mike Jan 16 '17 at 15:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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