Make a field a link that automatically copies the value

%3CLINGO-SUB%20id%3D%22lingo-sub-900264%22%20slang%3D%22en-US%22%3EMake%20a%20field%20a%20link%20that%20automatically%20copies%20the%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-900264%22%20slang%3D%22en-US%22%3E%3CP%3ESo%20we%20have%20a%20list%20on%20one%20of%20our%20SharePoint%20site%20that%20has%20usernames%20and%20passwords.%20However%2C%20apparently%20we%20can't%20just%20easily%20copy%20the%20values%20like%20the%20password.%20We%20can%20highlight%20the%20password%2C%20but%20then%20if%20you%20right-click%20you%20don't%20get%20your%20standard%20copy%20menu%20option.%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20199px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F135901i218A38C9DCE1069F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Password_Example.png%22%20title%3D%22Password_Example.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20the%20only%20way%20to%20copy%20this%20is%20to%20use%20the%20keyboard%20shortcut%20of%20ctrl%2Bc.%20So%20I%20was%20hoping%20to%20see%20if%20anyone%20has%20made%20something%20like%20this%20a%20hyperlink%20style%20field%20so%20that%20when%20you%20click%20it%20it%20copies%20it%20to%20your%20clipboard.%20Has%20anyone%20done%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3ERyan%20Wakefield%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-900264%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHyperlink%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-902166%22%20slang%3D%22en-US%22%3ERe%3A%20Make%20a%20field%20a%20link%20that%20automatically%20copies%20the%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-902166%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F294953%22%20target%3D%22_blank%22%3E%40Ryan_Wakefield%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20have%20SharePoint%20Online%2C%20you%20can%20%22Copy%20field%20to%20clipboard%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20217px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F136074iE004335966909294%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Untitled.png%22%20title%3D%22Untitled.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20hope%20this%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENorm%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-934005%22%20slang%3D%22en-US%22%3ERe%3A%20Make%20a%20field%20a%20link%20that%20automatically%20copies%20the%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-934005%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F111382%22%20target%3D%22_blank%22%3E%40Norman%20Young%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Norm%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20post%20this%20is%20a%20great%20feature.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20would%20be%20great%20if%20this%20was%20available%20in%20document%20libraries%20as%20well%20as%20lists.%20Do%20you%20know%20if%20there%E2%80%99s%20a%20way%20to%20achieve%20the%20same%20thing%20in%20a%20SharePoint%20Online%20document%20library%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EThanks%20again%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERyan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-934764%22%20slang%3D%22en-US%22%3ERe%3A%20Make%20a%20field%20a%20link%20that%20automatically%20copies%20the%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-934764%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F354222%22%20target%3D%22_blank%22%3E%40Ryan_McConville%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGlad%20I%20could%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20document%20libraries%20you%20are%20limited%20to%20%22Copy%20to%22%20and%20%22Move%20to%22%20functions.%20There%20is%20no%20way%20to%20copy%20metadata%20(site%20columns)%20to%20the%20clipboard.%20The%20%22Export%20to%20Excel%22%20feature%20in%20a%20document%20library%20will%20include%20the%20site%20column%20info%20for%20bulk%20operations.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20this%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENorm%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

So we have a list on one of our SharePoint site that has usernames and passwords. However, apparently we can't just easily copy the values like the password. We can highlight the password, but then if you right-click you don't get your standard copy menu option.

 
 

Password_Example.png

 

So the only way to copy this is to use the keyboard shortcut of ctrl+c. So I was hoping to see if anyone has made something like this a hyperlink style field so that when you click it it copies it to your clipboard. Has anyone done this?

 

Thanks.

Ryan Wakefield

3 Replies
Highlighted

Hi @Ryan_Wakefield,

 

If you have SharePoint Online, you can "Copy field to clipboard".

 

Untitled.png

I hope this helps.

 

Norm

Highlighted

@Norman Young 

 

Hi Norm 

 

Thanks for your post this is a great feature.

 

It would be great if this was available in document libraries as well as lists. Do you know if there’s a way to achieve the same thing in a SharePoint Online document library?

Thanks again

 

Ryan

Highlighted

Hi @Ryan_McConville,

 

Glad I could help.

 

In document libraries you are limited to "Copy to" and "Move to" functions. There is no way to copy metadata (site columns) to the clipboard. The "Export to Excel" feature in a document library will include the site column info for bulk operations.

 

I hope this helps.

 

Norm