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

How to clear clipboard in AEM6.1 Touch UI?

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.
manoj_devapath
manoj_devapathAccepted solution
Level 5
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.

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.

Translate
Level 2
January 9, 2018

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

Translate
manoj_devapath
manoj_devapathAccepted solution
Level 5
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.

Translate
smacdonald2008
Level 10
November 15, 2017

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

Translate