UiPath Documentation
activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Actividades de productividad

Reemplazar el texto del documento

UiPath.Word.Activities.DocumentReplaceText

Descripción

Reemplaza todas las repeticiones de una string dentro de un documento con otra string.

Compatibilidad de proyectos

Windows: heredado | Windows | Multiplataforma

Multiplataforma, configuración de Windows

Nota:

Para proyectos multiplataforma, la actividad se puede encontrar con el nombre Reemplazar texto.

El cuerpo de la actividad

  • File - The full path of the Word file to be used. Select Plus on the right side of the field to toggle between using a local path or a Resource file.We recommend using relative folder paths to accommodate the file structure variations between Windows and Linux during project execution. For example, newFolder or otherFolder.
  • Search - The text to be replaced. Only String variables and strings are supported.
    Nota:

    Las cadenas deben entrecomillarse.

  • Replace - The text to replace with. Only String variables and strings are supported.

Propiedades

Salida
  • Found - A boolean variable that indicates whether the text to be replaced was found or not.

Windows - Configuración heredada

Propiedades

Entrada
  • Search - The text to be replaced. Only String variables and strings are supported.
    Nota:

    Las cadenas deben entrecomillarse.

  • Replace - The text to replace with. Only String variables and strings are supported.
Resultado
  • Found - A boolean variable that indicates whether the text to be replaced was found or not.
Archivo
  • FilePath - The full path of the Word file to be used. If the Word file to be used is located in the project folder, its relative path can be used. Only String variables and strings are supported.
Común
  • Nombre para mostrar: el nombre para mostrar de la actividad.
Otros
  • Privado : si se selecciona, los valores de variables y argumentos ya no se registran en el nivel Detallado.

Limitaciones conocidas

  • Esta actividad no admite la búsqueda de texto que contenga saltos de línea.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado