Skip to main content
replaced http://sharepoint.stackexchange.com/ with https://sharepoint.stackexchange.com/
Source Link

Is it possible to get list by url using ECMA script client model? For example something like this:

context.get_web().get_lists().getByUrl("Lists/MyList");  

UPD!:
Please, refer to this correct answerthis correct answer on this question (for SP 2013 version only)

Is it possible to get list by url using ECMA script client model? For example something like this:

context.get_web().get_lists().getByUrl("Lists/MyList");  

UPD!:
Please, refer to this correct answer on this question (for SP 2013 version only)

Is it possible to get list by url using ECMA script client model? For example something like this:

context.get_web().get_lists().getByUrl("Lists/MyList");  

UPD!:
Please, refer to this correct answer on this question (for SP 2013 version only)

Tweeted twitter.com/#!/StackSharePoint/status/598073261595963392
added 233 characters in body; edited tags
Source Link
Sergei Sergeev
  • 11.6k
  • 5
  • 32
  • 49

Is it possible to get list by url using ECMA script client model? For example something like this:

context.get_web().get_lists().getByUrl("Lists/MyList");  

UPD!:
Please, refer to this correct answer on this question (for SP 2013 version only)

Is it possible to get list by url using ECMA script client model? For example something like this:

context.get_web().get_lists().getByUrl("Lists/MyList");

Is it possible to get list by url using ECMA script client model? For example something like this:

context.get_web().get_lists().getByUrl("Lists/MyList");  

UPD!:
Please, refer to this correct answer on this question (for SP 2013 version only)

Source Link
Sergei Sergeev
  • 11.6k
  • 5
  • 32
  • 49

How to get list by url using client object model?

Is it possible to get list by url using ECMA script client model? For example something like this:

context.get_web().get_lists().getByUrl("Lists/MyList");