Skip to content

Ability to use either list names or list guids #14

@pete-thompson

Description

@pete-thompson

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions