2

I making simple SPFx. I need to return all associated sites by using hub site name (not hub site id), I have example with hub id

 sp.search({
  RowLimit: 40,
  StartRow: 0,
  SelectProperties: ["Title", "Author", "Path", "FileType","Department"],
  QueryTemplate: "contentclass: STS_Site AND DepartmentId:1111*",
})

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.