Using PNP Modern Search, how can I search for Text Web Parts content on site pages?

1 Answer 1


Text content added to pages via text web parts are indexed by Microsoft Search. Using the PnP search web parts should return any pages containing that content.

  • Unfortunately, no pages are returned. Is there a setting that I might be missing? For query template, I'm using {searchTerms}
    – JUR
    Mar 27, 2023 at 19:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.