문제

I create a webpart with SPFX and it is deployed in a team site. I need get the team site groupId property.

도움이 되었습니까?

해결책

I finally got the groupId with the following code:

sp.web.select("AllProperties").expand("AllProperties").get().then(w => {
    console.log(w.AllProperties.RelatedGroupId);
});
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top