Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Adding support for openWebById method on Site#431

Merged
patrick-rodgers merged 1 commit intoSharePoint:devfrom
patrick-rodgers:dev
Apr 24, 2017
Merged

Adding support for openWebById method on Site#431
patrick-rodgers merged 1 commit intoSharePoint:devfrom
patrick-rodgers:dev

Conversation

@patrick-rodgers
Copy link
Copy Markdown
Contributor

Q A
Bug fix? [ ]
New feature? [X]
New sample? [ ]
Related issues? fixes #422

What's in this Pull Request?

Adds support for the openWebById method. Usage:

pnp.sp.site.openWebById("155cb453-90f5-482e-a380-cee1ff383a9e").then(ww => {

    //we got all the data from the web as well
    console.log(ww.data);

    // we can chain
    ww.web.select("Title").get();
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants