Za pomocą polecenia z zestawu OCE Toolkit można utworzyć elementy zawartości indeksu strony.
Wymagania wstępne:
OCE Toolkit został zainstalowany i skonfigurowany w komputerze lokalnym.
Serwis w usłudze Oracle Content Management został opublikowany.
Elementy zawartości strony serwisu zostały opublikowane w kanale serwisu.
Za pomocą interfejsu opartego na wierszu polecenia należy wprowadzić następujące polecenie z zestawu OCE Toolkit:
cec index-site site name -c content type name -p
W poleceniu tym site name
jest nazwą serwisu, content type name
jest typem zawartości tworzonym dla tekstu strony, a opcja -p
zleca opublikowanie elementów zawartości indeksu stron po utworzeniu.
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
Chcąc zobaczyć składnię wywołania, można użyć polecenia cec index-site -h