Question
Set property in clipboard using javascript without activity
Hi,
Is there any way to set a property in clipboard using java script without using activity? I'm using Pega 6.2 version.
I have tried the below code to set the property but it's not working
<script>
var setProp=100;
{tools.getPrimaryPage().putString("ClipboardProperty",setProp)}
</script>
Any help would be appreciate. Many thanks in advance.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hi Arun,
You can use the following line of java code in javascript to set the value to clipboard
<%tools.findPage("pyWorkPage").getProperty("name").setValue("testing"); %>