Zum Hauptinhalt springen

Erstellen Sie Hyperlinks in PDF mit Make

PDF4me PDF - Hyperlinks erstellen ist ein Make Modul, das eine bestimmte Textzeichenfolge in eine umwandelt PDF in einen anklickbaren Link, ohne Koordinaten oder PDF Mit diesem Editor können Sie Produktnamen mit Shopseiten, Quellenangaben oder Richtlinienformulierungen mit einer FAQ-Seite verknüpfen und anschließend Module verketten, um mehrere verschiedene Links zu einem Dokument hinzuzufügen.

Was dieses Modul bewirkt

PDF4me, PDF - Hyperlinks erstellen wandelt jede Textzeichenfolge in eine PDF in einen anklickbaren Link innerhalb eines Make Das ist ganz einfach: Sie geben an, welcher Text gefunden werden soll, wohin die Suche führen soll und welche Seiten durchsucht werden sollen – den Rest erledigt das Modul. Keine Koordinaten, keine manuellen Anmerkungen, kein … PDF Der Editor ist auf einem Desktop geöffnet.

Verwandte Blog-Beiträge
Zu dieser Funktion gibt es noch keinen Blogbeitrag – folgt in Kürze.
Schauen Sie sich in der Zwischenzeit im PDF4me-Blog Tutorials und Arbeitsabläufe für alle Plattformen an.
Besuchen Sie den Blog

Authentifizierung Ihrer API-Anfrage

Jeder PDF4me Modul in Make erfordert eine gültige VerbindungErstellen oder wählen Sie einen Eintrag aus, der Ihre Daten enthält. PDF4me API Schlüssel, damit das Szenario den Hyperlink-Dienst sicher aufrufen kann.

Wichtige Fakten, die Sie nicht verpassen sollten

Textbasierte Zielgruppenansprache, keine Koordinaten erforderlich

Am meisten PDF Link APIs Sie müssen die genauen x/y-Koordinaten angeben. Dieses Modul findet den Text für Sie; geben Sie einfach das Wort oder die Phrase ein, die anklickbar sein soll, und die Positionierung erfolgt automatisch.

New Text Ersetzt optional das Etikett

Verlassen New Text Wenn Sie das Feld leeren, bleibt der ursprüngliche Suchtext als Linkbeschriftung sichtbar. Füllen Sie es aus, um den angezeigten Text zu ersetzen. Dies ist nützlich, um einen Rohdaten-Eintrag zu erstellen. URL oder einen Produktcode in lesbaren Ankertext umwandeln.

Kettenmodule für mehrere Verbindungen

Ein Modul verarbeitet eine Text-zu-URL Paar. Um mehrere verschiedene Links zum selben Dokument hinzuzufügen, verbinden Sie mehrere Module zum Erstellen von Hyperlinks nacheinander; jedes Modul erhält die Ausgabe des vorherigen.

Das Modul schreibt einen Standard PDF Link-Annotation, wie sie in der PDF Spezifikation 32000-1:2008 (Abschnitt 12.5.6.5, Link-Anmerkungen), der gleiche Anmerkungstyp, der in der PDF Spezifikationsindex des VerbandesDeshalb lassen sich die erstellten Links in Acrobat, Browsern und auf Mobilgeräten korrekt öffnen. PDF Viewer ohne benutzerdefiniertes Plugin.

PDF4me-PDF erstellen – Modul „Hyperlinks erstellen“ mit der Einstellung „Datei auf Dropbox eingestellt – Datei herunterladen“, Suchtext „Willkommen“, „Neuer Text leer“, Eingabe-URL „https://tutorials.aspose.com/“ und „Seiten auf alle“ eingestellt

Geben Sie den genauen Text ein, der gesucht werden soll. Searched Text, das Reiseziel in Input URLund auf welchen Seiten gesucht werden soll PagesDie

Parameter

Erforderlich: Connection, Searched Text, Und Input URLDie New Text Und Pages sind optional.

