特殊な管理 > サポートされるビジュアリゼーションとパブリッシング > WVS ローダー > WVS と Adobe Experience Manager サーバーの統合 > Adobe Experience Manager PDF 変換ユーティリティ
  
Adobe Experience Manager PDF 変換ユーティリティ
Adobe Experience Manager PDF 変換ユーティリティは、Windchill の製品表現に関連付けられた PDF ファイルに Reader 拡張機能を追加できる、一括変換ユーティリティです。このユーティリティを使用開始するには、Windchill Visualization Services を Adobe Experience Manager サーバーと連携できるよう設定する必要があります (上記「Adobe Experience Manager サーバーの設定」を参照してください)。開始する前に、ユーティリティのコマンドラインヘルプを呼び出して、使用可能なすべてのオプションをレビューします。ヘルプを表示するには、Windchill シェルで次のコマンドを実行します。
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility -help
ユーティリティの実行には、"マーク" 操作と "マーク付きを処理" 操作の実行が含まれます。
マーク - 最初のステップは、マーク付けプロセスを実行することです。これにより、システムの特定の PDF ファイルにマーキングインジケータが保存されます。マーキングインジケータにより、PDF が Adobe Experience Manager サーバーで処理されたことが表示され、"プロセスマーク" 操作の実行時に Reader 拡張機能が適用されます。このステップで、Experience Manager サーバーによって処理されるシステムの PDF ファイルがマークされ、2 番目のステップ "プロセスマーク済み" の実行時に Reader 拡張機能が適用されます。Windchill システムの製品表現に関連付けられるすべての PDF をマークするには、Windchill シェルで次のコマンドを呼び出します。
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility -mark
-username=<サイトのユーザー名> -password=<サイトのパスワード>
マーク操作は、特定のコンテナの PDF ファイルをマークしたり、修正時刻のタイムスタンプに基づいて PDF ファイルをマークしたりするその他のコマンドライン引数をサポートしています。たとえば、"Demo Organization" の製品表現に関連付けられているすべての PDF ファイルをマークするには、Windchill シェルで次のコマンドを呼び出します。
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility -mark
-username=<サイトのユーザー名> -password=<サイトのパスワード>
-cont_path=”wt.inf.container.OrgContainer=Demo Organization”
"Demo Organization" の下の <my_product> 製品のすべての PDF ファイルをマークするには、Windchill シェルで次のコマンドを起動します。
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility -mark
-username=<サイトのユーザー名> -password=<サイトのパスワード>
-cont_path=”wt.inf.container.OrgContainer=Demo Organization\
wt.pdmlink.PDMLinkProduct=MY_PRODUCT”
Windchill システムである範囲の修正時刻のタイムスタンプが付いたすべての PDF ファイルをマークするには、Windchill シェルで次のコマンドを起動します。
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility -mark
-username=<サイトのユーザー名> -password=<サイトのパスワード>
-from=08/12/2012 -to=11/12/2012
マーク付きを処理 - 2 番目のステップは、ユーティリティでシステム内のすべてのマーク付き PDF ファイルを、設定済み Adobe Experience Manager サーバーに送信して処理することです。最終結果は、Reader 拡張機能が使用可能になった PDF ファイルであり、マーカー表示は変換済み PDF ファイルから除去されます。「マーク付きを処理」操作は、PDF ファイルを設定済み Adobe Experience Manager サーバーに送信する複数のスレッドをサポートします。Adobe Experience Manager サーバーは、同時に PDF ファイルに変換する複数のリクエストをサポートするように適切に設定されている必要があります。設定済み Adobe Experience Manager サーバーにすべてのマーク付き PDF ファイルを処理させるには、Windchill シェルで次のコマンドを起動します。
windchill com.ptc.wvs.server.util.livecycle.LiveCyclePDFConversionUtility
-process_marked-username=<サイトのユーザー名> -password=<サイトのパスワード>
マーク付き PDF ファイルの処理時には、メソッドサーバーログに変換の全体的な進捗状況を示すログメッセージが表示されます。変換に失敗した場合、Windchill システムの PDF ファイルの特定に必要なすべての情報が含まれたメッセージがメソッドサーバーログに表示されます。次に、PDF ファイルでページ修正ができずに失敗した変換のメソッドサーバーログの表示例を示します。
[Begin processing batch #1] - Size=10
Exception: ApplicationData=wt.content.ApplicationData:118012 (Cant_Modify_Set.pdf)
DerivedImage=wt.viewmarkup.DerivedImage:118010 (cant_modify)
Representable=wt.part.WTPart:118006 (0000000099, cant_modify, A.1)
Container=wt.pdmlink.PDMLinkProduct:84802 (ProductView Demo)

Caused by: javax.xml.ws.soap.SOAPFaultException: com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002:
Failed to execute the DDX - error messages provided.
Caused by: com.adobe.internal.pdfm.content.FormXObjectServiceException: PDFM_S06016:
Apply Watermark operation failed due to permissions on document "inDoc".
Caused by: com.adobe.internal.pdfm.util.PDFMPermissionException: PDFM_S00014: PAGE_MODIFY permission is required for this operation.;
「マーク付きを処理」操作は、変換を実行する Windchill シェルで Ctrl + C キーを押すことで中止できます。Ctrl + C で中止すると、変換の中止までに約 30 秒かかります。変換が中止された後、ユーティリティで時間内に処理された PDF ファイルの数と一般的な統計値を表示します。この情報は、増大したファイルサイズや、多数の PDF ファイルの処理にかかった時間などを知るために利用できます。次に、変換中止の際に表示される内容の例を示します。

*****************************************
Interrupting conversion - please wait
*****************************************
The LiveCycle PDF Conversion Utility has been interrupted. Conversions currently
executing have been interrupted and awaiting conversions have been aborted.


LiveCycle PDF Conversion has completed.
Total execution time: 1.248 minutes(s)
Average time to perform a single conversion: 14.762 second(s)
Number of PDFs successfully converted: 14
Number of failed conversions: 5
Number of timed out conversions: 0
Total file size of all PDFs before conversion: 2659.06 KB
Total file size of all PDFs after conversion: 3358.94 KB
Total file size increase: 699.88 KB
Percentage of total file size increase: %20.84
Average filesize increase per PDF: 49.99 KB

There are 18 remaining marked PDF file(s).