# \#webparts

**URL:** https://techcommunity.softwareag.com/tag/webparts/1425.md

[Latest](https://techcommunity.softwareag.com/latest.md) · [Categories](https://techcommunity.softwareag.com/categories.md) · [Tags](https://techcommunity.softwareag.com/tags.md)

---

## [How to access the page details in sharepoint custom webparts?](https://techcommunity.softwareag.com/t/how-to-access-the-page-details-in-sharepoint-custom-webparts/267373)

<div class="topic-metadata">

**Author:** [@Vivek.Chadha](https://techcommunity.softwareag.com/u/Vivek.Chadha)\
**Replies:** 2\
**Last updated:** [November 25, 2024, 12:16pm UTC](https://techcommunity.softwareag.com/t/how-to-access-the-page-details-in-sharepoint-custom-webparts/267373 "2024-11-25T12:16:32Z")

</div>

Problem Statement How to capture the Page Details like Page Title, Page Url for the current page in Sharepoint? Approach You can use the PageContext Provided by Sharepoint to get the page ID and you have to get all the …

---

## [How to get current user details in sharepoint custom webparts?](https://techcommunity.softwareag.com/t/how-to-get-current-user-details-in-sharepoint-custom-webparts/267376)

<div class="topic-metadata">

**Author:** [@Vivek.Chadha](https://techcommunity.softwareag.com/u/Vivek.Chadha)\
**Replies:** 0\
**Last updated:** [December 15, 2022, 10:05am UTC](https://techcommunity.softwareag.com/t/how-to-get-current-user-details-in-sharepoint-custom-webparts/267376 "2022-12-15T10:05:04Z")

</div>

Problem Statement How to capture the user details like user id and user email id, user login name, and user office in Sharepoint web part? Solution Step 1 Do npm install sp-pnp-js Step 2 Go to the component file and …
