Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

196
Views
¿Cómo crear un botón en Appian que copie un texto predefinido en el portapapeles?

Encontré un artículo en la comunidad de Appian que tiene más de dos años (consulte la función Copiar texto ) que establece que no es posible lograr lo que quiero:

¿Es posible configurar una función de la siguiente manera? Se muestra un botón junto a un campo de texto no editable. Al hacer clic en el botón, el texto debe copiarse en el portapapeles y el usuario puede pegarlo con un simple Ctrl+V (Windows)

Peter L. (Empleado de Appian) hace más de 2 años en respuesta a soujanya B

No conozco ninguna acción en Appian que pueda realizar que se copie al portapapeles que no sea el estándar CTRL + C. [...]

Todavía soy optimista de que podría haber una solución inteligente, ya que la funcionalidad demandada es una funcionalidad JS simple . Esa es también la razón por la que estoy preguntando aquí y no dentro de la Comunidad Apia.

 function myFunction() { /* Get the text field */ var copyText = document.getElementById("myInput"); /* Select the text field */ copyText.select(); copyText.setSelectionRange(0, 99999); /* For mobile devices */ /* Copy the text inside the text field */ navigator.clipboard.writeText(copyText.value); /* Alert the copied text */ alert("Copied the text: " + copyText.value); }
 <!-- The text field --> <input type="text" value="Hello World" id="myInput"> <!-- The button used to copy the text --> <button onclick="myFunction()">Copy text</button>

Otras lecturas:

  • Comunidad de Appian: llame a JavaScript en una interfaz de botón
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!