apps-infra

    Forum Stats

  • 3,873,968 Users
  • 2,266,653 Discussions
  • 7,911,673 Comments

Discussions

WCS Search - Search only Placed pages

User_QUFP4
User_QUFP4 Member Posts: 176 Red Ribbon
edited May 5, 2022 10:39PM in WebCenter Sites

Hi,

We have WCS12c and we have WCS Search in place. I am using in-built newSearcher() function to search the pages -


def results = newSearcher()

.from("Page","StandardPage")

.searchFor(querystring)


This is working fine but it is getting all the pages created in Placed and UnPlaced pages in the site nav. How to make it work to search only Placed pages ?


Thanks as always!

apps-infra