Saltar al contenido principal

Crear hipervínculos en PDF con Make

PDF4me PDF - Crear hipervínculos es un Make módulo que convierte una cadena de texto específica en un PDF en un enlace clicable, sin coordenadas ni un PDF Editor. Úselo para vincular nombres de productos a páginas de tiendas, citas a fuentes o frases de políticas a una página de preguntas frecuentes, y luego encadene módulos para agregar varios enlaces diferentes a un mismo documento.

Lo que hace este módulo

PDF4me, PDF - Crear hipervínculos convierte cualquier cadena de texto en un PDF en un enlace clicable dentro de un Make escenario. Le dices qué texto buscar, a dónde debe apuntar y en qué páginas buscar, el módulo se encarga del resto. Sin coordenadas, sin anotaciones manuales, sin PDF Editor abierto en un escritorio.

Entradas de blog relacionadas
Aún no hay ninguna entrada de blog sobre esta función; estará disponible próximamente.
Mientras tanto, echa un vistazo al blog de PDF4me para encontrar tutoriales y flujos de trabajo para todas las plataformas.
Visita el blog

Autenticando su solicitud de API

Cada PDF4me módulo en Make requiere un válido Conexión. Crea o selecciona uno que contenga tu PDF4me API clave para que el escenario pueda llamar al servicio de hipervínculos de forma segura.

Datos importantes que no debes perderte

Segmentación mediante búsqueda de texto, sin necesidad de coordenadas.

Mayoría PDF enlace APIs Requiere que especifiques las coordenadas x/y exactas. Este módulo encuentra el texto por ti; escribe la palabra o frase que deseas que sea clicable y se encarga del posicionamiento automáticamente.

New Text Opcionalmente reemplaza la etiqueta

Dejar New Text vacío y el texto buscado original permanece visible como etiqueta de enlace. Rellénelo para reemplazar lo que ve el lector, útil para convertir un texto sin procesar URL o convertir un código de producto en texto de anclaje legible.

Módulos de cadena para múltiples enlaces

Un módulo maneja un texto a-URL Para agregar varios enlaces diferentes al mismo documento, conecte varios módulos Crear hipervínculos en secuencia; cada uno recibe la salida del anterior.

El módulo escribe un estándar PDF anotación de enlace según se define en el PDF Especificación 32000-1:2008 (Sección 12.5.6.5, Anotaciones de enlaces), el mismo tipo de anotación documentado en el PDF Índice de especificaciones de la asociaciónPor eso, los enlaces resultantes se abren correctamente en Acrobat, navegadores y dispositivos móviles. PDF visores sin ningún complemento personalizado.

Crear PDF4me PDF - Módulo Crear hipervínculos que muestra Archivo configurado en Dropbox - Descargar un archivo, Texto buscado como Bienvenido, Nuevo texto vacío, URL de entrada como https://tutorials.aspose.com/, y Páginas configuradas en todas

Introduzca el texto exacto que desea encontrar en Searched Text, el destino en Input URLy qué páginas buscar en Pages.

Parámetros

Requerido: Connection, Searched Text, y Input URL. New Text y Pages son opcionales.

ParámetroRequeridoLo que haceEjemplo
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

¿Cómo agrego hipervínculos a un PDF en Make¿

  1. Agregar PDF4mePDF - Crear hipervínculos a tu escenario.
  2. Seleccionar Connection (o haga clic Agregar para crear uno con tu API llave).
  3. Colocar File a Dropbox - Descargar un archivo o Mapa de un módulo anterior.
  4. En Searched Text, escriba el texto exacto que desea que sea clicable (por ejemplo, Welcome o el nombre de un producto).
  5. Opcionalmente, ingrese New Text Si desea que la etiqueta visible se lea de forma diferente al texto buscado.
  6. Pegue la dirección de destino en Input URL.
  7. Colocar Pages: tipo all para cada página, o páginas específicas como 1,3 o 2-4.
  8. Ahorrar y haga clic Correr una vez. La salida contiene Document Name y Document Data: el PDF con hipervínculos aplicados.

Producción

CampoTipoLo que 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.

¿Cuándo debo usar la función Crear hipervínculos?

Configuraciones típicasCommon Make scenario patterns that use PDF - Create Hyperlinks to enrich documents automatically.
Agregue enlaces de productos a un catálogo generado.
  1. Un escenario programado obtiene la lista de productos más reciente de su base de datos y genera un catálogo. PDF.
  2. Un iterador recorre cada nombre de producto de la lista.
  3. Crear hipervínculos Se ejecuta una vez por producto, Searched Text = nombre del producto, Input URL = página del producto URL.
  4. Tras completar el bucle, cada nombre de producto del catálogo se convierte en un enlace directo a su página de tienda.
  5. El catálogo interactivo finalizado se sube a Google Drive y se envía por correo electrónico al equipo de ventas.
Enriquezca las citas del informe con URL de origen.
  1. Un informe mensual PDF Se genera a partir de una plantilla de Google Docs.
  2. Un almacén de datos contiene una lista de etiquetas de citas y sus coincidencias. URLs.
  3. Crear hipervínculos Se ejecuta una vez por cita, convirtiendo cada etiqueta en un enlace de origen en el que se puede hacer clic.
  4. Los lectores pueden hacer clic en cualquier cita en el PDF para abrir la fuente original en su navegador.
  5. El informe enriquecido se almacena en SharePoint y se distribuyó a las partes interesadas.
Enlace las secciones del documento de política a una página de preguntas frecuentes.
  1. Recursos Humanos sube una nueva política PDF a una carpeta de Dropbox vigilada.
  2. Crear hipervínculos Busca la frase "Más información" en todas las páginas.
  3. Cada suceso se convierte en un vínculo con el RRHH FAQ página en la intranet de la empresa.
  4. Un segundo módulo encadenado convierte la frase "Enviar una solicitud" en un enlace al sistema de gestión de incidencias.
  5. El terminado PDF Se guarda en la biblioteca de documentos de RRHH y se envía por correo electrónico a todo el personal.

Preguntas frecuentes

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.

Consejos prácticos

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.

Hoja de trucos

CampoValor
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

Acciones relacionadas

La misma tarea en otras plataformas

Obtén ayuda