Sivuindeksin sisältökohteiden luonti OCE Toolkitin avulla

Voit luoda OCE Toolkit -komennolla sivuindeksin sisältökohteita.

Edellytykset:

  • OCE Toolkit on asennettu ja määritetty paikalliseen koneeseen.

  • Oracle Content Management -palvelun sivusto on julkaistu.

  • Sivuston sivun sisältökohteet on julkaistu sivuston kanavassa.

Kirjoita komentoliittymässä seuraava OCE Toolkit -komento:

cec index-site site name -c content type name -p

Komennossa site name on sivuston nimi ja content type name on sivun tekstille luotu sisältötyyppi. -p taas osoittaa, että sivuindeksin sisältökohteet julkaistaan luonnin jälkeen.

Usage: cec index-site <site>

Create content item for each page with all text on the page. If the page index content item already exists for a page, updated it with latest text on the page. Specify -c
<contenttype> to set the page index content type. Optionally specify -p to publish the page index items after creation or update.

Options:
  --contenttype, -c  <contenttype> page index content type
  --publish, -p      publish page index items
  --help, -h         Show help                                                                                                                                            [boolean]

Examples:
  cec index-site Site1 -c PageIndex
  cec index-site Site1 -c PageIndex -p

Jos haluat nähdä käytön, kirjoita cec index-site -h