# CopyToClipboard function is not working for end user.

**URL:** <https://forums.pega.com/t/copytoclipboard-function-is-not-working-for-end-user/3936>\
**Category:** Blueprint and App Design\
**Tags:** low-code-app-development, 8-7-4\
**Created:** [February 9, 2023, 7:44am UTC](https://forums.pega.com/t/copytoclipboard-function-is-not-working-for-end-user/3936 "2023-02-09T07:44:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arman\_Khan1](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/arman_khan1/32/15472_2.png) [@Arman\_Khan1](https://forums.pega.com/u/Arman_Khan1)\
**Post date:** [February 9, 2023, 7:44am UTC](https://forums.pega.com/t/copytoclipboard-function-is-not-working-for-end-user/3936/1 "2023-02-09T07:44:10Z")

</div>

“_pega.ui.composer.formfactor.copyToClipBoard_” is a pega function. It is not working for the end user but its working fine when we launch the end portal from the dev env.

 ![Copy text.png](https://pega1.discourse-cdn.com/pega/original/2X/e/e51784b85e28d2a28d1d869be26e2fec58f2a06a.png)

---

<div class="post-metadata">

**Author:** ![RamandeepR](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/ramandeepr/32/16868_2.png) [@RamandeepR](https://forums.pega.com/u/RamandeepR)\
**Post date:** [February 9, 2023, 7:47am UTC](https://forums.pega.com/t/copytoclipboard-function-is-not-working-for-end-user/3936/2 "2023-02-09T07:47:41Z")

</div>

@MohammadArmanK  
Maybe it is an access issue have you seen what kind of access or privelage are diffrent for your end user. Maybe look in to that.

---

<div class="post-metadata">

**Author:** ![pardeep2](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@pardeep2](https://forums.pega.com/u/pardeep2)\
**Post date:** [February 9, 2023, 11:56am UTC](https://forums.pega.com/t/copytoclipboard-function-is-not-working-for-end-user/3936/3 "2023-02-09T11:56:00Z")

</div>

@MohammadArmanK I think, it’s better to take a step back and re-think why we need to call this script. We have other means to send/copy the data to the clipboard.

---

<div class="post-metadata">

**Author:** ![RamandeepR](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/ramandeepr/32/16868_2.png) [@RamandeepR](https://forums.pega.com/u/RamandeepR)\
**Post date:** [February 23, 2023, 6:41am UTC](https://forums.pega.com/t/copytoclipboard-function-is-not-working-for-end-user/3936/4 "2023-02-23T06:41:46Z")

</div>

[@MohammadArmanK](https://support.pega.com/users/MohammadArmanK) added pxTestID privelage to my operator and it was working fine then.
