<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>SharePoint Diva</title>
	<atom:link href="http://sharepointdiva.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepointdiva.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 28 Apr 2009 18:01:08 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sharepointdiva.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/ee7016ad607956a245e1281713366dad?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>SharePoint Diva</title>
		<link>http://sharepointdiva.wordpress.com</link>
	</image>
			<item>
		<title>Form Numbering for Multiple Locations with ShareVis and SharePoint</title>
		<link>http://sharepointdiva.wordpress.com/2009/04/28/form-numbering-for-multiple-locations-with-sharevis-and-sharepoint/</link>
		<comments>http://sharepointdiva.wordpress.com/2009/04/28/form-numbering-for-multiple-locations-with-sharevis-and-sharepoint/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 17:42:15 +0000</pubDate>
		<dc:creator>sharepointdiva</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[ShareVis]]></category>
		<category><![CDATA[Name Template]]></category>
		<category><![CDATA[Set SharePoint Column Plug-in]]></category>
		<category><![CDATA[ShareVis.Query]]></category>

		<guid isPermaLink="false">http://sharepointdiva.wordpress.com/2009/04/28/form-numbering-for-multiple-locations-with-sharevis-and-sharepoint/</guid>
		<description><![CDATA[I&#8217;m currently developing a Management of Change form using ShareVis. This is a large process, launching sub-forms and approval routings and links to drawings, so it&#8217;s also a great learning experience. As I tackle how best to proceed with all the requirements I&#8217;m going to share what I&#8217;ve done. I hope for two things; first, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=144&subd=sharepointdiva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m currently developing a Management of Change form using ShareVis. This is a large process, launching sub-forms and approval routings and links to drawings, so it&#8217;s also a great learning experience. As I tackle how best to proceed with all the requirements I&#8217;m going to share what I&#8217;ve done. I hope for two things; first, to give others the opportunity to see real examples of the working with ShareVis. Second, to get more eyes on what I&#8217;m doing for feedback. I don&#8217;t work with a team of developers so I&#8217;m alone when it comes to brainstorming and development. If you see something I&#8217;ve done and know of a better way, please let me know.</p>
<p>My first requirement with my management of change was how to handle form numbering. ShareVis comes with a name template that will automatically generate a unique name for the form. However, I needed to be able to sequence within the location – i.e. A change in San Diego and a change in Los Angeles will need to have two forms created, but the form will need to be named to include the location and the change number for that location not a count of all changes.</p>
<p>First I create a list to track the number count for each location.</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi1.png" alt="" /></p>
<p>This includes a calculated column to display the number in a way I want (with leading zeros), the code for the location, the partnering company (this will affect routing later on), and the plant manager. For this example we&#8217;re really only interested in the Location, NumberCount and Counter.</p>
<p>Next is the form:</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi2.png" alt="" /></p>
<p>I want to stop here and point out myFields in the Data source. If you rename &#8220;myFields&#8221; to something else, the ShareVis.Query will not work. I&#8217;ve reported this to ShareVis and they&#8217;ve been really good about fixing &#8220;features&#8221; I find, so it might not be long before this is handled as well. In the meantime, save yourself some frustration and don&#8217;t rename myFields and don&#8217;t group fields when you don&#8217;t need to. Field grouping was another gotcha I ran into.</p>
<p>Here is the detail of my ShareVis.Query:</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi3.png" alt="" /></p>
<p>Query: list=MOCFormInfo;filter=[Location]==@[//my:locationName];select=[NumberCount],[Location],[Code],[Company],[Counter]</p>
<p>Set Fields: locationNumberCount=NumberCount,locationCode=Code,locationCompany=Company,locationTitleCounter=Counter</p>
<p>Here is the detail of the ShareVis.FormName properties:</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi4.png" alt="" /></p>
<p>Template Name &amp; Fields: TOMOC,//my:locationCode,//my:svHyphen,//my:stringCounter</p>
<p>stringCounter is used to strip out the leading characters from the calculated column. ShareVis already has the fix for this – but I haven&#8217;t applied it yet. Plus I thought it might be helpful to someone else to see how I handled this.</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi5.png" alt="" /></p>
<p>Calculate the next number for this location and promote this property so the workflow can process it.</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi6.png" alt="" /></p>
<p>TOMOC is the name template:</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi7.png" alt="" /></p>
<p>You&#8217;ll need to create the real Name Template and just ignore the one created when the form is published.</p>
<p>The last thing is handling the update of the NumberCount within the form process. I&#8217;m enjoying the simplicity of this flow while I can; it&#8217;s going to quickly get really messy.</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi8.png" alt="" /></p>
<p>Plugin &#8220;Set SharePoint Column&#8221;:</p>
<p>ValuePairs:</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi9.png" alt="" /></p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi10.png" alt="" /></p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi11.png" alt="" /></p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi12.png" alt="" /></p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi13.png" alt="" /></p>
<p>So this is how I&#8217;m handling the numbering within the location for multiple locations. My real form has to deal with 10 locations. Please give me your feedback. And if you&#8217;re using ShareVis, please join our <a href="http://groups.google.com/group/sharevis-discussion">Google Discussion Group</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointdiva.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointdiva.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointdiva.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointdiva.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointdiva.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointdiva.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointdiva.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointdiva.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointdiva.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointdiva.wordpress.com/144/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=144&subd=sharepointdiva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointdiva.wordpress.com/2009/04/28/form-numbering-for-multiple-locations-with-sharevis-and-sharepoint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sharepointdiva</media:title>
		</media:content>

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi1.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi2.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi3.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi4.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi5.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi6.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi7.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi8.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi9.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi10.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi11.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi12.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/04/042809-1740-formnumberi13.png" medium="image" />
	</item>
		<item>
		<title>Moved .ldf caused login failure</title>
		<link>http://sharepointdiva.wordpress.com/2009/04/20/moved-ldf-caused-login-failure/</link>
		<comments>http://sharepointdiva.wordpress.com/2009/04/20/moved-ldf-caused-login-failure/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 17:14:18 +0000</pubDate>
		<dc:creator>sharepointdiva</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Content Database]]></category>
		<category><![CDATA[ldf]]></category>
		<category><![CDATA[Login Failed]]></category>

		<guid isPermaLink="false">http://sharepointdiva.wordpress.com/?p=129</guid>
		<description><![CDATA[I’m glad I keep good notes. Once upon a time my network administrator informed me that keeping the content database .mdf and .ldf files in the same place was bad practice and had me move the .ldf files to another partition. This I did. Then recently, after creating three new content databases and sites, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=129&subd=sharepointdiva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I’m glad I keep good notes. Once upon a time my network administrator informed me that keeping the content database .mdf and .ldf files in the same place was bad practice and had me move the .ldf files to another partition. This I did. Then recently, after creating three new content databases and sites, I remembered that I needed to do this and so I detached the database, moved the ldf files and then reattached. But suddenly my sites wouldn’t come up and in the error log I had the following:</p>
<p>A runtime exception was detected. Details follow.<br />
Message: Cannot open database &#8220;site_Content&#8221; requested by the login. The login failed.<br />
Login failed for user &#8216;domain\shareadmin&#8217;.</p>
<p>After a panicked 30 minutes of searching online, I realized I probably had a script somewhere that I had run to do the big ldf migration months ago. I found that I had in fact created a script to create content databases (and then promptly forgot about it and went back to creating content databases through the SharePoint Administrator.) I reran the portion of the script that granted access and my sites came back. Phew!</p>
<p>use site_content</p>
<p>DECLARE @sqladmin nvarchar(128)</p>
<p>DECLARE @shareadmin nvarchar(128)</p>
<p>SET @sqladmin = N&#8217;DOMAIN\sqladmin&#8217;</p>
<p>SET @shareadmin = N&#8217;DOMAIN\shareadmin&#8217;</p>
<p>EXEC sp_grantlogin @shareadmin;</p>
<p>EXEC sp_grantlogin @sqladmin;</p>
<p>EXEC sp_changedbowner @sqladmin;</p>
<p>IF NOT EXISTS (SELECT * FROM sysusers WHERE name=@shareadmin) EXEC sp_grantdbaccess @shareadmin;</p>
<p>EXEC sp_addrolemember &#8216;db_owner&#8217;, @shareadmin;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointdiva.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointdiva.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointdiva.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointdiva.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointdiva.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointdiva.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointdiva.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointdiva.wordpress.com/129/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointdiva.wordpress.com/129/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointdiva.wordpress.com/129/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=129&subd=sharepointdiva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointdiva.wordpress.com/2009/04/20/moved-ldf-caused-login-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sharepointdiva</media:title>
		</media:content>
	</item>
		<item>
		<title>Name Template Returns &#8220;NaN&#8221;</title>
		<link>http://sharepointdiva.wordpress.com/2009/03/19/name-template-returns-nan/</link>
		<comments>http://sharepointdiva.wordpress.com/2009/03/19/name-template-returns-nan/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 22:52:59 +0000</pubDate>
		<dc:creator>sharepointdiva</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[ShareVis]]></category>

		<guid isPermaLink="false">http://sharepointdiva.wordpress.com/?p=121</guid>
		<description><![CDATA[In ShareVis, linking a Name Template to a Form, I&#8217;ve found that it&#8217;s best to let the Form create the Name Template and then modify it in the Process.  I&#8217;ve struggled with creating it in the Process first and then adding it to the Form.

Once that&#8217;s working though, I ran into trouble with the number showing up [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=121&subd=sharepointdiva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In ShareVis, linking a Name Template to a Form, I&#8217;ve found that it&#8217;s best to let the Form create the Name Template and then modify it in the Process.  I&#8217;ve struggled with creating it in the Process first and then adding it to the Form.</p>
<p><img class="aligncenter size-full wp-image-122" title="nametemplate1" src="http://sharepointdiva.files.wordpress.com/2009/03/nametemplate1.jpg?w=553&#038;h=305" alt="nametemplate1" width="553" height="305" /></p>
<p>Once that&#8217;s working though, I ran into trouble with the number showing up as &#8220;NaN&#8221;.  &#8220;NaN&#8221; means Not A Number. </p>
<p><img class="alignleft size-full wp-image-123" title="nan" src="http://sharepointdiva.files.wordpress.com/2009/03/nan.jpg?w=300&#038;h=60" alt="nan" width="300" height="60" /></p>
<p>Which would make sense if my field was a Whole Number (integer), but it&#8217;s Text (string).  I&#8217;ve checked it over and over.  And then I realized it <em><strong>used to be a number</strong></em>.  When I was first adding the fields, I had made it a number and then later changed it to text.  However, something was still treating it like a number in the form view.  I deleted and readded the field. Then reset the ShareVis.FormName custom control to the new field.  Then republished the form and the process.</p>
<p><span style="font-size:x-small;font-family:Arial;"><span style="font-size:x-small;font-family:Arial;"><img class="alignleft size-full wp-image-124" title="nan2" src="http://sharepointdiva.files.wordpress.com/2009/03/nan2.jpg?w=344&#038;h=86" alt="nan2" width="344" height="86" /> </span></span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointdiva.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointdiva.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointdiva.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointdiva.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointdiva.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointdiva.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointdiva.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointdiva.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointdiva.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointdiva.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=121&subd=sharepointdiva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointdiva.wordpress.com/2009/03/19/name-template-returns-nan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sharepointdiva</media:title>
		</media:content>

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/nametemplate1.jpg" medium="image">
			<media:title type="html">nametemplate1</media:title>
		</media:content>

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/nan.jpg" medium="image">
			<media:title type="html">nan</media:title>
		</media:content>

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/nan2.jpg" medium="image">
			<media:title type="html">nan2</media:title>
		</media:content>
	</item>
		<item>
		<title>Do you use ShareVis?</title>
		<link>http://sharepointdiva.wordpress.com/2009/03/18/do-you-use-sharevis/</link>
		<comments>http://sharepointdiva.wordpress.com/2009/03/18/do-you-use-sharevis/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 20:36:46 +0000</pubDate>
		<dc:creator>sharepointdiva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ShareVis]]></category>

		<guid isPermaLink="false">http://sharepointdiva.wordpress.com/2009/03/18/do-you-use-sharevis/</guid>
		<description><![CDATA[I&#8217;m forming a user discussion group for ShareVis. Please come join if you use ShareVis.






ShareVis Discussion


Visit this group



       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=118&subd=sharepointdiva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;m forming a user discussion group for ShareVis. <a href="http://groups.google.com/group/sharevis-discussion">Please come join</a> if you use ShareVis.</p>
<table style="background-color:#fff;padding:5px;" border="0" cellspacing="0">
<tbody>
<tr>
<td><img src="http://groups.google.com/groups/img/3nb/groups_bar.gif" alt="" width="132" height="26" /></td>
</tr>
<tr>
<td style="padding-left:5px;font-size:125%;"><strong>ShareVis Discussion</strong></td>
</tr>
<tr>
<td style="padding-left:5px;"><a href="http://groups.google.com/group/sharevis-discussion">Visit this group</a></td>
</tr>
</tbody>
</table>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointdiva.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointdiva.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointdiva.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointdiva.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointdiva.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointdiva.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointdiva.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointdiva.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointdiva.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointdiva.wordpress.com/118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=118&subd=sharepointdiva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointdiva.wordpress.com/2009/03/18/do-you-use-sharevis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sharepointdiva</media:title>
		</media:content>

		<media:content url="http://groups.google.com/groups/img/3nb/groups_bar.gif" medium="image" />
	</item>
		<item>
		<title>Using SQL inside Workflow</title>
		<link>http://sharepointdiva.wordpress.com/2009/03/10/using-sql-inside-workflow/</link>
		<comments>http://sharepointdiva.wordpress.com/2009/03/10/using-sql-inside-workflow/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 22:38:02 +0000</pubDate>
		<dc:creator>sharepointdiva</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Access]]></category>
		<category><![CDATA[Document Library]]></category>
		<category><![CDATA[iLove SharePoint]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://sharepointdiva.wordpress.com/2009/03/10/using-sql-inside-workflow/</guid>
		<description><![CDATA[Thanks to iLove SharePoint for creating the &#8220;Execute SQL&#8221; action.
With it I was able to create a workflow against the add/change event in my document library to create a link to my equipment page based on if there is any information to link to.

I first store my select statement in a variable so I can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=114&subd=sharepointdiva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Thanks to <a href="http://cglessner.blogspot.com/2009/01/ilsp-sharepoint-designer-execute-sql.html">iLove SharePoint</a> for creating the &#8220;Execute SQL&#8221; action.</p>
<p>With it I was able to create a workflow against the add/change event in my document library to create a link to my equipment page based on if there is any information to link to.</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2236-usingsqlins1.png" alt="" /></p>
<p>I first store my select statement in a variable so I can log it to the history file (this was helpful with debugging the workflow.)</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2236-usingsqlins2.png" alt="" /></p>
<p>SELECT COUNT(DWG_NAME_) FROM AccessDatabase…[AccessTable] where DWG_NAME_ = &#8216;[%DocumentLibrary:FileName%].DWG&#8217;</p>
<p>Then using the Execute SQL action, I can query the Access Database to see if there is anything I want to link to and store the results in a variable. I can then also show how many items there are in the hyperlink text. (The connection string I used was: Data Source= OFFICESERVER;Initial Catalog=WSS_Content;Integrated Security=SSPI. This particular server uses Studio Express on the same server as SharePoint.)</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2236-usingsqlins3.png" alt="" /></p>
<p>So if there is something to link to, I create the URL text: Store Helpful text-[%Variable: SQLResult%] in Variable: URLText.</p>
<p>Then I build the URL string: <img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2236-usingsqlins4.png" alt="" /></p>
<p>And store it in the hyperlink column of my document library. The user will know that only the drawings with links have something in the Access Database to look at:</p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2236-usingsqlins5.png" alt="" /></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointdiva.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointdiva.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointdiva.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointdiva.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointdiva.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointdiva.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointdiva.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointdiva.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointdiva.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointdiva.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=114&subd=sharepointdiva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointdiva.wordpress.com/2009/03/10/using-sql-inside-workflow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sharepointdiva</media:title>
		</media:content>

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2236-usingsqlins1.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2236-usingsqlins2.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2236-usingsqlins3.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2236-usingsqlins4.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2236-usingsqlins5.png" medium="image" />
	</item>
		<item>
		<title>Using Data from Access in SharePoint via SQL</title>
		<link>http://sharepointdiva.wordpress.com/2009/03/10/using-data-from-access-in-sharepoint-via-sql/</link>
		<comments>http://sharepointdiva.wordpress.com/2009/03/10/using-data-from-access-in-sharepoint-via-sql/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 21:23:51 +0000</pubDate>
		<dc:creator>sharepointdiva</dc:creator>
				<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[ShareVis]]></category>
		<category><![CDATA[Access]]></category>
		<category><![CDATA[CADworks]]></category>
		<category><![CDATA[Database Connection]]></category>
		<category><![CDATA[DataView]]></category>
		<category><![CDATA[Linked Server]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[SPD]]></category>
		<category><![CDATA[Stored Procedure]]></category>

		<guid isPermaLink="false">http://sharepointdiva.wordpress.com/2009/03/10/using-data-from-access-in-sharepoint-via-sql/</guid>
		<description><![CDATA[This is a reoccurring issue I have; I don&#8217;t know C# beyond one program I wrote 3 years ago when my career path took me away from development and toward other areas. But now, working with SharePoint, this has become a handicap – I want to accomplish a task that is more complicated than straight [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=108&subd=sharepointdiva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This is a reoccurring issue I have; I don&#8217;t know C# beyond one program I wrote 3 years ago when my career path took me away from development and toward other areas. But now, working with SharePoint, this has become a handicap – I want to accomplish a task that is more complicated than straight SharePoint Designer can handle. Unfortunately I don&#8217;t have time to defer the task while I learn the C# that would solve this task in a more efficient manner. OK, so it is imperative that I get around to learning C#. Until then what can I do? I do know SQL. This leads me to my current workaround.</p>
<p>Task: Create a site for an engineering project that will store drawings, pieces of equipment (known by their tags), and all specs and requisitions related to those tags. The drawings are created with a program called <span style="color:#3d494b;font-family:Arial;font-size:9pt;">CADworks. CADworks stores information about the drawings (such as the tag numbers) in an Access database. Pull in the information from the Access database into a SharePoint Equipment list that can be used to tie together drawings (stored as PDF&#8217;s in a SharePoint library), Specs (information can be in lists or libraries), Requisitions (lists), and Purchase Orders (library.)<br />
</span></p>
<p><span style="color:#3d494b;font-family:Arial;font-size:9pt;">I hoped first to use a ShareVis workflow to take the drawing number as it&#8217;s uploaded into the library and pull the data from the Access database and manipulate the list then. However, that functionality does not currently exist with ShareVis – the plug-ins that looked like they might be able to do what I wanted are for forms only. (They did however pass on that request to their development department. I have hope that it will be possible in the future.)<br />
</span></p>
<p><span style="color:#3d494b;font-family:Arial;font-size:9pt;">Issue: Can&#8217;t insert into SharePoint List via SQL Insert. So can I pull data from Access AND SharePoint Libraries to create a cross-linking data view?<br />
</span></p>
<ol>
<li>Create a linked server to access an Access database. See <a href="http://www.aspfree.com/c/a/Microsoft-Access/Configuring-a-Linked-Microsoft-Access-Server-on-SQL-2005-Server/">Configuring a Linked Microsoft Access Server on SQL 2005 Server</a> . Since the CADworks database is stored on the shared drive, I&#8217;ll need to create a batch file to copy it to the SQL server nightly.</li>
<li>
<div>Create store procedure to query access database:</div>
<p><span style="font-family:Courier New;font-size:8pt;">set ANSI_NULLS ON<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">set QUOTED_IDENTIFIER ON<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">GO<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">&#8211; =============================================<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">&#8211; Author:        SharePoint Diva<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">&#8211; Create date: 3/10/2009<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">&#8211; Description:    Pull data from Linked Access Database<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">&#8211; to display in a data view on SharePoint<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">&#8211; =============================================<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">ALTER PROCEDURE [dbo].[csp_GetComponentsMechanical]<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">    &#8211; Search by PID if provided, otherwise use wild card<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">    @pid varchar(40) = &#8216;%&#8217;<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">AS<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">BEGIN<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">    &#8211; SET NOCOUNT ON added to prevent extra result sets from<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">    &#8211; interfering with SELECT statements.<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">    SET NOCOUNT ON;<br />
</span></p>
<p> </p>
<p><span style="font-family:Courier New;font-size:8pt;">    &#8211; Inside declare for debugging<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">    &#8211; DECLARE @pid varchar(40)<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">    &#8211; SET @pid = &#8216;%&#8217;<br />
</span></p>
<p> </p>
<p><span style="font-family:Courier New;font-size:8pt;">&#8211; Insert statements for procedure here<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">    SELECT DISTINCT REPLACE(DWG_NAME_,&#8217;.DWG&#8217;,&#8221;) AS [P&amp;ID], REPLACE(TAG_,&#8217;-',&#8221;) AS [Equip. Tag]<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">    FROM AccessDatabase&#8230;[AccessTable]<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">    WHERE DWG_NAME_ like @pid<br />
</span></p>
<p><span style="font-family:Courier New;font-size:8pt;">END<br />
</span></p>
<p> </li>
<li>
<div>Create Database Connection in SharePoint Designer:</div>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr1.png" alt="" /><br />
<img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr2.png" alt="" /></p>
<p> </p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr3.png" alt="" /><br />
<img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr4.png" alt="" /></p>
<p> </li>
<li>
<div>Create a data view in SharePoint Designer:</div>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr5.png" alt="" /></p>
<p> </li>
<li>
<div>Modify the DataForm field to create a hyperlink to the drawings library based on the value of the field:</div>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr6.png" alt="" /></p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr7.png" alt="" /></p>
<p>Address example: http://DevActiveProject/DrawingsDesign/Forms/AllItems.aspx?&amp;FilterField1=P%5Fx0026%5FID&amp;FilterValue1={@P_x0026_ID}</p>
<p> </p>
<p>So now I have an equipment page containing data from Access that links to my document library, and because of the query string parameter, I can create a link in my document library that will redirect to a filtered view of my equipment page.</p>
<p> </p>
<p><img src="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr8.png" alt="" /></p>
<p> </p>
<p>I&#8217;ll cover in a following post the workflow I created for my library to create the hyperlink back to this list.</li>
</ol>
<p> </p>
<p style="margin-left:36pt;"> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointdiva.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointdiva.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointdiva.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointdiva.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointdiva.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointdiva.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointdiva.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointdiva.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointdiva.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointdiva.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=108&subd=sharepointdiva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointdiva.wordpress.com/2009/03/10/using-data-from-access-in-sharepoint-via-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sharepointdiva</media:title>
		</media:content>

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr1.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr2.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr3.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr4.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr5.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr6.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr7.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/03/031009-2122-usingdatafr8.png" medium="image" />
	</item>
		<item>
		<title>From SharePoint List thru Excel to Web Part</title>
		<link>http://sharepointdiva.wordpress.com/2009/02/11/from-sharepoint-list-thru-excel-to-web-part/</link>
		<comments>http://sharepointdiva.wordpress.com/2009/02/11/from-sharepoint-list-thru-excel-to-web-part/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 17:23:37 +0000</pubDate>
		<dc:creator>sharepointdiva</dc:creator>
				<category><![CDATA[Excel Services]]></category>
		<category><![CDATA[Excel Web Access]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Web Part]]></category>
		<category><![CDATA[Lists]]></category>
		<category><![CDATA[Pivot Table]]></category>
		<category><![CDATA[WebPart]]></category>

		<guid isPermaLink="false">http://sharepointdiva.wordpress.com/2009/02/11/from-sharepoint-list-thru-excel-to-web-part/</guid>
		<description><![CDATA[How do you take information from your SharePoint list and display it in a pivot table on a SharePoint page? This can be achieved by using Excel&#8217;s Data Connections and Excel Services. This article will walk through the steps of going from a SharePoint list to an Excel Pivot Table and then to displaying the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=95&subd=sharepointdiva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><div><span style="color:black;font-family:Verdana;font-size:8pt;">How do you take information from your SharePoint list and display it in a pivot table on a SharePoint page? This can be achieved by using Excel&#8217;s Data Connections and Excel Services. This article will walk through the steps of going from a SharePoint list to an Excel Pivot Table and then to displaying the pivot table on a SharePoint page. <img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo1.png" alt="" /></span></div>
<p><span style="color:black;font-family:Verdana;font-size:8pt;"> </p>
<p></span></p>
<div><span style="color:black;font-family:Verdana;font-size:18pt;"><strong>Export the list to a pivot table</strong></span></div>
<p><span style="color:black;font-family:Verdana;font-size:18pt;"><strong> </p>
<p></strong></span></p>
<div>
<table style="border-collapse:collapse;" border="0">
<col span="1"></col>
<tbody>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo2.png" alt="" align="right" /><span style="color:black;font-family:Verdana;font-size:10pt;">Change the view of the list to &#8220;Edit in Datasheet&#8221;.</span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo3.png" alt="" align="right" /><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo4.png" alt="" align="right" /></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">On the right side of the list is a subtle arrow. This is the hidden task pane. Click the arrow to open the task pane. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="color:black;font-family:Verdana;font-size:10pt;">Select &#8220;Create Excel Pivot Table Report&#8221; </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo5.png" alt="" align="right" /></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">Choose the fields to put on the pivot table. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="font-family:Verdana;font-size:10pt;"><span style="color:black;">For more information on creating Pivot Tables with Excel 2007 see the <a></a></span><span style="color:blue;text-decoration:underline;">Excel 2007 Courses</span><span style="color:black;"> site. </span></span></p>
<p><a></a></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo6.png" alt="" align="right" /><span style="color:black;font-family:Verdana;font-size:10pt;">Change the name of your Pivot Table to something meaningful. This is how you&#8217;ll identify the table to the web part. </span></td>
</tr>
</tbody>
</table>
</div>
<div><span style="color:black;font-family:Verdana;font-size:18pt;"><strong>Publish to Excel Services</strong></span></div>
<p><span style="color:black;font-family:Verdana;font-size:18pt;"><strong> </p>
<p></strong></span></p>
<div>
<table style="border-collapse:collapse;" border="0">
<col span="1"></col>
<tbody>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo7.png" alt="" align="right" /><span style="color:black;font-family:Verdana;font-size:10pt;">When you&#8217;re ready to publish your table, select the windows button &gt; Publish &gt; Excel Services. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo8.png" alt="" align="right" /></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">Select the SharePoint document library you&#8217;d like to publish to. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="color:black;font-family:Verdana;font-size:10pt;">If you need to add a network place, use the &#8220;new folder&#8221; button to launch the wizard. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo9.png" alt="" align="right" /><span style="color:black;font-family:Verdana;font-size:10pt;">Open &#8220;Excel Services Options…&#8221;</span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo10.png" alt="" align="right" /><span style="color:black;font-family:Verdana;font-size:10pt;">Select &#8220;Items in the Workbook&#8221; from the Show selection dropdown. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo11.png" alt="" align="right" /></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">Select the pivot table created and click &#8220;OK&#8221;. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="color:black;font-family:Verdana;font-size:10pt;">After naming the file, click &#8220;Save&#8221;. This will publish the workbook to SharePoint and Excel Services. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle">
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">Excel Services will open with a preview of the report created. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="color:black;font-family:Verdana;font-size:10pt;">Close the tab when you&#8217;ve finished reviewing the output. </span></td>
</tr>
</tbody>
</table>
</div>
<p> </p>
<p> </p>
<div><span style="color:black;font-family:Verdana;font-size:18pt;"><strong>Create the Web Part Page</strong></span></div>
<p><span style="color:black;font-family:Verdana;font-size:18pt;"><strong> </p>
<p></strong></span></p>
<div>
<table style="border-collapse:collapse;" border="0">
<col span="1"></col>
<tbody>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo13.png" alt="" align="right" /><span style="color:black;font-family:Verdana;font-size:10pt;">Back on the SharePoint site, create a new page. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo14.png" alt="" align="right" /></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">Enter in a Title, the URL Name (without spaces, using CamelCase), and &#8220;Blank Web Part Page&#8221; for the layout. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="color:black;font-family:Verdana;font-size:10pt;">Create. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo15.png" alt="" align="right" /><span style="color:black;font-family:Verdana;font-size:10pt;">Add a web part </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo16.png" alt="" align="right" /><span style="color:black;font-family:Verdana;font-size:10pt;">Add an Excel Web Access web part. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo17.png" alt="" align="right" /></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">In the web part, you&#8217;ll see &#8220;Click here to open the tool pane.&#8221; </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">Inside the tool pane, the ellipsis next to the Workbook will open a browse menu to libraries/lists in the site. Locate the document library the workbook was published to. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="color:black;font-family:Verdana;font-size:10pt;">You may need to use the paging option at the top to retrieve the next set of options. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo18.png" alt="" align="right" /></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">Select the workbook that was published earlier. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="color:black;font-family:Verdana;font-size:10pt;">Alternatively, if you have the URL, you can just enter that into the Workbook field. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo19.png" alt="" align="right" /></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">In the Named Item, enter the name of the pivot table (exactly as it was named earlier in the workbook.) </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">Click &#8220;Apply&#8221;. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="color:black;font-family:Verdana;font-size:10pt;">Click &#8220;Save and Stop Editing&#8221; to view the page normally. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo20.png" alt="" align="right" /></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">The page will be saved into the &#8220;Pages&#8221; document library, a library that is common to all SharePoint sites. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="color:black;font-family:Verdana;font-size:10pt;">Copy the URL to add to a link list. </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;">This link can then be added to another page more accessible to others. </span></td>
</tr>
</tbody>
</table>
</div>
<div><span style="color:black;font-family:Verdana;font-size:18pt;"><strong>Refreshing the list</strong></span></div>
<p><span style="color:black;font-family:Verdana;font-size:18pt;"><strong> </p>
<p></strong></span></p>
<div><span style="color:black;font-family:Verdana;font-size:8pt;">When the originating SharePoint list has changed, for example new items have been added to the list, the excel pivot table will need to be opened and refreshed. (Instructions on having the data refresh automatically will be added in another post.)</span></div>
<p><span style="color:black;font-family:Verdana;font-size:8pt;"> </p>
<p></span></p>
<div>
<table style="border-collapse:collapse;" border="0">
<col span="1"></col>
<tbody>
<tr>
<td style="padding:1px 6px;" valign="middle"><img src="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo21.png" alt="" align="right" /><span style="color:black;font-family:Verdana;font-size:10pt;">Open the document library housing the spreadsheet, and &#8220;Edit in Microsoft Office Excel.&#8221; </span></td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle"><span style="color:black;font-family:Verdana;font-size:10pt;"> </span> </td>
</tr>
<tr>
<td style="padding:1px 6px;" valign="middle">
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">On the &#8220;Data&#8221; tab, select &#8220;Connection&#8221; and &#8220;Refresh&#8221;, then &#8220;Close&#8221;. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">You should see the new totals reflected on the pivot table in the workbook. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span></p>
<div><span style="color:black;font-family:Verdana;"><span style="font-size:10pt;">Click &#8220;Save&#8221;. Since the workbook was opened from SharePoint it will save back to SharePoint. You do not need to republish it. </span></span></div>
<p><span style="color:black;font-family:Verdana;"><span style="font-size:12pt;"> </p>
<p></span></span><span style="color:black;font-family:Verdana;font-size:10pt;">Close the workbook and refresh the page with the web part to view new data. </span></td>
</tr>
</tbody>
</table>
</div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointdiva.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointdiva.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointdiva.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointdiva.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointdiva.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointdiva.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointdiva.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointdiva.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointdiva.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointdiva.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=95&subd=sharepointdiva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointdiva.wordpress.com/2009/02/11/from-sharepoint-list-thru-excel-to-web-part/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sharepointdiva</media:title>
		</media:content>

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo1.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo2.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo3.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo4.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo5.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo6.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo7.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo8.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo9.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo10.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo11.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo13.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo14.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo15.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo16.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo17.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo18.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo19.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo20.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2009/02/021109-1659-fromsharepo21.png" medium="image" />
	</item>
		<item>
		<title>Setting the Document Library “New Folder” default to False</title>
		<link>http://sharepointdiva.wordpress.com/2008/12/24/setting-the-document-library-%e2%80%9cnew-folder%e2%80%9d-default-to-false/</link>
		<comments>http://sharepointdiva.wordpress.com/2008/12/24/setting-the-document-library-%e2%80%9cnew-folder%e2%80%9d-default-to-false/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 16:28:22 +0000</pubDate>
		<dc:creator>sharepointdiva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sharepointdiva.wordpress.com/2008/12/24/setting-the-document-library-%e2%80%9cnew-folder%e2%80%9d-default-to-false/</guid>
		<description><![CDATA[How to make the default of &#8216;Display &#8220;New Folder&#8221; command on the New menu&#8217; equal to No instead of Yes.

Modify the DocumentLibrary.xml in the 12 Hive (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\DocumentLibrary\ListTemplates)

&#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&#62;

&#60;Elements xmlns=&#8221;http://schemas.microsoft.com/sharepoint/&#8221;&#62;

    &#60;ListTemplate

        Name=&#8221;doclib&#8221;

        Type=&#8221;101&#8243;

 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=71&subd=sharepointdiva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>How to make the default of &#8216;<em>Display &#8220;New Folder&#8221; command on the New menu&#8217; </em>equal to No instead of Yes.
</p>
<p>Modify the DocumentLibrary.xml in the 12 Hive (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\DocumentLibrary\ListTemplates)
</p>
<p><span style="font-family:Courier New;">&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;<br />
</span></p>
<p><span style="font-family:Courier New;">&lt;Elements xmlns=&#8221;http://schemas.microsoft.com/sharepoint/&#8221;&gt;<br />
</span></p>
<p><span style="font-family:Courier New;">    &lt;ListTemplate<br />
</span></p>
<p><span style="font-family:Courier New;">        Name=&#8221;doclib&#8221;<br />
</span></p>
<p><span style="font-family:Courier New;">        Type=&#8221;101&#8243;<br />
</span></p>
<p><span style="font-family:Courier New;">        BaseType=&#8221;1&#8243;<br />
</span></p>
<p><span style="font-family:Courier New;">        OnQuickLaunch=&#8221;TRUE&#8221;<br />
</span></p>
<p><span style="color:#00b050;font-family:Courier New;font-size:12pt;"><strong>    FolderCreation=&#8221;FALSE&#8221;<br />
</strong></span></p>
<p><span style="font-family:Courier New;">        SecurityBits=&#8221;11&#8243;<br />
</span></p>
<p><span style="font-family:Courier New;">        Sequence=&#8221;110&#8243;<br />
</span></p>
<p><span style="font-family:Courier New;">        DisplayName=&#8221;$Resources:core,doclibList;&#8221;<br />
</span></p>
<p><span style="font-family:Courier New;">        Description=&#8221;$Resources:core,doclibList_Desc;&#8221;<br />
</span></p>
<p><span style="font-family:Courier New;">        Image=&#8221;/_layouts/images/itdl.gif&#8221;<br />
</span></p>
<p><span style="font-family:Courier New;">        DocumentTemplate=&#8221;101&#8243;/&gt;<br />
</span></p>
<p><span style="font-family:Courier New;">&lt;/Elements&gt;<br />
</span></p>
<p>Perform an iisreset to activate.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointdiva.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointdiva.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointdiva.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointdiva.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointdiva.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointdiva.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointdiva.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointdiva.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointdiva.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointdiva.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=71&subd=sharepointdiva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointdiva.wordpress.com/2008/12/24/setting-the-document-library-%e2%80%9cnew-folder%e2%80%9d-default-to-false/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sharepointdiva</media:title>
		</media:content>
	</item>
		<item>
		<title>Replacing Multiple Hyperlink Values in a List</title>
		<link>http://sharepointdiva.wordpress.com/2008/11/05/replacing-multiple-hyperlink-values-in-a-list/</link>
		<comments>http://sharepointdiva.wordpress.com/2008/11/05/replacing-multiple-hyperlink-values-in-a-list/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 20:13:29 +0000</pubDate>
		<dc:creator>sharepointdiva</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sharepointdiva.wordpress.com/2008/11/05/replacing-multiple-hyperlink-values-in-a-list/</guid>
		<description><![CDATA[I rather embarrassed of this solution, but I&#8217;m hoping that if I post what I&#8217;m doing some else out there will know of a better way.

 
 
I have a long list with hyperlinks.  I reuse this list in multiple locations and need to change the location name in the URL.  I export the list [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=70&subd=sharepointdiva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="color:navy;font-family:Verdana;font-size:10pt;">I rather embarrassed of this solution, but I&#8217;m hoping that if I post what I&#8217;m doing some else out there will know of a better way.<br />
</span></p>
<p> <br />
 </p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">I have a long list with hyperlinks.  I reuse this list in multiple locations and need to change the location name in the URL.  I export the list to a spreadsheet and launch the Visual Basic editor.  I then run the following code:<br />
</span></p>
<p> <br />
 </p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">Sub ReplaceHyperlinkAdresses()<br />
</span></p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">    Dim hypLink As Hyperlink<br />
</span></p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">    Dim ws As Worksheet<br />
</span></p>
<p>
 </p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">    For Each ws In Worksheets<br />
</span></p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">        For Each hypLink In ws.Hyperlinks<br />
</span></p>
<p><span style="font-family:Verdana;font-size:10pt;"><span style="color:navy;">            If hypLink.Address Like &#8220;<a></span>http://server/sites/department/Documents/Forms/OLDLOCATION.aspx*<span style="color:navy;">&#8221; Then<br />
</span></span></p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">                hypLink.Address = _<br />
</span></p>
<p><span style="font-family:Verdana;font-size:10pt;"><span style="color:navy;">                Replace(hypLink.Address, &#8220;<a></span>http://server/sites/department/Documents/Forms/OLDLOCATION.aspx<span style="color:navy;">&#8220;, &#8220;<a></span>http://server/sites/department/Documents/Forms/NEWLOCATION.aspx<span style="color:navy;">&#8220;)<br />
</span></span></p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">            End If<br />
</span></p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">        Next hypLink<br />
</span></p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">    Next ws<br />
</span></p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">End Sub<br />
</span></p>
<p> <br />
 </p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;">Afterwards, I copy and paste the column with the hyperlinks back into my list using the datasheet view.  It works, but I feel like there should be a better way to update a list of hyperlinks in a SharePoint list.<br />
</span></p>
<p><span style="color:navy;font-family:Verdana;font-size:10pt;"> <br />
</span> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointdiva.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointdiva.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointdiva.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointdiva.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointdiva.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointdiva.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointdiva.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointdiva.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointdiva.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointdiva.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=70&subd=sharepointdiva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointdiva.wordpress.com/2008/11/05/replacing-multiple-hyperlink-values-in-a-list/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sharepointdiva</media:title>
		</media:content>
	</item>
		<item>
		<title>Copy List Items between Sites</title>
		<link>http://sharepointdiva.wordpress.com/2008/08/27/copy-list-items-between-sites/</link>
		<comments>http://sharepointdiva.wordpress.com/2008/08/27/copy-list-items-between-sites/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 18:50:07 +0000</pubDate>
		<dc:creator>sharepointdiva</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://sharepointdiva.wordpress.com/2008/08/27/copy-list-items-between-sites/</guid>
		<description><![CDATA[Steps will need to be run by SharePoint Administrator:

Download Useful Sharepoint Designer Custom Workflow Activities
Extract all files in the archive to a singe location.
Run setup.exe
Go to Central Administration -&#62; Application Management -&#62; Manage Web Application Features and activate the feature for desired web applications (usually it&#8217;s Sharepoint &#8211; 80 or Sharepoint &#8211; 443).

To create workflow:
Open [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=66&subd=sharepointdiva&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2>Steps will need to be run by SharePoint Administrator:</h2>
<ol style="margin-left:49pt;">
<li><span style="font-size:10pt;font-family:Verdana;"><span style="color:#000080;">Download </span><span style="font-size:10pt;font-family:Verdana;"><a href="http://www.codeplex.com/SPDActivities/Release/ProjectReleases.aspx?ReleaseId=10103">Useful Sharepoint Designer Custom Workflow Activities</a></span></span></li>
<li><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;color:#000080;font-family:Verdana;">Extract all files in the archive to a singe location.</span></span></li>
<li><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;color:#000080;font-family:Verdana;">Run setup.exe</span></span></li>
<li><span style="font-size:10pt;font-family:Verdana;"><span style="font-size:10pt;color:#000080;font-family:Verdana;">Go to Central Administration -&gt; Application Management -&gt; Manage Web Application Features and activate the feature for desired web applications (usually it&#8217;s Sharepoint &#8211; 80 or Sharepoint &#8211; 443).</span></span></li>
</ol>
<h2>To create workflow:</h2>
<p style="margin-left:36pt;"><span style="font-size:10pt;color:#000080;font-family:Verdana;">Open up Sharepoint Designer, connect to your site and create a new workflow: <br />
</span></p>
<p style="margin-left:36pt;"><img src="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite12.png" alt="" /><span style="font-size:10pt;color:#000080;font-family:Verdana;"><br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;color:#000080;font-family:Verdana;">Action: Copy List Item Extended <br />
</span></p>
<p style="margin-left:36pt;"><img src="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite22.png" alt="" /><span style="font-size:10pt;font-family:Verdana;"><br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;font-family:Verdana;"><span style="color:#000080;">Choose List Item &#8220;Current Item&#8221;</span><br />
</span></p>
<p style="margin-left:36pt;"><img src="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite32.png" alt="" /><span style="font-size:10pt;color:#000080;font-family:Verdana;"><br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;font-family:Verdana;"><span style="color:#000080;">To list at this URL </span><br />
</span></p>
<p style="margin-left:36pt;"><img src="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite42.png" alt="" /><span style="font-size:10pt;color:#000080;font-family:Verdana;"><br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;font-family:Verdana;"><span style="color:#000080;">Leave option to &#8220;Overwrite existing items&#8221;</span><br />
</span></p>
<p style="margin-left:36pt;"><img src="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite52.png" alt="" /><span style="font-size:10pt;color:#000080;font-family:Verdana;"><br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;font-family:Verdana;"><span style="color:#000080;">Use variable (rename it to be clearer) to store ID.</span><br />
</span></p>
<p style="margin-left:36pt;"><img src="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite62.png" alt="" /><span style="font-size:10pt;color:#000080;font-family:Verdana;"><br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;color:#000080;font-family:Verdana;">I don&#8217;t know where that can be used yet since there isn&#8217;t an Update List Item Extended. Maybe that&#8217;s for a future enhancement or for those that can extend the project code.<br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;color:#000080;font-family:Verdana;">Click Finish.<br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;font-family:Verdana;"><span style="color:#000080;">Open Calendar Item and select Workflows:</span><br />
</span></p>
<p style="margin-left:36pt;"><img src="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite72.png" alt="" /><span style="font-size:10pt;color:#000080;font-family:Verdana;"><br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;font-family:Verdana;"><span style="color:#000080;">Start the workflow:</span><br />
</span></p>
<p style="margin-left:36pt;"><img src="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite82.png" alt="" /><span style="font-size:10pt;font-family:Verdana;"><br />
</span></p>
<p style="margin-left:36pt;"><img src="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite92.png" alt="" /><span style="font-size:10pt;color:#000080;font-family:Verdana;"><br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;font-family:Verdana;"><span style="color:#000080;">Go back into the workflows on the calendar entry to see the workflow history:</span><br />
</span></p>
<p style="margin-left:36pt;"><img src="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite102.png" alt="" /><span style="font-size:10pt;color:#000080;font-family:Verdana;"><br />
</span></p>
<p style="margin-left:36pt;"><span style="font-size:10pt;color:#000080;font-family:Verdana;">Once you&#8217;ve verified that the workflow works manually, you can change it to run automatically on item add or change.<br />
</span></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sharepointdiva.wordpress.com/66/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sharepointdiva.wordpress.com/66/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointdiva.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointdiva.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointdiva.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointdiva.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointdiva.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointdiva.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointdiva.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointdiva.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointdiva.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointdiva.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointdiva.wordpress.com&blog=3738557&post=66&subd=sharepointdiva&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointdiva.wordpress.com/2008/08/27/copy-list-items-between-sites/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">sharepointdiva</media:title>
		</media:content>

		<media:content url="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite12.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite22.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite32.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite42.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite52.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite62.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite72.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite82.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite92.png" medium="image" />

		<media:content url="http://sharepointdiva.files.wordpress.com/2008/08/082708-1831-copylistite102.png" medium="image" />
	</item>
	</channel>
</rss>