7.4 発行タスクの設定


Authoring Connectorウィザードで制作者に示される発行タスクは、管理者が設定する発行タスクリストに定義されている。発行タスクリストはXMLファイルで、サーバーにおかれている。

発行タスク文書の構造

  • ルート要素: tasks
  • tasksの子要素: task
  • それぞれのtaskは4個の要素で成り立っている
  • The <name> element contains the name of the publishing task; it must be less than 132characters in length.
  • The <description> element contains a short description of the publishing task; it must be less than 1,024 bytes in length.
  • The <template>, or <templateGui>, element identifies which template should be used by the Authoring Connector, by the full path or GUID, respectively.
  • The <channel>, or <channelGuid>, element identifies in which channel the page should be created, by the full path or GUID, respectively

<?xml version="1.0" ?> <tasks>

 &lt;task&gt;
   &lt;name&gt;Create a new research page&lt;/name&gt;
   &lt;description&gt;This task create a new research page&lt;/description&gt;
   &lt;template&gt;/Templates/BOTS Consulting/Research&lt;/template&gt;
   &lt;channel&gt;/Channels/botsconsulting/knowledge/research/&lt;/channel&gt;
 &lt;/task&gt;
 &lt;task&gt;
   &lt;name&gt;Create a new article&lt;/name&gt;
   &lt;description&gt;This task creates a new article&lt;/description&gt;
   &lt;templateGuid&gt;{ECF2A30B-7FBD-4771-B311-6C9551B2C2CF}&lt;/templateGuid&gt;
   &lt;channelGuid&gt;{B5626CE8-CFA2-4578-86B8-7C2A2649A6FA&lt;/channelGuid&gt;
  &lt;/task&gt;
&lt;/tasks&gt;

発行タスクの作成と変更

タスクエディタ

タスクエディタの機能

  • タスクの作成・コピー・削除
  • チャネルとテンプレートの、パスまたはGUIDによる選択
  • タスク名の重複の確認
  • 値の長さの確認
  • XMLの検証と保存

あらかじめ定義された発行タスク以外のものを制作者がしないように制限する