How to clear clipboard in AEM6.1 Touch UI? | Community
Skip to main content
New Participant
November 15, 2017
Solved

How to clear clipboard in AEM6.1 Touch UI?

  • November 15, 2017
  • 4 replies
  • 3082 views

Hi All,

We are using AEM 6.1 in Touch UI and faced with issue that copied component into clipboard has no expiration (Stored in Local Storage).

Is there a way to clean clipboard via UI (Without manually clearing local storage)?

Thank you in advance!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by manoj_devapath

We have an option to clear clipboard when component is copied in classic UI.

Never saw an option in Touch UI. This looks interesting.

4 replies

New Participant
June 21, 2024

I just came across this issue myself and needed a solution:

 

There is a javascript API you can access.

 

 

Granite.author.clipboard.clear()

 

 


If you create a browser bookmark and paste in this script in place of the URL it will clear the TouchUI clipboard when clicked.

 

javascript:(function()%7BGranite.author.clipboard.clear()%3B%7D)()

 

replace &colon with a normal colon.  It has been converted for forum safety.

New Participant
January 9, 2018

Yes I am also facing this issue in touch UI. Do we have option to check clipboard content?

manoj_devapath
manoj_devapathAccepted solution
New Participant
November 15, 2017

We have an option to clear clipboard when component is copied in classic UI.

Never saw an option in Touch UI. This looks interesting.

smacdonald2008
New Participant
November 15, 2017

Never heard of this issue. Lets see if other ppl have seen this.