ParameterErforderlichWas es tutBeispiel
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
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. Defaults to all if left empty.all
  1. Hinzufügen PDF4mePDF - Hyperlinks erstellen zu Ihrem Szenario.
  2. Wählen Connection (oder klicken Sie hier) Hinzufügen um einen mit Ihrem API Schlüssel).
  3. Satz File Zu Dropbox – Datei herunterladen oder Karte aus einem vorherigen Modul.
  4. In Searched TextGeben Sie den genauen Text ein, den Sie anklickbar machen möchten (z. B. Welcome oder ein Produktname).
  5. Optionale Eingabe New Text Wenn Sie möchten, dass die sichtbare Beschriftung anders lautet als der Suchtext.
  6. Fügen Sie die Zieladresse ein in Input URLDie
  7. Satz Pages: Typ all für jede Seite oder gezielt bestimmte Seiten ansprechen wie 1,3 oder 2-4Die
  8. Speichern und klicken Einmal ausführenDie Ausgabe enthält Document Name Und Document Data: Die PDF mit angewendeten Hyperlinks.

Ausgabe

FeldTypWas es enthält
Document NameStringFilename of the output PDF with hyperlinks applied.
Document DataBufferBinary content of the PDF with link annotations added. Map this into an upload, email, or further processing module.
Typische KonfigurationenCommon Make scenario patterns that use PDF - Create Hyperlinks to enrich documents automatically.
Fügen Sie einem generierten Katalog Produktlinks hinzu.
  1. Ein geplantes Szenario ruft die aktuelle Produktliste aus Ihrer Datenbank ab und generiert einen Katalog. PDFDie
  2. Ein Iterator durchläuft jeden Produktnamen der Liste.
  3. Hyperlinks erstellen Wird einmal pro Produkt ausgeführt. Searched Text = Produktname, Input URL = Produktseite URLDie
  4. Nach der Schleife ist jeder Produktname im Katalog ein direkter Link zur jeweiligen Shopseite.
  5. Der fertige interaktive Katalog wird auf Google Drive hochgeladen und per E-Mail an das Vertriebsteam gesendet.
Berichtszitate mit Quell-URLs anreichern
  1. Ein monatlicher Bericht PDF wird aus einer Google Docs-Vorlage generiert.
  2. Ein Datenspeicher enthält eine Liste von Zitationsbezeichnungen und ihren entsprechenden Zuordnungen. URLsDie
  3. Hyperlinks erstellen Wird einmal pro Zitat ausgeführt und wandelt jedes Label in einen anklickbaren Quelllink um.
  4. Leser können auf jedes Zitat in der PDF um die Originalquelle im Browser zu öffnen.
  5. Der angereicherte Bericht wird gespeichert in SharePoint und an die Beteiligten verteilt.
Verlinken Sie Abschnitte des Richtliniendokuments mit einer FAQ-Seite
  1. Die Personalabteilung lädt eine neue Richtlinie hoch PDF in einen überwachten Dropbox-Ordner.
  2. Hyperlinks erstellen sucht auf allen Seiten nach dem Ausdruck „Weitere Informationen“.
  3. Jedes Ereignis wird zu einer Verbindung mit der Personalabteilung. FAQ Seite im Firmenintranet.
  4. Ein zweites, nachgeschaltetes Modul wandelt den Ausdruck „Anfrage einreichen“ in einen Link zum Ticketsystem um.
  5. Das fertige PDF wird in der HR-Dokumentenbibliothek gespeichert und per E-Mail an alle Mitarbeiter versendet.

Häufig gestellte Fragen

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 Data output of the first Create Hyperlinks module directly into the File 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.

Praktische Tipps

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 Data from one into the File 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.

Spickzettel

FeldWert
Searched TextExact text to make clickable
New TextOptional replacement label
Input URLDestination address
Pagesall, a number, 1,3, or 2-4
OutputDocument Name + Document Data

Verwandte Aktionen

Dieselbe Aufgabe auf anderen Plattformen

Hilfe erhalten