Get SharePointGroup Properties

Good day, how can i get SharePoint Group properties? such as group description

Dear @ixxxl,
You can use pnpjs to get information about SharePoint groups, like this:

pnp.sp.web.siteGroups.getByName("Supervisors")().then(function(group){
  console.log(group.Description);
});

More on that here - https://pnp.github.io/pnpjs/sp/site-groups/

@Nikita_Kurguzov
Have some error
image
image

Dear @ixxxl,
This should work, which version of the app are you currently running? You can open Sources panel in browser's dev tools and check web part and widget version:
image

P.S. If it is SharePoint 2019, this functionality might not be available yet. We'll release an update with all the latest features soon, most likely in the first quarter of 2021.

@Nikita_Kurguzov


i think it 1.0.7
Yes , i have sharepoint 2019