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

ハイパーリンクを作成する PDF と Make

PDF4me PDF - ハイパーリンクの作成は Make 特定のテキスト文字列を変換するモジュール PDF 座標や PDF エディター機能を使えば、商品名をショップページに、引用を情報源に、ポリシーのフレーズをFAQページにリンクさせることができます。さらに、モジュールを連結することで、1つのドキュメントに複数の異なるリンクを追加することも可能です。

このモジュールの機能

PDF4me、 PDF - ハイパーリンクを作成する テキスト文字列を PDF クリック可能なリンクの中に Make シナリオ。検索するテキスト、指し示す場所、検索するページを指定するだけで、モジュールが残りの処理を行います。座標も、手動注釈も、 PDF デスクトップ上でエディタを開く。

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

APIリクエストの認証​

毎 PDF4me モジュール Make 有効な 繋がり. 作成または選択して、 PDF4me API シナリオがハイパーリンクサービスを安全に呼び出せるようにするためのキー。

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

テキスト検索によるターゲティング、座標は不要

ほとんど PDF リンク APIs 正確なx/y座標を指定する必要はありません。このモジュールはテキストを自動的に検索し、クリック可能にしたい単語またはフレーズを入力するだけで、位置決めを自動的に処理します。

New Text オプションでラベルを置き換えます

離れる New Text 空欄のままで、元の検索テキストがリンクラベルとして表示されます。入力して読者に表示される内容を置き換えてください。生のテキストを変換するのに便利です。 URL または、製品コードを読みやすいアンカーテキストに変換する。

複数リンク用のチェーンモジュール

1 つのモジュールは 1 つのテキストをURL ペア。同じドキュメントに複数の異なるリンクを追加するには、複数の「ハイパーリンクの作成」モジュールを順番に接続します。各モジュールは前のモジュールの出力を受け取ります。

このモジュールは標準を書き込む PDF リンク注釈は、 PDF 32000-1:2008 仕様 (セクション 12.5.6.5、リンク注釈)に記載されている注釈タイプと同じ PDF 協会の仕様インデックスそのため、生成されたリンクはAcrobat、ブラウザ、モバイルで正しく開きます。 PDF カスタムプラグインを一切使用しないビューア。

PDF4me PDFを作成する - ハイパーリンクを作成するモジュールで、ファイル設定をDropbox - ファイルのダウンロード、検索テキストをWelcome、新規テキストを空、入力URLをhttps://tutorials.aspose.com/、ページ設定をすべてに表示します。

検索する正確なテキストを入力してください Searched Text目的地は Input URL、どのページを検索するか Pages。

パラメータ​

必須: Connection、 File name、 Document、 Searched Text、 そして Input URL。 New Text そして Pages 任意です。

パラメータ必須その機能例
ConnectionRequiredPDF4me API connection used to authenticate hyperlink creation requests.Your PDF4me connection
FileRequiredSource PDF. Choose Dropbox - Download a File for a direct Dropbox trigger, or Map to wire filename and binary data from a prior module.Dropbox - Download a File
File nameRequiredName of the PDF to process, including its extension. Map it from the file name returned by a previous module, such as a cloud storage download.1. File Name
DocumentRequiredContent (binary data) of the PDF to process. Map it from the file data returned by a previous module, such as a cloud storage download.1. Data
Searched TextRequiredThe exact text string in the PDF that will become a clickable hyperlink. The module searches the specified pages for this text and wraps every occurrence in a link annotation.Welcome
New TextOptionalOptional label that replaces what the reader sees over the link. Leave empty to keep the original searched text as the visible link label.Visit our site
Input URLRequiredThe destination URL the hyperlink points to. Readers are taken to this address when they click the linked text.https://tutorials.aspose.com/
PagesOptionalPages to search for the text. Accepts a single number, a comma-separated list (1,3,5), a range (2-4), or the word all. Page numbering starts at 1. Defaults to all.all

ハイパーリンクを追加するにはどうすればよいですか PDF で Make?​

  1. 追加 PDF4me → PDF - ハイパーリンクを作成する あなたのシナリオに当てはめて。
  2. 選択 Connection (またはクリック) 追加 あなたと一緒に作成する API 鍵)。
  3. セット File に Dropbox - ファイルをダウンロードする または 地図 前のモジュールから。
  4. で Searched Textクリック可能にしたいテキストを正確に入力します(例: Welcome または商品名)。
  5. 任意で入力 New Text 表示されるラベルを検索テキストとは異なるテキストにしたい場合。
  6. 宛先住所を貼り付けてください Input URL。
  7. セット Pages: タイプ all すべてのページに対して、または次のような特定のページを対象とする 1,3 または 2-4。
  8. 保存 そしてクリック 1回実行出力には以下が含まれます File Name そして Document: その PDF ハイパーリンクが適用されています。

出力​

PDF4me リクエストをバックグラウンドジョブとして処理し、 Make 次のモジュールを実行する前に、結果を待ちます。

分野タイプ内容物
File NameFile nameFile name of the output PDF with hyperlinks applied.
DocumentFile (binary data)Content (binary data) of the PDF with link annotations added. Map this into an upload, email, or further processing module.

ハイパーリンクの作成はいつ使用すべきですか?​

