メインコンテンツへスキップ

Wordからメタデータを抽出する Make

メタデータの抽出 は Make モジュール PDF4me Word文書の組み込みプロパティとカスタムプロパティ、タイトル、作成者、件名、キーワード、作成日、更新日を読み取り、構造化された形式で返します。 JSONドキュメントの目録作成、コンプライアンス監査証跡の作成、または各ファイルを手動で開くことなくコンテンツ管理システムにデータを入力する場合に使用できます。

このモジュールの機能

PDF4me Wordからメタデータを抽出する Word ファイルから組み込みプロパティ (タイトル、作成者、件名、キーワード、会社、作成日、更新日、ページ数、単語数) およびカスタムドキュメントプロパティを読み取り、構造化された形式で返します。 JSON 内部のオブジェクト Make シナリオ。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

認証方法 Make シナリオ?​

毎 PDF4me モジュール Make 有効な 繋がり. 作成または選択して、 PDF4me API シナリオがメタデータ抽出要求を安全に認証できるようにするためのキー。

見逃してはならない重要な事実​

組み込み型とカスタム型の両方のプロパティが含まれます
タイトル、著者、件名などの標準フィールドは、組織が追加したカスタムドキュメントプロパティとともにすべて1つにまとめられます。 JSON 応答。
.doc および .docx ファイルに対応しています。
ファイル名には正しい拡張子が付いている必要があります。そうすることで、モジュールは従来の.doc形式または最新の.docx形式のいずれからもプロパティを正しく読み取ることができます。
空のプロパティはエラーではなく空として返されます
入力されていないドキュメントプロパティ(未使用の会社フィールドなど)は、モジュールのエラーではなく、空の文字列として返されます。
PDF4meのWord文書用メタデータ抽出モジュールを作成する

ファイル名とドキュメントをマッピングし、シナリオを実行して組み込みおよびカスタムの Word ドキュメント プロパティを取得します。 JSON。

パラメータ​

必須: 接続情報、ファイル名、およびドキュメントのすべてを指定する必要があります。

パラメータ必須その機能例
ConnectionRequiredPDF4me API connection. Click Add and paste your API key if connecting for the first time.My PDF4me connection
File NameRequiredFilename of the Word document with proper extension (.doc or .docx), used for processing identification.document.docx
DocumentRequiredWord file buffer mapped from a preceding module such as Dropbox, Google Drive, or SharePoint.[Buffer from Get File]

出力フィールド​

分野タイプ内容物
MetadataObjectContainer object with all extracted document properties, both built-in and custom.
TitleStringThe document title property.
AuthorStringThe document author property.
SubjectStringThe document subject property.
KeywordsStringThe document keywords/tags property.
CreatedDateStringThe document creation timestamp.
ModifiedDateStringThe document last-modified timestamp.
PageCountNumberTotal number of pages in the document.
WordCountNumberTotal word count in the document.
SuccessBooleanTrue if metadata extraction completed successfully; false if it failed.

メタデータ抽出の設定方法 Make?​

  1. 追加 PDF4me → メタデータの抽出 あなたの Make シナリオ。
  2. 選択 繋がり (またはクリック) 追加 あなたと一緒に作成する PDF4me API 鍵)。
  3. 地図 ファイル名 拡張子付きのファイル名(.doc または .docx)
  4. 地図 書類 ソースモジュールからのバイナリコンテンツ: Dropbox、Google Drive、または SharePoint。
  5. シナリオを実行します。 Metadata オブジェクトが出力に表示され、カタログ、コンプライアンスログ、またはCMSにマッピングする準備が整います。

典型的な構成​

ワークフローの例Common Make scenario patterns using Extract Metadata.
文書ライブラリの目録作成
  1. Dropboxの監視フォルダのトリガーは、新しいWord文書がライブラリにアップロードされたときに作動します。
  2. メタデータ抽出機能は、ファイルからタイトル、著者、キーワード、日付を読み取ります。
  3. Airtableの「レコードの作成」ステップでは、抽出されたプロパティを使用してドキュメントにインデックスを作成し、検索やフィルタリングに利用できるようにします。
  4. タグは、ドキュメントカタログのキーワードプロパティから自動的に生成されます。
コンプライアンス監査証跡
  1. スケジュールされたトリガーは、コンプライアンスフォルダ内のすべての管理対象文書を一覧表示します。
  2. イテレータは各ファイルをループ処理し、ファイルの取得→メタデータの抽出を実行します。
  3. フィルタは、 ModifiedDate 想定される審査期間外に該当する。
  4. フラグが立てられた文書とそのメタデータは、コンプライアンス監査レポートに記録されます。
CMS アップロードされたドキュメントからの人口
  1. ドキュメントは、 Make。
  2. メタデータ抽出機能は、タイトル、著者、主題、キーワードを読み取ります。
  3. 1 HTTP モジュール POST抽出された特性を CMS API 新しいコンテンツレコードを作成する。
  4. 元の文書は、 CMS 記録が作成されたことが確認されました。

実践的なヒント​

File Name extension must match the real format
A .docx file mapped with a .doc extension (or vice versa) can cause the module to misread properties. Map the source filename directly rather than hardcoding an extension.
Empty properties are normal, not errors
Documents created without filling in Title, Subject, or Company return those fields as empty strings. Handle empty values in downstream Filters rather than assuming every field is populated.
CreatedDate reflects the file, not the content
CreatedDate and ModifiedDate come from the document's file-level properties, they can differ from dates mentioned inside the document body itself.
Custom properties depend on the template
Only documents built from templates with custom document properties will return them. A plain Word file created without a template typically has none.
This module reads properties, it does not edit them
Extract Metadata is read-only. To change a document's title or author property, use a Word editing module instead.
Pair with an Iterator for folder-wide audits
To audit an entire folder of documents, loop the module inside a Make Iterator rather than calling it once per manually selected file.

チートシート​

分野価値
ModuleExtract Metadata (Word)
ConnectionPDF4me API key
Supported extensions.doc, .docx
Key output fieldsMetadata.Title, Author, Subject, Keywords, CreatedDate, ModifiedDate
Empty property behaviorReturns empty string, not an error
Custom propertiesIncluded when present in the source template

よくある質問​

What document properties does Extract Metadata return?+
It returns built-in properties such as title, author, subject, keywords, company, creation date, modification date, page count, and word count, plus any custom document properties defined in the file template.
Does it work with both .doc and .docx files?+
Yes. Map the correct extension in File Name and the module reads properties from either the legacy .doc binary format or the modern .docx XML-based format.
Can I use this for compliance audit trails?+
Yes. Creation date, modification date, and author fields are commonly logged to a compliance database to evidence when a controlled document was created and last changed. See <a href="https://learn.microsoft.com/en-us/office/vba/api/word.document.builtindocumentproperties" target="_blank" rel="noopener noreferrer">Microsoft's Word document properties reference</a> for the full built-in property set this module reads from.
What happens if a property was never set in the document?+
Properties that were never filled in, such as an empty Subject or Company field, return as empty strings rather than causing an error, so downstream logic should handle blank values gracefully.

業界におけるユースケースとアプリケーション​

  • 文書監査証跡コンプライアンス監査の証拠として、変更日と変更者を抽出する
  • バージョン管理追跡作成日時と変更日時を使用して文書のバージョンを監視する
  • 著者認証文書作成者が承認された担当者リストと一致することを検証する
  • 保持ポリシーの実施: 保存決定のために、作成日を保存スケジュールと照合する
  • 文書管理ISO/品質管理準拠のための文書プロパティを追跡する

関連アクション​

他のプラットフォームでの同じタスク​

ヘルプが必要な場合​