SOLVED

JSON for SharePoint List: button for "copy field to clipboard"

Iron Contributor

Hi.

Can I customize column formatting so that I can easily get a "copy" button when hovering over a certain cell? Similiar to the hover options you get with the default title field. 

 

Would be very useful for fields such as phone number, email etc..

 

 

Best regards.

 

1 Reply
best response confirmed by Tormod Solem Slupphaug (Iron Contributor)
Solution

@Tormod Solem Slupphaug 

 

You can create a custom hover card for a column using JSON formatting. But you cannot provide copy functionality on button click (on hover card) using JSON formatting.


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

1 best response

Accepted Solutions
best response confirmed by Tormod Solem Slupphaug (Iron Contributor)
Solution

@Tormod Solem Slupphaug 

 

You can create a custom hover card for a column using JSON formatting. But you cannot provide copy functionality on button click (on hover card) using JSON formatting.


Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

View solution in original post