典型的な構成Common Make scenario patterns that use PDF - Create Hyperlinks to enrich documents automatically.
生成されたカタログに製品リンクを追加する
  1. スケジュールされたシナリオは、データベースから最新の製品リストを取得し、カタログを生成します。 PDF。
  2. イテレータは、リストから各製品名を順番に処理します。
  3. ハイパーリンクを作成する 製品ごとに1回実行され、 Searched Text = 製品名、 Input URL = 商品ページ URL。
  4. ループ処理後、カタログ内のすべての商品名は、それぞれのショップページへの有効なリンクになります。
  5. 完成したインタラクティブカタログはGoogleドライブにアップロードされ、営業チームにメールで送信されます。
レポートの引用文献にソースURLを追加する
  1. 月次報告書 PDF Googleドキュメントのテンプレートから生成されます。
  2. データストアには引用ラベルとその対応関係のリストが格納されています。 URLs。
  3. ハイパーリンクを作成する 引用ごとに一度実行され、各ラベルをクリック可能なソースリンクに変換します。
  4. 読者は、 PDF ブラウザで元のソースを開く。
  5. 強化されたレポートは以下に保存されます SharePoint そして関係者に配布された。
ポリシー文書の各セクションをFAQページにリンクする
  1. 人事部が新しいポリシーをアップロードしました PDF 監視対象のDropboxフォルダへ。
  2. ハイパーリンクを作成する すべてのページで「詳細情報」というフレーズを検索します。
  3. あらゆる出来事が人事部とのつながりとなる FAQ 社内イントラネット上のページ。
  4. 2つ目の連鎖モジュールは、「リクエストを送信する」というフレーズをチケットシステムへのリンクに変換します。
  5. 完成した PDF 人事文書ライブラリに保存され、全従業員にメールで送信されます。

よくある質問​

Does the module require coordinates to place the hyperlink?+
No. You provide the exact text string in Searched Text and the module handles positioning automatically. The PDF4me engine scans each targeted page, finds every occurrence of that string, and wraps it in a URI annotation: no x/y coordinates, bounding boxes, or pixel offsets needed. This approach remains reliable even when the same document is generated from different templates with slightly shifted content, because positioning is always derived fresh from the live text location. It also works correctly after content shifts caused by font changes or added paragraphs.
What does New Text do?+
New Text replaces the visible label that readers see over the clickable link. If the searched text is a raw product code like SKU-4892 and you enter Shop this product in New Text, readers see the friendlier label instead of the code. This is especially useful when the text in your PDF is a reference number or raw URL that is technically correct but not reader-friendly as a link label. Leave New Text empty and the original searched text remains the visible anchor: nothing changes in appearance except that the text becomes clickable. The New Text value does not affect which text the module searches for; Searched Text always controls matching.
What if the same text appears multiple times on a page?+
Every occurrence of the searched text on the targeted pages becomes a clickable link pointing to the same Input URL. For example, if Welcome appears in the header, the body, and a sidebar, all three instances become links in one module run. If you need different occurrences to point to different URLs, replace the text in your source so each instance is unique, or use separate chained modules with slightly different search phrases. Matching is case-sensitive, so Welcome and welcome are treated as distinct strings.
Can I add multiple different hyperlinks to the same PDF?+
Yes, by chaining modules in the same Make scenario. Map the Document output of the first Create Hyperlinks module directly into the Document input of a second module, each configured with its own Searched Text and Input URL. You can stack as many modules as needed: there is no Make-imposed limit on chaining. For a catalogue with many product names, use an iterator to loop over a data store and pass each name and URL through a single Create Hyperlinks module once per iteration. The result is a fully linked PDF built entirely within Make without opening a PDF editor.
Do the hyperlinks work in all PDF viewers?+
The module creates a standard PDF URI annotation as defined in the PDF specification, supported natively in Adobe Acrobat Reader, Adobe Acrobat, the built-in viewers on Windows (Microsoft Edge), macOS (Preview), iOS, and Android, and all major browsers including Chrome, Firefox, and Safari. When a reader clicks the annotated text, the default browser opens the destination URL. Very old proprietary viewers that pre-date the PDF 1.1 annotation standard may not recognise the annotation, but those are no longer in common use. The annotation is not affected by PDF compression or linearization applied by other modules in the same scenario.

実践的なヒント​

Matching is case-sensitive
Welcome and welcome are treated as different strings. Check the exact capitalization in your source PDF before setting Searched Text.
Every occurrence gets linked, not just the first
If the searched text appears three times on a page, all three become clickable to the same URL in one run. Make each occurrence unique in your source if you need different destinations.
One module, one text-to-URL pair
To add several different links to one document, chain multiple Create Hyperlinks modules, feeding Document from one into the Document input of the next.
Check page count first for long documents
Use Get Document Information before this module if you only want to target specific pages of a long PDF, so the Pages field lines up with the real page count.
New Text only changes the label, not the search
Searched Text always controls what gets matched. New Text is purely cosmetic, it never affects which occurrences become links.

チートシート​

分野価値
Searched TextExact text to make clickable
New TextOptional replacement label
Input URLDestination address
Pagesall, a number, 1,3, or 2-4
OutputFile Name + Document

関連アクション​

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

ヘルプが必要な場合​