Oracle İçerik ve Deneyim Araç Paleti control-content
komutunu kullanarak Oracle Content Management sunucusundaki bir kanala içerik öğeleri ekleyebilirsiniz.
control-content <action>
komutunda, bir Oracle Content Management kanalına içerik öğesi eklemek için kullanılan add
eylemi vardır:
cec control-content add -c Channel1 -r Repo1 -s UAT
Bu komut Repo1
veri havuzundaki tüm öğeleri kayıtlı sunucu Kullanıcı Kabul Testindeki Channel1
kanalına ekler.
-s <server>
ile sunucuyu belirtebilir veya cec.properties
dosyasında belirtilen sunucuyu kullanabilirsiniz.
content-usage
komutu için geçerli eylemler şunlardır:
publish
unpublish
add
remove
content-usage
komutu için seçenekler şunlardır:
--channel, -c Channel
[required]--repository, -r Repository
[<action>
add
olduğunda gereklidir]--server, -s
Kayıtlı Oracle Content Management sunucusu--help, -h
Yardımı göster [mantıksal değer]control-content
komutunun örnekleri:
cec control-content publish -c Channel1 Publish all items in channel Channel1 on the server specified in the cec.properties file cec control-content publish -c Channel1 -s UAT Publish all items in channel Channel1 on the registered server UAT cec control-content unpublish -c Channel1 -s UAT Unpublish all items in channel Channel1 on the registered server UAT cec control-content add -c Channel1 -r Repo1 -s UAT Add all items in repository Repo1 to channel Channel1 on the registered server UAT. cec control-content remove -c Channel1 -s UAT Remove all items in channel Channel1 on the registered server UAT