I am trying to achieve a similar thing, trying to add an element in the ContextMenu when clicking on a file to copy the public URL of the element to the clipboard. I succeeded in generating my URL, but can't copy it to the Clipboard using Clipboard.js. To create public links of URL, I recommend you look at the FileUltimate instance contextMenuSelection and navigationSelection (and the .data) properties. If you don't achieve what you want, ask me, I will edit my code to put it here.