Du kan bruge en OCE Toolkit-kommando til at oprette sideindeks-indholdselementer.
Forudsætninger:
OCE Toolkit er installeret og konfigureret på din lokale maskine.
Sitet i Oracle Content Management er publiceret.
Indholdselementerne på sitesiden er publiceret til sitekanalen.
Skriv følgende OCE Toolkit-kommando i en kommandolinjegrænseflade:
cec index-site site name -c content type name -p
site name
i kommandoen er sitets navn, content type name
er den indholdstype, der er oprettet for sideteksten, og valget -p
angiver, at sideindeks-indholdselementerne skal publiceres efter oprettelse.
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
Hvis du vil se brugen, kan du skrive cec index-site -h