This post explains, how to get the web url from page url in SharePoint Site Collection using PnP JavaScript Library.
In this post, we will use the PnP-JS-Core method to get the collection of document libraries from based on website URL using the SiteCollection method.
PnP-JS-Core library contains the number of extensible methods and properties. By using that we can achieve the various actions in a simple code. In this post, we will use the PnP-JS-Core method to get the root web site from the Site collection.
© 2023 KTSKUMAR.COM — Powered by WordPress
Theme by Anders Noren — Up ↑