Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to use either list names or list guids #14

Open
pete-thompson opened this issue Apr 19, 2016 · 0 comments
Open

Ability to use either list names or list guids #14

pete-thompson opened this issue Apr 19, 2016 · 0 comments

Comments

@pete-thompson
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant