<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>clipboard Archives : Binary Bits</title>
	<atom:link href="https://blog.binarybits.net/tag/clipboard/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.binarybits.net/tag/clipboard/</link>
	<description>Bits &#38; Pieces - A blog by Kannan Balasubramanian</description>
	<lastBuildDate>Mon, 03 May 2021 10:50:10 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Copy current item ID to clipboard using SharePoint custom action</title>
		<link>https://blog.binarybits.net/copy-current-item-id-to-clipboard-using-sharepoint-custom-action/</link>
					<comments>https://blog.binarybits.net/copy-current-item-id-to-clipboard-using-sharepoint-custom-action/#respond</comments>
		
		<dc:creator><![CDATA[Kannan]]></dc:creator>
		<pubDate>Mon, 06 Jul 2015 15:41:56 +0000</pubDate>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[clipboard]]></category>
		<category><![CDATA[custom action]]></category>
		<category><![CDATA[ItemID]]></category>
		<guid isPermaLink="false">https://blog.binarybits.net/?p=715</guid>

					<description><![CDATA[<p>Recently I had a requirement where the user needed to copy an item&#8217;s URL to clipboard in SharePoint. Using the SharePoint designer, I created a Custom Action and in the &#8220;Navigate to URL&#8221; action type I set the following. javascript:clipboardData.setData("Text", window.location.protocol+'//'+window.location.hostname+':'+window.location.port +'/sites//Lists//DispForm.aspx?ID='+'{ItemId}');alert('Item URL \"'+window.location.protocol+'//'+window.location.hostname+':'+window.location.port +'/sites//Lists//DispForm.aspx?ID='+'{ItemId}'+'\" copied to clipboard'); &#160;</p>
<p>The post <a href="https://blog.binarybits.net/copy-current-item-id-to-clipboard-using-sharepoint-custom-action/">Copy current item ID to clipboard using SharePoint custom action</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently I had a requirement where the user needed to copy an item&#8217;s URL to clipboard in SharePoint.</p>
<p>Using the SharePoint designer, I created a Custom Action and in the &#8220;Navigate to URL&#8221; action type I set the following.</p>
<pre class="lang:js decode:true " title="SharePoint custom action to copy current item URL to clipboard with alert">javascript:clipboardData.setData("Text", window.location.protocol+'//'+window.location.hostname+':'+window.location.port +'/sites/<sitename>/Lists/<listname>/DispForm.aspx?ID='+'{ItemId}');alert('Item URL \"'+window.location.protocol+'//'+window.location.hostname+':'+window.location.port +'/sites/<sitename>/Lists/<listname>/DispForm.aspx?ID='+'{ItemId}'+'\" copied to clipboard');</pre>
<p>&nbsp;</p>
<p>The post <a href="https://blog.binarybits.net/copy-current-item-id-to-clipboard-using-sharepoint-custom-action/">Copy current item ID to clipboard using SharePoint custom action</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.binarybits.net/copy-current-item-id-to-clipboard-using-sharepoint-custom-action/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: blog.binarybits.net @ 2026-04-23 06:40:52 by W3 Total Cache
-->