Passa al contenuto principale

Crea collegamenti ipertestuali in PDF con Make

PDF4me PDF - Creare collegamenti ipertestuali è un Make modulo che trasforma una specifica stringa di testo in un PDF in un link cliccabile, senza coordinate o un PDF Editor. Usalo per collegare i nomi dei prodotti alle pagine del negozio, le citazioni alle fonti o le frasi relative alle politiche aziendali a una pagina di domande frequenti (FAQ), quindi concatena i moduli per aggiungere diversi collegamenti a un unico documento.

Cosa fa questo modulo

PDF4me, PDF - Creare collegamenti ipertestuali trasforma qualsiasi stringa di testo in un PDF in un link cliccabile all'interno di un Make scenario. Gli dici quale testo trovare, dove deve puntare e quali pagine cercare, il modulo gestisce il resto. Nessuna coordinata, nessuna annotazione manuale, nessuna PDF editor aperto su un desktop.

Articoli correlati del blog
Non ci sono ancora post sul blog dedicati a questa funzionalità — in arrivo a breve.
Nel frattempo, dai un'occhiata al blog di PDF4me per trovare tutorial e procedure operative su tutte le piattaforme.
Visita il blog

Autenticazione della richiesta API

Ogni PDF4me modulo in Make richiede un valido Connessione. Crea o selezionane uno che contenga il tuo PDF4me API chiave affinché lo scenario possa richiamare il servizio di collegamento ipertestuale in modo sicuro.

Informazioni importanti da non perdere

Ricerca testuale mirata, non sono necessarie coordinate

Maggior parte PDF collegamento APIs È necessario specificare le coordinate x/y esatte. Questo modulo trova il testo per te: digita la parola o la frase che desideri rendere cliccabile e il posizionamento verrà gestito automaticamente.

New Text sostituisce facoltativamente l'etichetta

Partire New Text vuoto e il testo originale cercato rimane visibile come etichetta del link. Riempilo per sostituire ciò che vede il lettore, utile per trasformare un testo grezzo URL o un codice prodotto in un testo di ancoraggio leggibile.

Moduli a catena per più collegamenti

Un modulo gestisce un testo-URL coppia. Per aggiungere diversi collegamenti allo stesso documento, collega più moduli Crea collegamenti ipertestuali in sequenza; ognuno riceve l'output del precedente.

Il modulo scrive uno standard PDF annotazione del collegamento come definita nel PDF Specifiche 32000-1:2008 (Sezione 12.5.6.5, Annotazioni dei collegamenti), lo stesso tipo di annotazione documentato nel PDF Indice delle specifiche dell'associazioneEcco perché i link risultanti si aprono correttamente in Acrobat, nei browser e sui dispositivi mobili. PDF visualizzatori senza alcun plugin personalizzato.

Crea PDF4me PDF - Modulo Crea collegamenti ipertestuali che mostra File impostato su Dropbox - Scarica un file, Testo cercato come Benvenuto, Nuovo testo vuoto, URL di input come https://tutorials.aspose.com/ e Pagine impostate su tutte

Inserisci il testo esatto da trovare in Searched Text, la destinazione in Input URLe quali pagine cercare Pages.

Parametri

Necessario: Connection, Searched Text, E Input URL. New Text E Pages sono facoltativi.

ParametroNecessarioCosa faEsempio
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

Come aggiungere collegamenti ipertestuali a un PDF In Make?

  1. Aggiungere PDF4mePDF - Creare collegamenti ipertestuali al tuo scenario.
  2. Seleziona Connection (oppure fai clic) Aggiungere per crearne uno con il tuo API chiave).
  3. Impostato File A Dropbox - Scarica un file O Mappa da un modulo precedente.
  4. In Searched Text, digita il testo esatto che vuoi rendere cliccabile (ad esempio Welcome o il nome di un prodotto).
  5. Inserire facoltativamente New Text se si desidera che l'etichetta visibile abbia un testo diverso da quello cercato.
  6. Incolla l'indirizzo di destinazione in Input URL.
  7. Impostato Pages: tipo all per ogni pagina, oppure indirizzare pagine specifiche come 1,3 O 2-4.
  8. Salva e clicca Eseguire una voltaL'output contiene Document Name E Document Data: IL PDF con l'aggiunta di collegamenti ipertestuali.

Produzione

CampoTipoCosa contiene
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.

Quando dovrei creare collegamenti ipertestuali?

Configurazioni tipicheCommon Make scenario patterns that use PDF - Create Hyperlinks to enrich documents automatically.
Aggiungi i link dei prodotti a un catalogo generato
  1. Uno scenario pianificato recupera l'elenco dei prodotti più recente dal tuo database e genera un catalogo PDF.
  2. Un iteratore scorre ogni nome di prodotto presente nell'elenco.
  3. Creare collegamenti ipertestuali viene eseguita una volta per prodotto, Searched Text = nome del prodotto, Input URL = pagina del prodotto URL.
  4. Dopo il ciclo, ogni nome di prodotto nel catalogo diventa un link attivo alla sua pagina di acquisto.
  5. Il catalogo interattivo completato viene caricato su Google Drive e inviato via email al team di vendita.
Arricchisci le citazioni del report con gli URL delle fonti
  1. Un rapporto mensile PDF viene generato da un modello di Google Docs.
  2. Un archivio dati contiene un elenco di etichette di citazione e le relative corrispondenze URLs.
  3. Creare collegamenti ipertestuali Viene eseguito una volta per ogni citazione, trasformando ogni etichetta in un collegamento cliccabile alla fonte.
  4. I lettori possono cliccare su qualsiasi citazione nel PDF per aprire la fonte originale nel loro browser.
  5. Il report arricchito è memorizzato in SharePoint e distribuiti alle parti interessate.
Collega le sezioni del documento di policy a una pagina di domande frequenti (FAQ).
  1. HR carica una nuova politica PDF in una cartella Dropbox monitorata.
  2. Creare collegamenti ipertestuali cerca la frase "Ulteriori informazioni" su tutte le pagine.
  3. Ogni evento diventa un collegamento con le Risorse Umane FAQ pagina sulla intranet aziendale.
  4. Un secondo modulo concatenato converte la frase "Invia una richiesta" in un link al sistema di ticketing.
  5. Il finito PDF viene salvato nella libreria documenti delle risorse umane e inviato via e-mail a tutto il personale.

Domande frequenti

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.

Consigli pratici

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.

Foglio riassuntivo

CampoValore
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

Azioni correlate

Stessa attività su altre piattaforme

Richiedi assistenza