Question

Provide clipboard to end user

Hello everyone!

I need to implement a button in one of the section in order to show popup window with Clipboard.

I tried to use pzClipboard harness from Pega-Clipboard class, but it does not contain current thread for user.

Any ideas?

**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.

Correct Answer
December 28, 2017 - 3:37am

I found a workaround: to provide general clipboard to an end user through a button with Harness action (see in attachments)

Comments

Keep up to date on this post and subscribe to comments

November 25, 2017 - 8:34am

Hi,
There are privileges such as clipboardViewer & clipboardViewerUpdate which needs to be added to the user login.
You can also check the below link.  I think it should help you out.

https://pdn.pega.com/how-provide-clipboard-viewer-system-administrator-or-business-user

Regards,
Rachit

December 11, 2017 - 3:47am
Response to Rachit_Agarwal

Thanks for the suggestion.

But I need more general approach. Let's say, I need in manager's dashboard the button Clipboard with an ability to provide specific work object id for it.

December 11, 2017 - 4:34am
Response to vaspoz

Hi, 

So when I click on clipboard in designer studio, it is calling pzGetClipboardPages which again call various other activities that are FINAL. In these activities, some properties are set such as pyCurrentThread which cannot be set from outside. I am not sure if can set it and open the work object directly into the clipboard.

Regards,

Rachit

December 28, 2017 - 3:37am

I found a workaround: to provide general clipboard to an end user through a button with Harness action (see in attachments)

December 13, 2018 - 10:19am
Response to vaspoz

Hello,

 

It does not work for me, a clipboard pop up opens but it is empty ..

Maybe because of the thread 

December 13, 2018 - 10:35am
Response to AdelA815

Post a screenshot, please

December 13, 2018 - 12:03pm
Response to vaspoz

It is ok, it works. I had another issue (acces role) so my user did not have acces to clipboard content, but I have fixed it