The methods in listitems.js all require a list guid, but there are situations where we want to use a list name. For example, in our dev/test world we point to a development version of a SharePoint site that contains a set of lists, but in our live world we point to the live SharePoint site with lists of the same name - it's simpler to reconfigure our code to just change the URL for the SharePoint site while leaving the list names unchanged rather than having to change both the URL and the GUIDS.
So, I'm planning on adding a pull request to implement the ability to pass names instead of GUIDs. I'm thinking I'll add an option that says "UseListNames" that defaults to false. Does that sound like it makes sense?
The methods in listitems.js all require a list guid, but there are situations where we want to use a list name. For example, in our dev/test world we point to a development version of a SharePoint site that contains a set of lists, but in our live world we point to the live SharePoint site with lists of the same name - it's simpler to reconfigure our code to just change the URL for the SharePoint site while leaving the list names unchanged rather than having to change both the URL and the GUIDS.
So, I'm planning on adding a pull request to implement the ability to pass names instead of GUIDs. I'm thinking I'll add an option that says "UseListNames" that defaults to false. Does that sound like it makes sense?