Expand my Community achievements bar.

SOLVED

How to clear clipboard in AEM6.1 Touch UI?

Avatar

Level 4

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!

1 Accepted Solution

Avatar

Correct answer by
Level 6

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

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

View solution in original post

4 Replies

Avatar

Level 10

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

Avatar

Correct answer by
Level 6

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

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

Avatar

Level 2

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

Avatar

Level 1

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.