Take a workflow variable and copy it to the user's clipboard

I'm looking for the means to have a workflow take a variable and copy it to the user's clipboard. Is this possible?
Cheers,
Mark
SharePoint 2013 Online
Learning SharePoint

Hi Mark,
From your description, you have used workflow to copy the URL into a column.
Then I recommend to use JSLINK to add a button to the list view and copy the URL from the column to the clipboard when clicking the button.
Here is the code for the js file and please use it in Internet Explorer(the code only works in IE):
(function () {
var overrideCtx = {};
overrideCtx.Templates = {};
overrideCtx.Templates.Fields = {
'URLColumn': { 'View' : CopyButton }//change the column to the internal name of the column which you copy the URL to.
SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);
function CopyButton(ctx){
var value =ctx.CurrentItem["URLColumn"]
var html="";
if(value!="")
{var html= "<div><span id='copytext'>"+value+"</span><button type='button' onclick='copy();'>Copy</button></div>";
return html;
function copy(ctx){
if (window.clipboardData && clipboardData.setData)
var s=document.getElementById("copytext").innerText;
clipboardData.setData("Text", s);
After writing the js file, you need to upload the file to SharePoint and then refer to it in the list view web part.
http://www.learningsharepoint.com/2012/08/03/sharepoint-2013-using-js-link-to-add-javascript-to-listviewdataview-webpart/
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • I'm trying to install Adobe PS CS3 for my boss on an other computer. I put the Program on a hard disc and copied it to the other computer now it won't open and says it needs the license. What can I do to make it work on this  computer?

    I'm trying to install Adobe PS CS3 for my boss on an other computer. I put the Program on a hard disc and copied it to the other computer now it won't open and says it needs the license. What can I do to make it work on this  computer?

    Copying the program over to a new machine will not work.   Install it using installation files and activate it using the serial number assigned to the license.
    CS3 - http://helpx.adobe.com/creative-suite/kb/cs3-product-downloads.html

  • I bought a mac air retina to replace a mac pro. How can I get all files of the back up and copy them to the new mac?

    I bought a mac air retina to replace a mac pro. How can I get all files of the back up and copy them to the new mac?

    Mail window may be in the Full Screen mode.
    Move the mouse pointer to the top right corner of the Mail window and hold it there.
    Menu bar should drop down and click the blue double arrow icon.
    Full Screen toggle shortcut:  control + command + F

  • How do I stop (permanently) automatic downloads of specific items - in particular, movies that I have downloaded on another pc and copied these to the computer I am now using?

    How do I stop (permanently) automatic downloads of specific items - in particular, movies that I have downloaded on another pc and copied these to the computer I am now using?

    Hi michael emerald,
    Welcome to the Apple Support Communities!
    It sounds like you would like to download your purchased content directly to your iPad and not have to go through iTunes to sync it. You can download individual purchases directly from the iPad using the Purchased section. Please use the attached article as a reference. 
    Download past purchases - Apple Support
    Have a great day,
    Joe

  • XML Publisher, define variable and use out side the group

    Hi
    Is there any way that I can define a variable in the group and move XML data like line amount into that variable and use into outside the group.
    Regards
    ASIM

    I figured it out
    in your select if you want to group your output by say Organization_id change your select in your burst file to the following
    <xapi:request select="/PAYSLIP_REPORT/PAYSLIP/EMPLOYEE_DETAILS/ORGANIZATION_ID">

  • When i start firefox it takes about 30 sec. and he is stopping the working of my mcafee? it started after i update to the 10 version!

    when i start firefox it takes about 30 sec. and he is stopping the working of my mcafee? its started after i update to the 10 version!

    Thanks for the feedback. You can also try to inform [https://community.mcafee.com/index.jspa McAfee].
    Firefox has a add-ons page to temporarily or permanently disable add-ons for checking: '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''.

  • How to show the First and Last name of the user instead of user name

    Gurus,
    We have the full email id of the user as the portal user name. Right now we are using the "Item Attributes - Current User" to show the user name. We don't want to show this anymore. We would like to show the First and Last name of the user on the Portal page. How can i do this. Please post a reply if you have some idea about it.
    Thanks
    Raj
    ---------

    I believe this is possible using the security APIs. See http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/PLSQL/DOC/PLDOC_9026/INDEX.HTML and look for person_info (Returns user information, given a user name)
    under wwsec_api
    Suggest posting any follow-up questions to the Security forum - http://forums.oracle.com/forums/forum.jsp?forum=6

  • What is the best antivirus software for a Macbook Pro...I recently received a message from Google that someone made an attempt to hack into my mail account so I needed to change my PW and verify myself as the user.  The message suggested that I run a scan

    What is the best antivirus software for a Macbook Pro...I recently received a message from Google that someone made an attempt to hack into my mail account and I needed to change my PW and verify myself as the user.  The message suggested that I run a virus scan to check for sny malware or other types of viruses.  I do not have any software for this and up until now have not had a problem....any help is appreciated.  I would like a simple but effective solution!

    It's worth noting that if your Gmail has been hacked, it would likely have nothing to do with your MacBook.  Hacking web based email is fairly common and it doesn't require any access to your machine whatsoever.  In the same way that you can simply go to the Gmail webpage through any browser, any hacker can use the same method.  It doesn't mean your machine has been compromised in any way (and it has likely not been).  I have never received an email from Google of this nature.  I have received notifications when someone has attempted to create an account with my name in which they basically say that there is no action required if you're the rightful owner.

  • I bought a mac book pro 15" with retina display and could not find the user's guide/manual anywhere, except for the wuick start manual. I couldn't even find it in apple's web site. Where is it?

    I bought a mac book pro 15" with retina display yesterday and could not find the user's guide/manual anywhere. I couldn't even find it in apple's web site. Where is it?

    here it is :   http://manuals.info.apple.com/en_US/macbook_pro-13-inch-late-2012-quick_start.pd f
    Apples dont come with say, a big manual like old things used to.  Basically its a just a quick reference guide, everything on specifics is online
    Heres a great book everyone raves about, as far as the OSX and being familiar with it> http://www.amazon.com/gp/product/1449330274/ref=s9_psimh_gw_p14_d1_i1?pf_rd_m=AT VPDKIKX0DER&pf_rd_s=center-2&pf_rd_r=0J2E0HXQBHJK423PADBV&pf_rd_t=101&pf_rd_p=13 89517282&pf_rd_i=507846

  • Query weblgoic runtime JVM and thread that carry the user credential

    Hi there,
    So far as I know, weblogic keeps track of user credentials from
    different JVM and different thread. However, for the same thread within
    same JVM, weblogic only keep on user credential in the EJBContext. So,
    is there any way or any API for me to query the JVM and thread that
    carries the user credential? My purpose is to prevent second login from
    the same JVM in the same thread.
    Thanks,
    Cathy

    Hi there,
    So far as I know, weblogic keeps track of user credentials from
    different JVM and different thread. However, for the same thread within
    same JVM, weblogic only keep on user credential in the EJBContext. So,
    is there any way or any API for me to query the JVM and thread that
    carries the user credential? My purpose is to prevent second login from
    the same JVM in the same thread.
    Thanks,
    Cathy

  • Find an iphone 5 in the club and i want you to help me find the owner and return it to the user.  its been erased and no sim card in it .when i try to configure , it says i should enter an apple  and a password.

    find an iphone 5 in the club and i want you to help me find the owner and return it to the user.
    its been erased and no sim card in it .when i try to configure , it says i should enter an apple
    and a password.

    Since it was erased and no sim card the owner probably got rid of it of some reason.

  • HT1918 Hello!  Staff of E4 Group JSC use Apple devices for call, reading email and calendars. When the user open event in calendar of iPhone or iPad, he does not see attachments (picture №1, picture №2). But it is possible on Blackberry (picture №3).

    Hello!
    Staff of E4 Group JSC use Apple devices for call, reading email and calendars. When the user open event in calendar of iPhone or iPad, he does not see attachments (picture №1, picture №2). But it is possible on Blackberry (picture №3). How user of Apple can see these attachments? Recommend please any apps for it.

    Hello!
    Staff of E4 Group JSC use Apple devices for call, reading email and calendars. When the user open event in calendar of iPhone or iPad, he does not see attachments (picture №1, picture №2). But it is possible on Blackberry (picture №3). How user of Apple can see these attachments? Recommend please any apps for it.

  • How to take result of multiplication and copy over to another spread sheet without taking formula?

    I am trying to copy over the results of my product formula and copy it over to a separate spreadsheet.
    Every single time I try to copy the results over, the formula seems to tag along with it!
    EXAMPLE: I took 17.99 and multiplied it by 3.5 to get 62.97. All I want is the 62.97 so that I can put it on a separate work sheet... every time I try doing that... it copies over the formula!
    So frustrating. Is there anyway to get this done? Or do I have to multiply all 2000+ equations manually and type it in myself?

    Hi gn,
    Glad to help. Thanks for the green tick .
    Happy Numbering!
    Regards,
    Ian.

  • Variable of copied Query changes the original  Query - variable

    Team:
    I have a Query "A". Then, I made a copy "B". Both Queries are the same definition, including the variables. In the Query A, there is a variable "ZWWW" that checks the date entered by the user. In the user exit I_step = 3, we check for the validity of the date entered. Unfortunately, we need to test the Query in QAS, which  we do not need to test the validity of the data. Thus, we changed the variable to be "YYYYY" on the Query B.
    Unfortunately, this new variable "YYYY" somehow is reflected automatically in the original Query A. This issue is only present if the Query B is a copy of Query A. Basically, the Query A and B have different technical names and UIDs. However, they are in the background related.
    The question is: how can I change the variable on Query B without affecting Query A.

    Hi Raul,
    Variables are at
    Query Filter Level
    RKF Level..which is Global
    What i understand is that this Variable of Query is in the RKF - which is GLOBAL.So if we change the RKF Variable on that Multiprovider... for not just Query A... ...it will change across all the Queries not just Query A or B.
    We will have to identify the RKF1 and create a copy of the RKF1 as New RKF2 and replace the old Variable with the New One YYYY.
    Hope this Clarifies.
    rgds
    SVU

  • Can I use my old internal hard drive and copy everything into the new one?

    My internal hard drive is running out of space, and I want to buy a new one. But to do that, I'll have to buy a external hard drive to back up everything and then copy it back onto the new internal hard drive , right? I don't have that much budget. So can I use the old internal hard drive that I took out of my Macbook and copy everthing back into the new internal hard drive after the repalecment? so I don't need to buy a external hard drive to back up everything
    Tks!

    You will have to buy a new HDD and an enclosure to make the transfer.  You can use Disk Utility to make the transfer.
    INSTALLING A NEW HDD IN A MBP
    1. Make certain that you have backed up all of your important data.
    2. You will need a HDD enclosure.  One with a USB connection will do.  A 9 pin Firewire is better.
    3. Install your new drive in the enclosure and connect it to your MBP.
    4. Open DISK UTILITY>ERASE.  From the left hand column drag the new drive into the 'Name' field.  Make sure that the format is 'Mac OS Extended (Journaled)'.  Click on the 'Erase' button.
    5. Click on the 'Restore' button (on top).  Drag the old drive into the 'Source' field and the new drive into the 'Destination'  field.  Click on the 'Restore' button on the bottom right hand corner.
      Depending upon the amount of data you are transferring, this may take a couple hours or more.  A Firewire will speed up the transfer.  This will result in both drives having identical information on them. INSTALLING
    6. After the data transfer has completed, you may swap the drives.  Start the MBP and you have finished the installation.  The initial boot may take a bit longer than you are accustomed to, but that is normal.
    7. When you are satisfied that the new hard drive if functioning properly, you can erase the old drive and use it for any needs that you may have.

Maybe you are looking for

  • Accounting doc number for a material doc

    Hi Experts, Pls help me to know the accouting document number for a material document. Is there any functional module for the above or any table fields. currently we are developing zprogram. Appreciate for advices.

  • Preloader and Loading External Flash issue

    Source File: http://cratle7.googlepages.com/loader.fla View Swf File: http://cratle7.googlepages.com/loader.html I need to start an ad from Mochiads in the first frame and then load a game in the second frame. The current issues are: 1. After loading

  • Can't open/delete this random "international edition" app

    So I looked on my phone and saw this random box, I didn't install it. It looks like an app but doesn't open, it won't delete either. The app icon has a map in the background, with a great square and on it it says "international edition" .. Anyone kno

  • Cant resore ipod touch

    A friend brought me his ipod touch, I think its a 2g. He forgot the his passcode and is locked out. I put it into recovery mode and and went about restoring it like normal. Everything goes as planned until after I click to restore it says "ipod canno

  • I am looking for Lori

    Hi Dan, There are some great people (Lori) on the iPhoto forum, check it out.Are you running anything with the name Norton attached to it?Run whatsize to see where your disk usage is going. Joe Can you please help me: http://discussions.apple.com/thr