<?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>SharePoint 2007 Archives - Blog IT</title>
	<atom:link href="https://blogit.create.pt/category/sharepoint/sharepoint-2007/feed/" rel="self" type="application/rss+xml" />
	<link>https://blogit.create.pt/category/sharepoint/sharepoint-2007/</link>
	<description>Create IT blogger community</description>
	<lastBuildDate>Thu, 10 Jan 2019 14:15:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Add Silverlight control to SharePoint</title>
		<link>https://blogit.create.pt/antoniovargas/2009/11/30/add-silverlight-control-to-sharepoint/</link>
					<comments>https://blogit.create.pt/antoniovargas/2009/11/30/add-silverlight-control-to-sharepoint/#respond</comments>
		
		<dc:creator><![CDATA[António Vargas]]></dc:creator>
		<pubDate>Mon, 30 Nov 2009 20:28:00 +0000</pubDate>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/antoniovargas/?p=321</guid>

					<description><![CDATA[<p>One of the problems using Silverlight on SharePoint 2007 is how can we add a Silverlight control in the SharePoint site? A quickly and simple solution that i found to do it is the SPSilverlight web part, a web part that allows you to add a Silverlight control to SharePoint. The only configuration that you [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/antoniovargas/2009/11/30/add-silverlight-control-to-sharepoint/">Add Silverlight control to SharePoint</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>One of the problems using Silverlight on SharePoint 2007 is how can we add a Silverlight control in the SharePoint site?</p>
<p>A quickly and simple solution that i found to do it is the <a href="http://spilverlight.codeplex.com/">SPSilverlight</a> web part, a web part that allows you to add a Silverlight control to SharePoint.</p>
<p>The only configuration that you need to known is the path where the XAP file is stored in SharePoint (on the layout&rsquo;s folder, on the library&hellip;).</p>
<p>To use this web part you need to install the following package:</p>
<p><a href="http://spilverlight.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=35120" title="http://spilverlight.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=35120">http://spilverlight.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=35120</a></p>
<p>The post <a href="https://blogit.create.pt/antoniovargas/2009/11/30/add-silverlight-control-to-sharepoint/">Add Silverlight control to SharePoint</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/antoniovargas/2009/11/30/add-silverlight-control-to-sharepoint/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Bussiness Data Catalog on SharePoint</title>
		<link>https://blogit.create.pt/antoniovargas/2009/10/03/bussiness-data-catalog-on-sharepoint/</link>
					<comments>https://blogit.create.pt/antoniovargas/2009/10/03/bussiness-data-catalog-on-sharepoint/#respond</comments>
		
		<dc:creator><![CDATA[António Vargas]]></dc:creator>
		<pubDate>Sat, 03 Oct 2009 16:10:00 +0000</pubDate>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/antoniovargas/?p=401</guid>

					<description><![CDATA[<p>Today, i was looking to the TechNet videos for SharePoint and i found some interesting videos about Business Data Catalog (BDC). If you known what&#8217;s this feature, you can learn more about it here. Basically, the BDC is a new MOSS&#8217;s feature that allows you to integrate business data from the business applications, without spending [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/antoniovargas/2009/10/03/bussiness-data-catalog-on-sharepoint/">Bussiness Data Catalog on SharePoint</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Today, i was looking to the <a href="http://technet.microsoft.com/en-us/office/sharepointserver/bb310627.aspx">TechNet videos for SharePoint</a> and i found some interesting videos about Business Data Catalog (BDC). If you known what&rsquo;s this feature, you can learn more about it <a href="http://msdn.microsoft.com/en-us/library/ms563661.aspx">here</a>.</p>
<p>Basically, the BDC is a new MOSS&rsquo;s feature that allows you to integrate business data from the business applications, without spending much effort and without writing any line of code.</p>
<p>The interesting BDC videos to how to start to work with this feature are the following:</p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/office/sharepointserver/dd776206.aspx">Create and Configure a Business Data Catalog</a></li>
</ul>
<ul>
<li><a href="http://technet.microsoft.com/pt-pt/office/sharepointserver/dd882563(en-us).aspx">Use the Business Data Catalog</a></li>
</ul>
<p>Firstly, I watched &ldquo;Use the Business Data Catalog&rdquo; video and i was scared because to use this SharePoint feature i need to import an application definition file. And, how do i create it? Actually i don&rsquo;t want to implement it manually, and after searching about this file&rsquo;s generation, i found the first video&rsquo;s topic that explains how to generate this file. So if you want to generate Application Definition file you can use the Application Definition Editor that is inside of the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=6d94e307-67d9-41ac-b2d6-0074d6286fa9&amp;displaylang=en">SharePoint Server 2007 SDK</a>.</p>
<p>Well, for me the important question after watched this videos is: When do i should use BDC? For example, you should use BDC when your client has a LOB application and SharePoint Portal, he wants to integrate this application but he don&rsquo;t want to spend much effort with this integration, because he spent much effort with the individual application&rsquo;s maintenance. I think that isn&rsquo;t a good approach for all the business use cases, but it&rsquo;s a good approach for the simple integrations between applications.</p>
<p>The post <a href="https://blogit.create.pt/antoniovargas/2009/10/03/bussiness-data-catalog-on-sharepoint/">Bussiness Data Catalog on SharePoint</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/antoniovargas/2009/10/03/bussiness-data-catalog-on-sharepoint/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Using Silverlight in Sharepoint 2007 &#8211; Configuration</title>
		<link>https://blogit.create.pt/antoniovargas/2009/09/06/using-silverlight-in-sharepoint-2007-configuration/</link>
					<comments>https://blogit.create.pt/antoniovargas/2009/09/06/using-silverlight-in-sharepoint-2007-configuration/#respond</comments>
		
		<dc:creator><![CDATA[António Vargas]]></dc:creator>
		<pubDate>Sun, 06 Sep 2009 14:02:00 +0000</pubDate>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/antoniovargas/?p=441</guid>

					<description><![CDATA[<p>My name is Ant&#243;nio Vargas, I&#039;m Create IT&#8217;s consultant and i work here since a one year ago. Well this is my first post on the blog, and i will focus to talk about .Net, Sharepoint and Silverlight technologies on the posts. To see more about me please view my linkedin profile. Today i will [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/antoniovargas/2009/09/06/using-silverlight-in-sharepoint-2007-configuration/">Using Silverlight in Sharepoint 2007 &#8211; Configuration</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>My name is Ant&oacute;nio Vargas, I&#039;m <a href="http://www.create.pt">Create IT&rsquo;s</a> consultant and i work here since a one year ago. Well this is my first post on the blog, and i will focus to talk about .Net, Sharepoint and Silverlight technologies on the posts. To see more about me please view <a href="http://www.linkedin.com/in/tovargas">my linkedin profile</a>.</p>
<p>Today i will talk about Silverlight and Sharepoint 2007 integration. The problem with this integration is if i have a webpart that contains a Silverlight control, my webpart doesn&rsquo;t appear. And then, How do you use Silverlight controls in the SharePoint site?</p>
<p>You have to ensure that your server environment is configured for SharePoint and Silverlight intregation. To do this, you should do the following:</p>
<ol>
<li>Put the XAP files into the Sharepoint Site Bin Folder. </li>
<li>Change the MIME type in the IIS (Internet Information Services). </li>
<li>Change the web.config file in your root SharePoint Site. </li>
<li>Ensure that the System.Web.Silverlight dll is in your GAC (Global assembly cache). </li>
</ol>
<p>&nbsp;</p>
<p><strong>Put the XAP files into the Sharepoint Site Bin Folder</strong></p>
<p>You must have to put your XAP files into the Bin Folder, but exist other ways to deploy the that i will talk in the next post.</p>
<p>Steps:</p>
<ul>
<li>Add ClientBin Folder that contains XAP files in the Bin Folder. </li>
</ul>
<p>&nbsp;</p>
<p><strong>Changing the MIME Type</strong></p>
<p>You should add MIME support for Silverlight applications that you build and deploy to your SharePoint server.</p>
<p>Steps:</p>
<ul>
<li>Click Start, Administrative Tools, and then select Internet Information Services (IIS) Manager. </li>
<li>Under Web Sites in the IIS, click on the web application that represents your SharePoint site. </li>
<li>Click &ldquo;MIME Types&rdquo;, and then click &ldquo;Open Feature&rdquo;. </li>
<li>In the Mime Type View, click Add, add the file-type extension
<ul>
<li>type .xap as the &ldquo;File name extension&rdquo; </li>
<li>application/x-silverlight-2 (for Silverlight 2.0) or application/x-silverlight-app (for Silverlight 3.0) as the &ldquo;MIME Type&rdquo;. </li>
</ul>
</li>
<li>Click OK to add the new MIME type to IIS. </li>
</ul>
<p>&nbsp;</p>
<p><strong>Editing the web.config File</strong></p>
<p>By default, the web.config file of your SharePoint Site does not support Silverlight applications.</p>
<p>This is the most hardest Configuration&rsquo;s step, because it is required to copy some configurations to the web.config file. To simplify that, i found a tool named <a href="http://stsadmwebconfig.codeplex.com/">stsadm.config</a> in the CodePlex, that it will add all of the Silverlight configurations needed to the web.config of the Sharepoint Site.</p>
<p>Steps:</p>
<ul>
<li>Deploy stsadm.config&rsquo;s solution writing deploy.stsadmwebconfig.cmd in the command prompt. </li>
<li>You must use the following Xml configuration file
<pre style="background-color: #fbfbfb;width: 480px;height: 411px;overflow: auto;border: #cecece 1px solid;padding: 5px"><pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px">  1: <span style="color: #0000ff">&lt;</span><span style="color: #800000">ConfigEntries</span> <span style="color: #ff0000">owner</span>=<span style="color: #0000ff">&quot;Administrator&quot;</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px">  2: <span style="color: #0000ff">&lt;</span><span style="color: #800000">ConfigEntry</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px">  3: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Name</span><span style="color: #0000ff">&gt;</span>add[@verb=&#039;GET,HEAD&#039;][@path=&#039;ScriptResource.axd&#039;][@validate=&#039;false&#039;][@type=&#039;System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#039;]<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Name</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px">  4: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Path</span><span style="color: #0000ff">&gt;</span>configuration/system.web/httpHandlers<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Path</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px">  5: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Value</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span>![CDATA[<span style="color: #0000ff">&lt;</span><span style="color: #800000">add</span> <span style="color: #ff0000">verb</span>=<span style="color: #0000ff">&#039;GET,HEAD&#039;</span> <span style="color: #ff0000">path</span>=<span style="color: #0000ff">&#039;ScriptResource.axd&#039;</span> <span style="color: #ff0000">validate</span>=<span style="color: #0000ff">&#039;false&#039;</span> <span style="color: #ff0000">type</span>=<span style="color: #0000ff">&#039;System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#039;</span><span style="color: #0000ff">/&gt;</span>]]&gt;<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Value</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px">  6: <span style="color: #0000ff">&lt;</span><span style="color: #800000">ModType</span><span style="color: #0000ff">&gt;</span>EnsureChildNode<span style="color: #0000ff">&lt;/</span><span style="color: #800000">ModType</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px">  7: <span style="color: #0000ff">&lt;/</span><span style="color: #800000">ConfigEntry</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px">  8: <span style="color: #0000ff">&lt;</span><span style="color: #800000">ConfigEntry</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px">  9: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Name</span><span style="color: #0000ff">&gt;</span>add[@name=&#039;ScriptModule&#039;][@type=&#039;System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#039;]<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Name</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 10: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Path</span><span style="color: #0000ff">&gt;</span>configuration/system.web/httpModules<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Path</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 11: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Value</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span>![CDATA[<span style="color: #0000ff">&lt;</span><span style="color: #800000">add</span> <span style="color: #ff0000">name</span>=<span style="color: #0000ff">&#039;ScriptModule&#039;</span> <span style="color: #ff0000">type</span>=<span style="color: #0000ff">&#039;System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#039;</span><span style="color: #0000ff">/&gt;</span>]]&gt;<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Value</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 12: <span style="color: #0000ff">&lt;</span><span style="color: #800000">ModType</span><span style="color: #0000ff">&gt;</span>EnsureChildNode<span style="color: #0000ff">&lt;/</span><span style="color: #800000">ModType</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 13: <span style="color: #0000ff">&lt;/</span><span style="color: #800000">ConfigEntry</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 14: <span style="color: #0000ff">&lt;</span><span style="color: #800000">ConfigEntry</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 15: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Name</span><span style="color: #0000ff">&gt;</span>SafeControl[@Assembly=&#039;System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#039;][@Namespace=&#039;System.Web.UI&#039;][@TypeName=&#039;*&#039;][@Safe=&#039;True&#039;]<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Name</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 16: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Path</span><span style="color: #0000ff">&gt;</span>configuration/SharePoint/SafeControls<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Path</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 17: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Value</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span>![CDATA[<span style="color: #0000ff">&lt;</span><span style="color: #800000">SafeControl</span> <span style="color: #ff0000">Assembly</span>=<span style="color: #0000ff">&#039;System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#039;</span> <span style="color: #ff0000">Namespace</span>=<span style="color: #0000ff">&#039;System.Web.UI&#039;</span> <span style="color: #ff0000">TypeName</span>=<span style="color: #0000ff">&#039;*&#039;</span> <span style="color: #ff0000">Safe</span>=<span style="color: #0000ff">&#039;True&#039;</span> <span style="color: #0000ff">/&gt;</span>]]&gt;<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Value</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 18: <span style="color: #0000ff">&lt;</span><span style="color: #800000">ModType</span><span style="color: #0000ff">&gt;</span>EnsureChildNode<span style="color: #0000ff">&lt;/</span><span style="color: #800000">ModType</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 19: <span style="color: #0000ff">&lt;/</span><span style="color: #800000">ConfigEntry</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 20: <span style="color: #0000ff">&lt;</span><span style="color: #800000">ConfigEntry</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 21: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Name</span><span style="color: #0000ff">&gt;</span>SafeControl[@Assembly=&#039;System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&#039;][@Namespace=&#039;System.Web.UI.SilverlightControls&#039;][@TypeName=&#039;*&#039;][@Safe=&#039;True&#039;][@AllowRemoteDesigner=&#039;True&#039;]<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Name</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 22: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Path</span><span style="color: #0000ff">&gt;</span>configuration/SharePoint/SafeControls<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Path</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 23: <span style="color: #0000ff">&lt;</span><span style="color: #800000">Value</span><span style="color: #0000ff">&gt;</span><span style="color: #0000ff">&lt;</span>![CDATA[<span style="color: #0000ff">&lt;</span><span style="color: #800000">SafeControl</span> <span style="color: #ff0000">Assembly</span>=<span style="color: #0000ff">&quot;System.Web.Silverlight, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot;</span> <span style="color: #ff0000">Namespace</span>=<span style="color: #0000ff">&quot;System.Web.UI.SilverlightControls&quot;</span> <span style="color: #ff0000">TypeName</span>=<span style="color: #0000ff">&quot;*&quot;</span> <span style="color: #ff0000">Safe</span>=<span style="color: #0000ff">&quot;True&quot;</span> <span style="color: #ff0000">AllowRemoteDesigner</span>=<span style="color: #0000ff">&quot;True&quot;</span> <span style="color: #0000ff">/&gt;</span>]]&gt;<span style="color: #0000ff">&lt;/</span><span style="color: #800000">Value</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 24: <span style="color: #0000ff">&lt;</span><span style="color: #800000">ModType</span><span style="color: #0000ff">&gt;</span>EnsureChildNode<span style="color: #0000ff">&lt;/</span><span style="color: #800000">ModType</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #fbfbfb;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 25: <span style="color: #0000ff">&lt;/</span><span style="color: #800000">ConfigEntry</span><span style="color: #0000ff">&gt;</span><br><br></pre>
<p></p>
<pre style="background-color: #ffffff;margin: 0em;width: 100%;font-family: consolas,'Courier New',courier,monospace;font-size: 12px"> 26: <span style="color: #0000ff">&lt;/</span><span style="color: #800000">ConfigEntries</span><span style="color: #0000ff">&gt;</span></pre>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>Copy the previous xml file to C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\CONFIG. </li>
<li>Run the following command in the command prompt (replace the SharePoint Site Url):<em><span style="color: #a40000"></span></em></li>
</ul>
<blockquote><p><em><span style="color: #a40000">stsadm -o webconfig_apply -url http://createsrv:5003 -configfile SilverlightInSharepoint.xml</span></em></p></blockquote>
<pre><em><span style="color: #a40000"></span></em></pre>
<pre><em><span style="color: #a40000"></span></em></pre>
<p><strong>Add System.Web.Silverlight dll to GAC</strong></p>
<p>This step does make sense for Silverlight 2.0 because the controls in the System.Web.Silverlight assembly were officially deprecated for Silverlight 3.0. If you are using Silverlight 3.0, you don&rsquo;t need to add System.Web.Silverlight.dll to GAC. </p>
<p>Otherwise, if you are using Silverlight 2.0, you must need to add the assembly to the GAC. This assembly resides in the following path: C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Libraries\Server.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Finally, your Silverlight control just appears in the Sharepoint.</p>
<p>The post <a href="https://blogit.create.pt/antoniovargas/2009/09/06/using-silverlight-in-sharepoint-2007-configuration/">Using Silverlight in Sharepoint 2007 &#8211; Configuration</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/antoniovargas/2009/09/06/using-silverlight-in-sharepoint-2007-configuration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint in plain English</title>
		<link>https://blogit.create.pt/raulribeiro/2009/08/15/sharepoint-in-plain-english/</link>
					<comments>https://blogit.create.pt/raulribeiro/2009/08/15/sharepoint-in-plain-english/#respond</comments>
		
		<dc:creator><![CDATA[Raúl Ribeiro]]></dc:creator>
		<pubDate>Sat, 15 Aug 2009 06:57:00 +0000</pubDate>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/raulribeiro/?p=581</guid>

					<description><![CDATA[<p>&#160;If you&#039;re new to SharePoint, or working with people who are new to SharePoint and have a hard time explaining what it is, you might find the SharePoint in Plain English video to be helpful.&#160;This video takes a friendly approach to show how SharePoint can help you work together with others in more efficient ways. [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/08/15/sharepoint-in-plain-english/">SharePoint in plain English</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>&nbsp;If you&#039;re new to SharePoint, or working with people who are new to SharePoint and have a hard time explaining what it is, you might find the SharePoint in Plain English video to be helpful.<br />&nbsp;<br />This video takes a friendly approach to show how SharePoint can help you work together with others in more efficient ways. For example, SharePoint can help you plan and work on a project online instead of sending files back and forth in e-mail.&nbsp;</p>
</p>
<p><a href="http://www.microsoft.com/video/en/us/details/76e8d3af-c2bd-42a6-bb12-befcbd041bf1?vp_evt=eref&amp;vp_video=SharePoint%20in%20Plain%20English">SharePoint in Plain English</a></p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/08/15/sharepoint-in-plain-english/">SharePoint in plain English</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/raulribeiro/2009/08/15/sharepoint-in-plain-english/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Change SharePoint Diagnostic Logging</title>
		<link>https://blogit.create.pt/raulribeiro/2009/07/28/change-sharepoint-diagnostic-logging/</link>
					<comments>https://blogit.create.pt/raulribeiro/2009/07/28/change-sharepoint-diagnostic-logging/#respond</comments>
		
		<dc:creator><![CDATA[Raúl Ribeiro]]></dc:creator>
		<pubDate>Tue, 28 Jul 2009 12:34:00 +0000</pubDate>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/raulribeiro/?p=601</guid>

					<description><![CDATA[<p>Hi, When you change SharePoint Diagnostic Logging to use verbose, the log files will growth rapidly, so you should only use verbose mode for short periods of time. If you change a lot of the default settings, since each category is set to a specific level (let&#8217;s say, for Backup category levels &#8220;Error&#8221; and &#8220;medium&#8221;, [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/07/28/change-sharepoint-diagnostic-logging/">Change SharePoint Diagnostic Logging</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hi, </p>
<p>When you change SharePoint Diagnostic Logging to use verbose, the log files will growth rapidly, so you should only use verbose mode for short periods of time. </p>
<p><img decoding="async" src="http://img233.imageshack.us/img233/7224/diagnosticlogging.png"> </p>
<p>If you change a lot of the default settings, since each category is set to a specific level (let&rsquo;s say, for Backup category levels &ldquo;Error&rdquo; and &ldquo;medium&rdquo;, while maybe Search was at &ldquo;Information&rdquo; and &ldquo;Verbose&rdquo;) and want to restore everything backup to default the best way is using the STSADM command <strong>STSADM.EXE -o setlogginglevel -default</strong></p>
<p>But if you have enough patience and you know exactly the levels for all categories, you can of course do it using the UI 😉</p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/07/28/change-sharepoint-diagnostic-logging/">Change SharePoint Diagnostic Logging</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/raulribeiro/2009/07/28/change-sharepoint-diagnostic-logging/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Get SharePoint List in XML Format</title>
		<link>https://blogit.create.pt/raulribeiro/2009/06/03/get-sharepoint-list-in-xml-format/</link>
					<comments>https://blogit.create.pt/raulribeiro/2009/06/03/get-sharepoint-list-in-xml-format/#respond</comments>
		
		<dc:creator><![CDATA[Raúl Ribeiro]]></dc:creator>
		<pubDate>Wed, 03 Jun 2009 12:59:00 +0000</pubDate>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/raulribeiro/?p=621</guid>

					<description><![CDATA[<p>I was building an InfoPath and it was necessary to retrieve information from a SharePoint List in XML format so i used this simple URL: http://YOUR SITE/_vti_bin/owssvr.dll?Cmd=Display&#38;List={LISTGUID}&#38;View={VIEWGUID}&#38;XMLDATA=TRUE With this url you can create views with the information that you need and use it in xml format.</p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/06/03/get-sharepoint-list-in-xml-format/">Get SharePoint List in XML Format</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div>I was building an InfoPath and it was necessary to retrieve information from a SharePoint List in XML format so i used this simple URL:</div>
<div></div>
<div>http://YOUR SITE/_vti_bin/owssvr.dll?Cmd=Display&amp;List={LISTGUID}&amp;View={VIEWGUID}&amp;XMLDATA=TRUE</div>
<div></div>
<div>With this url you can create views with the information that you need and use it in xml format.</div>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/06/03/get-sharepoint-list-in-xml-format/">Get SharePoint List in XML Format</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/raulribeiro/2009/06/03/get-sharepoint-list-in-xml-format/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint Designer will be free</title>
		<link>https://blogit.create.pt/raulribeiro/2009/03/27/sharepoint-designer-will-be-free/</link>
					<comments>https://blogit.create.pt/raulribeiro/2009/03/27/sharepoint-designer-will-be-free/#respond</comments>
		
		<dc:creator><![CDATA[Raúl Ribeiro]]></dc:creator>
		<pubDate>Fri, 27 Mar 2009 11:52:00 +0000</pubDate>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/raulribeiro/?p=741</guid>

					<description><![CDATA[<p>As of April 2nd, SharePoint Designer will be free to download from here: http://office.microsoft.com/en-us/sharepointdesigner/default.aspx &#160;</p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/03/27/sharepoint-designer-will-be-free/">SharePoint Designer will be free</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>As of April 2nd, SharePoint Designer will be free to download from here:</p>
<p><a href="http://office.microsoft.com/en-us/sharepointdesigner/default.aspx">http://office.microsoft.com/en-us/sharepointdesigner/default.aspx</a></p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/03/27/sharepoint-designer-will-be-free/">SharePoint Designer will be free</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/raulribeiro/2009/03/27/sharepoint-designer-will-be-free/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Using SPDisposeCheck in Visual Studio 2005/2008</title>
		<link>https://blogit.create.pt/raulribeiro/2009/02/24/using-spdisposecheck-in-visual-studio-20052008/</link>
					<comments>https://blogit.create.pt/raulribeiro/2009/02/24/using-spdisposecheck-in-visual-studio-20052008/#respond</comments>
		
		<dc:creator><![CDATA[Raúl Ribeiro]]></dc:creator>
		<pubDate>Tue, 24 Feb 2009 15:26:00 +0000</pubDate>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/raulribeiro/?p=781</guid>

					<description><![CDATA[<p>After the much&#160;anticipated&#160;release of the SPDisposeCheck from Microsoft via codeplex (http://blogs.msdn.com/sharepoint/archive/2009/01/29/spdisposecheck-released.aspx), this would make a pretty cool External Tool for Visual Studio &#160;Here how to set it up http://www.sharepointblogs.com/teameli/archive/2009/02/20/using-spdisposecheck-in-visual-studio.aspx</p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/02/24/using-spdisposecheck-in-visual-studio-20052008/">Using SPDisposeCheck in Visual Studio 2005/2008</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><span class="Apple-style-span" style="text-indent: 0px;border-collapse: separate;font: 12px Arial;letter-spacing: normal;color: #333333">After the much<span class="Apple-converted-space">&nbsp;</span><span style="font-family: Arial, sans-serif;color: black;font-size: 9pt">anticipated<span class="Apple-converted-space">&nbsp;</span></span>release of the SPDisposeCheck from Microsoft via codeplex (<a href="http://blogs.msdn.com/sharepoint/archive/2009/01/29/spdisposecheck-released.aspx" style="color: #3366cc;text-decoration: none">http://blogs.msdn.com/sharepoint/archive/2009/01/29/spdisposecheck-released.aspx</a>), this would make a pretty cool External Tool for Visual Studio</span></p>
<p><span class="Apple-style-span" style="text-indent: 0px;border-collapse: separate;font: 12px Arial;letter-spacing: normal;color: #333333">&nbsp;</span><span class="Apple-style-span" style="text-indent: 0px;border-collapse: separate;font: 12px Arial;letter-spacing: normal;color: #333333">Here how to set it up <a href="http://www.sharepointblogs.com/teameli/archive/2009/02/20/using-spdisposecheck-in-visual-studio.aspx">http://www.sharepointblogs.com/teameli/archive/2009/02/20/using-spdisposecheck-in-visual-studio.aspx</a></span></p>
<p><span class="Apple-style-span" style="text-indent: 0px;border-collapse: separate;font: 12px Arial;letter-spacing: normal;color: #333333"></span></p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/02/24/using-spdisposecheck-in-visual-studio-20052008/">Using SPDisposeCheck in Visual Studio 2005/2008</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/raulribeiro/2009/02/24/using-spdisposecheck-in-visual-studio-20052008/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>DevDays 2009 @ IST &#8211; TagusPark</title>
		<link>https://blogit.create.pt/raulribeiro/2009/02/19/devdays-2009-ist-taguspark/</link>
					<comments>https://blogit.create.pt/raulribeiro/2009/02/19/devdays-2009-ist-taguspark/#respond</comments>
		
		<dc:creator><![CDATA[Raúl Ribeiro]]></dc:creator>
		<pubDate>Thu, 19 Feb 2009 18:28:00 +0000</pubDate>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[devdays 2009]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/raulribeiro/?p=841</guid>

					<description><![CDATA[<p>Terminou o DevDays 2009. Este ano o evento era para ser menor em rela&#231;&#227;o ao dos &#250;ltimos dois anos, contudo penso que se superou a expectativa visto que pelo que sei estiveram cerca de 1000 pessoas no evento, ou seja, pouco menos que no evento do ano passado. Ontem juntamente com o meu colega e [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/02/19/devdays-2009-ist-taguspark/">DevDays 2009 @ IST &#8211; TagusPark</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Terminou o DevDays 2009. Este ano o evento era para ser menor em rela&ccedil;&atilde;o ao dos &uacute;ltimos dois anos, contudo penso que se superou a expectativa visto que pelo que sei estiveram cerca de 1000 pessoas no evento, ou seja, pouco menos que no evento do ano passado.</p>
<p><span class="Apple-style-span" style="border-collapse: collapse"></span></p>
<p>Ontem juntamente com o meu colega e amigo <a href="/blogs/andrevala/default.aspx" target="_blank"><strong>Andr&eacute; Vala</strong></a> fiz uma sess&atilde;o (WUX207) sobre Deployment em SharePoint, estiveram cerca de 80 pessoas na sala, gostei da forma como a sess&atilde;o decorreu, contudo tivemos que baixar o n&iacute;vel da sess&atilde;o visto estar preparada para um&nbsp;n&iacute;vel mais perto do 300.</p>
<p>A ideia principal da sess&atilde;o era mostrar as formas de fazer deployment em SharePoint e principalmente a raz&atilde;o para se usar ao m&aacute;ximo, quando poss&iacute;vel, <span class="Apple-style-span" style="font-weight: bold">solutions</span> e <span class="Apple-style-span" style="font-weight: bold">features</span>.</p>
<p>Aproveito para disponibilizar o conte&uacute;do da apresenta&ccedil;&atilde;o, <a href="http://i5qscg.blu.livefilestore.com/y1pvsnwDADCMb65Mhr-FeGTdCOJ87gr8U2ZtNCXbhzvTdWiajPvok9fyMQDfOXUAUZ3T8pT4JZ4-gVoN1J7h9PN9A/WUX207%20-%20SharePoint%20Deployment.pdf?download" target="_blank"><strong>PDF</strong></a> e <a href="http://i5qscg.blu.livefilestore.com/y1pvsnwDADCMb7n2IXMaXopaa00kwV2JYh39FjXXpADuuBrk7ofRb7iNItqK9lkFT0EBsuMBrXfcoXlFeQMOyZv2Q/Exemplos.7z?download" target="_blank"><strong>demos</strong></a>.</p>
<p>Para quem viu a apresenta&ccedil;&atilde;o espero que tenha gostado, caso tenham alguma d&uacute;vida est&atilde;o &agrave; vontade para as colocar atrav&eacute;s do link &quot;Email&quot; que se encontra no menu do blog.</p>
<p>Para al&eacute;m da sess&atilde;o acima referida, a <span class="Apple-style-span" style="font-weight: bold">|create|<span style="color: red">it</span>|</span> este presente com mais dois speakers, <a href="/blogs/joaomartins/" target="_blank">Jo&atilde;o Pedro Martins</a> que fez tr&ecirc;s sess&otilde;es e <a href="/blogs/marcosilva/" target="_blank">Marco Silva</a> que fez uma sess&atilde;o sobre <strong>Servi&ccedil;os REST sobre WCF.</strong></p>
<p>&nbsp;</p>
<p>The post <a href="https://blogit.create.pt/raulribeiro/2009/02/19/devdays-2009-ist-taguspark/">DevDays 2009 @ IST &#8211; TagusPark</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/raulribeiro/2009/02/19/devdays-2009-ist-taguspark/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SharePoint 2007 Workflow &#8211; Using the OnWorkflowItemDeleted activity</title>
		<link>https://blogit.create.pt/miguelisidoro/2009/02/07/sharepoint-2007-workflow-using-the-onworkflowitemdeleted-activity/</link>
					<comments>https://blogit.create.pt/miguelisidoro/2009/02/07/sharepoint-2007-workflow-using-the-onworkflowitemdeleted-activity/#respond</comments>
		
		<dc:creator><![CDATA[Miguel Isidoro]]></dc:creator>
		<pubDate>Sat, 07 Feb 2009 16:03:48 +0000</pubDate>
				<category><![CDATA[Windows Workflow Foundation]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Workflows]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[WSS]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/miguelisidoro/?p=71</guid>

					<description><![CDATA[<p>Introduction One of the most exciting features included in SharePoint 2007 is workflow support and the possibility of developing our own custom workflows (for more information about workflow development in the SharePoint 2007 platform please click here). While it is possible to develop workflows to automate a series of activities without any human intervention, the [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2009/02/07/sharepoint-2007-workflow-using-the-onworkflowitemdeleted-activity/">SharePoint 2007 Workflow &#8211; Using the OnWorkflowItemDeleted activity</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h5>Introduction</h5>
<p>One of the most exciting features included in SharePoint 2007 is workflow support and the possibility of developing our own custom workflows (for more information about workflow development in the SharePoint 2007 platform please click <a href="http://msdn.microsoft.com/en-us/library/ms549489.aspx" target="_blank">here</a>). </p>
<p>While it is possible to develop workflows to automate a series of activities without any human intervention, the full power of workflows in the SharePoint platform can only be achieved with human-oriented workflows. These workflows are characterized by creating and assigning tasks to users that must complete them in order to fulfill the purpose of the workflow. Some examples of out of the box human-oriented workflows that are included with MOSS 2007 are Approval, Collect Feedback and Issue Tracking.</p>
<p>In the SharePoint world, the most common usage of human-oriented workflows is in the context of document libraries, to perform some work when a new document is uploaded into a document library. Typically, in such scenario, tasks are created and assigned to users throughout the workflow lifetime that will complete them until the workflow purpose has been fulfilled. Having the workflow goal to be achieved is the desired and most common scenario, but unexpected actions may occur before the end of the workflow such as a user to delete the document. The following example will show you how to handle this situation in a custom workflow by using the OnWorkflowItemDeleted activity.</p>
<h5>Example</h5>
<p>The OnWorkflowItemDeleted activity can be used within a custom workflow to handle an item deletion in any SharePoint list. In this example, this activity will be used to delete all uncompleted tasks associated with the deleted item. After dragging and dropping the OnWorkflowItemDeleted activity into the workflow designer, the Invoke property must be set to the event handler that will perform the work. </p>
<p>For the purpose of this example, please consider the simple approval workflow in the following image:</p>
<p><img decoding="async" src="http://pic90.picturetrail.com/VOL2147/10903553/19399056/354040008.jpg"> </p>
<p>In this workflow, a parallel activity with two branches is used. One contains the main workflow logic while the other contains a OnWorkflowItemDeleted activity that will handle the item deletion. The Invoke event property was set to be handled by an event handler method called OnWorkflowItemDeleted_Invoked. Let&#8217;s take a look at the code:</p>
<pre class="code"><span style="color: blue">public sealed partial class </span><span style="color: #2b91af">ApprovalWorkflow </span>: SequentialWorkflowActivity
{
    <span style="color: gray">/// &lt;summary&gt;
    /// </span><span style="color: green">Handles the workflow item deleted event.
    </span><span style="color: gray">/// &lt;/summary&gt;
    /// &lt;param name=&quot;sender&quot;&gt;&lt;/param&gt;
    /// &lt;param name=&quot;e&quot;&gt;&lt;/param&gt;
    </span><span style="color: blue">private void </span>OnWorkflowItemDeleted_Invoked(<span style="color: blue">object </span>sender, ExternalDataEventArgs e)
    {
        <span style="color: green">//delete uncompleted tasks when 
        //an item is deleted
        </span>SPWorkflow workflowInstance = 
            workflowProperties.Workflow;
        SPWorkflowTaskCollection taskCollection = 
            GetWorkflowTasks(workflowInstance);
        <span style="color: blue">for </span>(<span style="color: blue">int </span>i = taskCollection.Count; i &gt; 0; i--)
        {
            SPWorkflowTask task = 
                taskCollection[i - 1];
            <span style="color: blue">using </span>(SPWeb web = 
                workflowProperties.Web)
            {
                <span style="color: blue">if </span>(task[SPBuiltInFieldId.TaskStatus]
                    .ToString() != SPResource.GetString
                    (<span style="color: blue">new </span><span style="color: #2b91af">CultureInfo</span>((<span style="color: blue">int</span>)web.Language, <span style="color: blue">false</span>),
                    <span style="color: #a31515">&quot;WorkflowTaskStatusComplete&quot;</span>, <span style="color: blue">new object</span>[0]))
                {
                    task.Delete();
                }
            }
        }
    }

    <span style="color: gray">/// &lt;summary&gt;
    /// </span><span style="color: green">Reads the workflow tasks. This method 
    </span><span style="color: gray">/// </span><span style="color: green">is implemented because the Tasks property
    </span><span style="color: gray">/// </span><span style="color: green">of the SPWorkflow instance takes a 
    </span><span style="color: gray">/// </span><span style="color: green">while to be populated.
    </span><span style="color: gray">/// &lt;/summary&gt;
    </span><span style="color: blue">public static </span>SPWorkflowTaskCollection 
        GetWorkflowTasks(SPWorkflow workflowInstance)
    {
        SPWorkflowTaskCollection taskCollection = <span style="color: blue">null</span>;
        <span style="color: blue">bool </span>tasksPopulated = <span style="color: blue">false</span>;
        <span style="color: blue">while </span>(!tasksPopulated)
        {
            <span style="color: blue">try
            </span>{
                taskCollection = workflowInstance.Tasks;
                tasksPopulated = <span style="color: blue">true</span>;
            }
            <span style="color: blue">catch </span>{ }
        }

        <span style="color: blue">return </span>taskCollection;
    }
}</pre>
<p><a href="http://11011.net/software/vspaste"></a></p>
<p>In the previous example, the following actions are being performed:</p>
<ul>
<li>In the OnWorkflowItemDeleted_Invoked event handler, the workflow instance task collection is obtained by calling the GetWorkflowTasks method;</li>
<li>The task collection is iterated and the each task status is checked to verify if it is still uncompleted;</li>
<li>If so, the task is deleted.</li>
</ul>
<p>The post <a href="https://blogit.create.pt/miguelisidoro/2009/02/07/sharepoint-2007-workflow-using-the-onworkflowitemdeleted-activity/">SharePoint 2007 Workflow &#8211; Using the OnWorkflowItemDeleted activity</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/miguelisidoro/2009/02/07/sharepoint-2007-workflow-using-the-onworkflowitemdeleted-activity/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
