<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2475950775764872814</id><updated>2024-11-01T10:38:05.215+01:00</updated><category term="SharePoint 2010"/><category term="SharePoint"/><category term="PowerShell"/><category term="SharePoint 2010 State Machine Workflow"/><category term="SharePoint 2013"/><category term="Administrator-approved form templates"/><category term="CSS"/><category term="Calculated Field"/><category term="Configure"/><category term="Core"/><category term="Created By e-mail"/><category term="Custom Actions"/><category term="DependentLookup"/><category term="Document ID"/><category term="Document Properties Promotion"/><category term="ECMAScript"/><category term="Emmet"/><category term="Enable"/><category term="Engine"/><category term="Hacks"/><category term="IE"/><category term="IHttpModule"/><category term="InfoPath 2010"/><category term="ListSeparator"/><category term="Locale"/><category term="Lookup Fields"/><category term="Managed Metadata"/><category term="Microsoft.SharePoint.Taxonomy.Term"/><category term="ParserEnabled"/><category term="PnP"/><category term="Provisioning"/><category term="Reusable Workflows"/><category term="Reusable Workflows Deployment"/><category term="SPDisposeCheck"/><category term="SPWeb.ParserEnabled"/><category term="SPWebConfigModification"/><category term="SharePoint 2010 Client Object Model"/><category term="SharePoint 2010 Custom Library Template"/><category term="SharePoint 2010 Custom List Template"/><category term="SharePoint 2010 Workflow"/><category term="SharePoint Designer"/><category term="SharePoint Designer 2010"/><category term="SharePoint Server Workflow Task"/><category term="StartListWorkflow"/><category term="System.ArgumentException: Value does not fall within the expected range"/><category term="Taxonomy"/><category term="TaxonomyHiddenList"/><category term="Unique Document IDs"/><category term="User Information List"/><category term="Visual Studio"/><category term="Visual Studio 2010"/><category term="Visual Studio 2012"/><category term="Visual Studio Code"/><category term="Workflow Activities"/><category term="Workflow Initialization Page"/><category term="Workflow Task"/><category term="Workflows"/><category term="caml query"/><category term="postgresql"/><category term="snippets"/><category term="tokens"/><title type='text'>DEVELOPER TRACK</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-600283006029650125</id><published>2021-09-27T11:48:00.003+02:00</published><updated>2021-09-27T11:48:29.556+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Emmet"/><category scheme="http://www.blogger.com/atom/ns#" term="snippets"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio Code"/><title type='text'>Emmet in Visual Studio Code | cheat sheet link</title><content type='html'>&lt;p style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px 0px 10px; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;Support for&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;external-link&quot; href=&quot;https://emmet.io/&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0071bc; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Emmet&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;snippets and expansion is built right into Visual Studio Code,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=&quot;box-sizing: border-box; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-weight: 600;&quot;&gt;no extension required&lt;/strong&gt;.&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://code.visualstudio.com/blogs/2017/08/07/emmet-2.0&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0071bc; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; text-decoration: none;&quot;&gt;Emmet 2.0&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;has support for the majority of the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;external-link&quot; href=&quot;https://docs.emmet.io/actions/&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0071bc; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Emmet Actions&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;including expanding&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;external-link&quot; href=&quot;https://docs.emmet.io/cheat-sheet/&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #0071bc; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;Emmet abbreviations and snippets&lt;/a&gt;.&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px 0px 10px; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px 0px 10px; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;Emmet is a web-developer’s toolkit that can greatly improve your HTML &amp;amp; CSS workflow&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px 0px 10px; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px 0px 10px; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;Links:&lt;/p&gt;&lt;p style=&quot;-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #444444; font-family: &amp;quot;Segoe UI&amp;quot;, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin: 0px 0px 10px; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-decoration-thickness: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;a href=&quot;https://code.visualstudio.com/docs/editor/emmet&quot;&gt;Emmet in Visual Studio Code&lt;/a&gt;&amp;nbsp; &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: verdana;&quot;&gt;&lt;a href=&quot;https://docs.emmet.io/cheat-sheet/&quot;&gt;Cheat Sheet (emmet.io)&lt;/a&gt; &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/p&gt;&amp;nbsp;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/600283006029650125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/600283006029650125' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/600283006029650125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/600283006029650125'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2021/09/emmet-in-visual-studio-code-cheat-sheet.html' title='Emmet in Visual Studio Code | cheat sheet link'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-6323578714722294301</id><published>2021-09-24T14:27:00.000+02:00</published><updated>2021-09-24T14:27:30.233+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Core"/><category scheme="http://www.blogger.com/atom/ns#" term="Engine"/><category scheme="http://www.blogger.com/atom/ns#" term="PnP"/><category scheme="http://www.blogger.com/atom/ns#" term="Provisioning"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="tokens"/><title type='text'>Office 365 Developer PnP Core Component Provisioning Engine Tokens</title><content type='html'>&lt;p&gt;The SharePoint PnP Core Provisioning Engine supports certain tokens which will be replaced by corresponding values during provisioning. These tokens can be used to make the template site collection independent for instance.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href=&quot;https://github.com/pnp/PnP-Sites-Core/blob/master/Core/ProvisioningEngineTokens.md&quot;&gt;PnP-Sites-Core/ProvisioningEngineTokens.md at master · pnp/PnP-Sites-Core · GitHub&lt;/a&gt; &lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/6323578714722294301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/6323578714722294301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/6323578714722294301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/6323578714722294301'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2021/09/office-365-developer-pnp-core-component.html' title='Office 365 Developer PnP Core Component Provisioning Engine Tokens'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-2501782712569542469</id><published>2016-04-18T09:05:00.000+02:00</published><updated>2016-04-18T09:11:11.704+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="caml query"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="System.ArgumentException: Value does not fall within the expected range"/><title type='text'>SharePoint 2013 CAML Query Errors</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
I got this error while running a CAML Query from a SharePoint 2013 Client application:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;System.ArgumentException: Value does not fall within the expected range.&lt;/span&gt;&lt;/b&gt;&lt;/blockquote&gt;
This was happening only in the Prod environment.&lt;br /&gt;
&lt;br /&gt;
One thing that needs to be checked is that in &lt;i&gt;Central Administration &amp;gt; Resource Throttling &amp;gt;&amp;nbsp;List View Lookup Threshold&lt;/i&gt; is high enough for all lookup fields in your query:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1H7G9BzDqCyiY3nQNazMD37OyHfTRfPoxvrruXAF33WnlaSmwBO3CodJqzTuCCPAinsuJ-89EQ2mZxnF9os83zspv-HTRku5fJyUgP3s02-LwLadgPj9TyNx1kuXz7FNP_R0Kphsw-9Jq/s1600/List+View+Lookup+Threshold.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1H7G9BzDqCyiY3nQNazMD37OyHfTRfPoxvrruXAF33WnlaSmwBO3CodJqzTuCCPAinsuJ-89EQ2mZxnF9os83zspv-HTRku5fJyUgP3s02-LwLadgPj9TyNx1kuXz7FNP_R0Kphsw-9Jq/s1600/List+View+Lookup+Threshold.PNG&quot; title=&quot;List View Lookup Threshold&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/2501782712569542469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/2501782712569542469' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/2501782712569542469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/2501782712569542469'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2016/04/sharepoint-2013-caml-query-errors.html' title='SharePoint 2013 CAML Query Errors'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1H7G9BzDqCyiY3nQNazMD37OyHfTRfPoxvrruXAF33WnlaSmwBO3CodJqzTuCCPAinsuJ-89EQ2mZxnF9os83zspv-HTRku5fJyUgP3s02-LwLadgPj9TyNx1kuXz7FNP_R0Kphsw-9Jq/s72-c/List+View+Lookup+Threshold.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-1987188555890243959</id><published>2015-03-17T11:23:00.002+01:00</published><updated>2015-03-17T11:23:39.755+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Document Properties Promotion"/><category scheme="http://www.blogger.com/atom/ns#" term="ParserEnabled"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="SPWeb.ParserEnabled"/><title type='text'>SPWeb.ParserEnabled property</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
When set to &lt;b&gt;TRUE&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;when a document is added to a document library, the values of the fields in the list item for the document are added to the metadata properties of the document file.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;when you download and upload it again these properties are kept&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
When set to &lt;b&gt;FALSE&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;all of the above is ignored - no custom metadata properties from the library is added to the document when added or uploaded.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;the issue comes if you are using sandbox solutions - nothing works anymore since none of the solution properties of the package are set and thus you cannot activate / upgrade any solution.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/1987188555890243959/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/1987188555890243959' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/1987188555890243959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/1987188555890243959'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2015/03/spwebparserenabled-property.html' title='SPWeb.ParserEnabled property'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-5591343244689808705</id><published>2014-09-30T15:39:00.000+02:00</published><updated>2014-09-30T15:39:30.525+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft.SharePoint.Taxonomy.Term"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><category scheme="http://www.blogger.com/atom/ns#" term="Taxonomy"/><title type='text'>Powershell: Delete Taxonomy Term</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Delete a &lt;a href=&quot;http://msdn.microsoft.com/en-us/subscriptions/downloads/microsoft.sharepoint.taxonomy.term(v=office.14)&quot; target=&quot;_blank&quot;&gt;Term&lt;/a&gt; in a TermStore using PowerShell:

&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Delete&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-SP&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Term&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;$SiteUrl&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; $TermStoreName&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; $TermName&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Start&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;SPAssignment&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Global&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;try&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
        $site &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Get&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;SPSite&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; $SiteUrl 
        $session &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Microsoft&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;SharePoint&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Taxonomy&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;TaxonomySession&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;$site&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
        $termstore &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; $session&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;TermStores&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;$termStoreName&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
        $terms&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; $termstore&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;GetTerms&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;$termName&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; $false&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;$terms&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Count&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;gt &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; color: #006666; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;){&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
            $terms&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; color: #006666; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Delete&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
            $termstore&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;CommitAll&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Write&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Host&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&#39;Term deleted!&#39;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
            &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Write&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Host&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&#39;Term not found!&#39;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;finally&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Stop&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;SPAssignment&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Global&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
Use example:&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Delete&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;GroupTerm&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;SiteUrl&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;&lt;stiteurl&gt;&quot;&lt;/stiteurl&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;TermStoreName&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;&lt;termstorename&gt;&quot;&lt;/termstorename&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;TermName&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;&lt;termname&gt;&quot;&lt;/termname&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16.8016815185547px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/5591343244689808705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/5591343244689808705' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/5591343244689808705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/5591343244689808705'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2014/09/powershell-delete-taxonomy-term.html' title='Powershell: Delete Taxonomy Term'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-3993369799675158975</id><published>2013-11-15T16:18:00.001+01:00</published><updated>2013-11-15T16:18:06.475+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010 State Machine Workflow"/><category scheme="http://www.blogger.com/atom/ns#" term="StartListWorkflow"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflow Initialization Page"/><title type='text'>SharePoint 2010 State Machine Workflow error: &quot;Failed to Start Workflow&quot;</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;I&#39;ve been working on a custom state machine workflow for a specific content type. I&#39;ve associated the workflow to the content type like this:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; direction: ltr; font-family: inherit; font-size: 13px; line-height: 20px; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;AssociationCategories&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ContentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; color: #006666; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;0x01........&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;AssociationCategories&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;This workflow has a custom initiation form, in which I&#39;m passing some options to the workflow.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;After doing the association to the content type I started getting the following error: &quot;Failed to Start Workflow&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;After doing a bit of debugging and head scratching I found that in the&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;StartListWorkflow&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; method inside the initiation page in which the workflow association is retrieved from the workflowList.WorkflowAssociations list and it does not take into consideration the ContentType workflow associations.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; font-family: inherit; font-size: 13px; line-height: 20px; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;StartListWorkflow&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; font-family: inherit; font-size: 13px; line-height: 20px; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;b&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPWorkflowAssociation&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; association &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;workflowList&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;WorkflowAssociations&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Guid&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;associationGuid&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)];&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: #fcfcfc; border: none; color: black; font-family: inherit; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; list-style-type: none; margin: 0px; orphans: auto; padding: 2px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: auto; word-spacing: 0px; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;-webkit-text-stroke-width: 0px; background-color: #fcfcfc; border: none; color: black; font-family: inherit; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 20px; list-style-type: none; margin: 0px; orphans: auto; padding: 2px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: auto; word-spacing: 0px; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;        this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Site&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;WorkflowManager&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;StartWorkflow&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;workflowListItem&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; association&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;GetInitiationData&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;());&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPUtility&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Redirect&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;workflowList&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;DefaultViewUrl&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPRedirectFlags&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;UseSource&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;HttpContext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Current&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;So I replaced this line:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; font-family: inherit; font-size: 13px; line-height: 20px; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPWorkflowAssociation&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; association &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;workflowList&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;WorkflowAssociations&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Guid&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;associationGuid&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)];&lt;/span&gt;&lt;/pre&gt;
&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span class=&quot;pun&quot; style=&quot;border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;with this line:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; font-family: inherit; font-size: 13px; line-height: 20px; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;border: none; direction: ltr; font-family: inherit; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPWorkflowAssociation&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; association &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;workflowList&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ContentTypes&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;workflowListItem&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ContentTypeId&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;WorkflowAssociations&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Guid&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;associationGuid&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)];&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
in which I&#39;m getting looking for the association in the WorkflowAssociations of the list content type of the workflowListItem.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/3993369799675158975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/3993369799675158975' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/3993369799675158975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/3993369799675158975'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2013/11/sharepoint-2010-state-machine-workflow.html' title='SharePoint 2010 State Machine Workflow error: &quot;Failed to Start Workflow&quot;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-7450646950374159750</id><published>2013-10-10T13:13:00.001+02:00</published><updated>2013-10-10T13:13:32.245+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Configure"/><category scheme="http://www.blogger.com/atom/ns#" term="Document ID"/><category scheme="http://www.blogger.com/atom/ns#" term="Enable"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Unique Document IDs"/><title type='text'>SharePoint 2010 - Enable and configure unique Document IDs</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There is a great article on how to &lt;a href=&quot;https://office.microsoft.com/en-in/sharepoint-server-help/enable-and-configure-unique-document-ids-HA101790471.aspx&quot; target=&quot;_blank&quot;&gt;Enable and configure unique Document IDs&lt;/a&gt; on&amp;nbsp;Microsoft.com.&lt;br /&gt;
&lt;br /&gt;
In short you need to:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Activate the Document ID site collection feature&lt;/li&gt;
&lt;li&gt;Enable and configure the use of Document IDs in a site collection&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
But what it doesn&#39;t mention is that behind the scenes there are two time jobs that need to run to activate this feature: one to add the Document ID column and one to generate unique ids for the existing documents. But, these jobs are set to run once a day.&lt;br /&gt;
&lt;br /&gt;
So if you need your unique Document IDs to be activate right away, you need to go to Central Administration and run these two timer jobs for your respective web application:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Document ID enable/disable job&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Document ID assignment job&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/7450646950374159750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/7450646950374159750' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/7450646950374159750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/7450646950374159750'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2013/10/sharepoint-2010-enable-and-configure.html' title='SharePoint 2010 - Enable and configure unique Document IDs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-534420184243017539</id><published>2013-09-19T12:19:00.002+02:00</published><updated>2013-09-19T12:19:27.316+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010 State Machine Workflow"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010 Workflow"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio"/><title type='text'>System.InvalidOperationException: The event receiver context for Workflow is invalid.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Ever got this error while developing SharePoint 2010 Workflows in Visual Studio?&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;System.InvalidOperationException: The event receiver context for Workflow is invalid.&lt;br /&gt;at Microsoft.SharePoint.SPEventReceiverDefinition.ValidContext()&lt;br /&gt;at Microsoft.SharePoint.SPEventReceiverDefinition.GetSqlCommandToAddEventReceivers(IList`1 erds)&lt;br /&gt;at Microsoft.SharePoint.Workflow.SPWinOESubscriptionService.CommitNewSubscriptions(Transaction txn, IList`1 erds)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Check the you have set the all the TaskIds in your code:&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;TaskId = Guid.NewGuid();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
If this is not the case need to check that your Correlation Tokens are setup correctly.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/534420184243017539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/534420184243017539' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/534420184243017539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/534420184243017539'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2013/09/systeminvalidoperationexception-event.html' title='System.InvalidOperationException: The event receiver context for Workflow is invalid.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-4391764445344515644</id><published>2013-07-30T09:05:00.004+02:00</published><updated>2013-07-30T09:05:52.798+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SPDisposeCheck"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2012"/><title type='text'>SPDisposeCheck for Visual Studio 2012</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Found a great project on CodePlex that allows the creation of an S&lt;span style=&quot;color: #253340; line-height: 19.015625px;&quot;&gt;PDisposeCheck Static Code Analysis Ruleset:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #253340; line-height: 19.015625px;&quot;&gt;&lt;a href=&quot;http://spdisposecheck2012.codeplex.com/&quot;&gt;http://spdisposecheck2012.codeplex.com&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #253340; line-height: 19.015625px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #253340; line-height: 19.015625px;&quot;&gt;You also have a small video to see how is setup:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #253340;&quot;&gt;&lt;span style=&quot;line-height: 19.015625px;&quot;&gt;&lt;a href=&quot;http://youtu.be/OwiKKYAlXDc&quot;&gt;http://youtu.be/OwiKKYAlXDc&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/4391764445344515644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/4391764445344515644' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/4391764445344515644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/4391764445344515644'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2013/07/spdisposecheck-for-visual-studio-2012.html' title='SPDisposeCheck for Visual Studio 2012'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-8411272217211350315</id><published>2013-04-04T09:35:00.001+02:00</published><updated>2013-04-04T09:35:19.574+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Created By e-mail"/><category scheme="http://www.blogger.com/atom/ns#" term="DependentLookup"/><category scheme="http://www.blogger.com/atom/ns#" term="PowerShell"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="User Information List"/><title type='text'>PowerShell script to add work email to the list fields for the author</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The Author (Created By) field is&amp;nbsp;actually&amp;nbsp;an lookup field to the hidden User Information list.&lt;br /&gt;
&lt;br /&gt;
If you need to add the work email of the Author (Created By field) user to a specific list it can be done by adding a&amp;nbsp;dependent lookup field for the Author field:&lt;br /&gt;
&lt;blockquote&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; direction: ltr; font-family: inherit; font-size: 13px; line-height: 16px; list-style-type: none; outline: 0px; padding: 2px; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;$site &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;spsite &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;site url here&quot;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
$list &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; $site&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;RootWeb&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Lists&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;list name&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

$createdByEmailGuid &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; $web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Fields&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;AddDependentLookup&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;Work e-mail&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Microsoft&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SharePoint&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPBuiltInFieldId&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;]::&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Author&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
$createdByEmail &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; $web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Fields&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;GetFieldByInternalName&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;$createdByEmailGuid&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
$createdByEmail&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Description&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;Work e-mail address of the Author.&quot;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
$createdByEmail&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;LookupField&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; $web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Fields&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;[[&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Microsoft&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SharePoint&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPBuiltInFieldId&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;]::&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;EMail&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;InternalName&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
$createdByEmail&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
$web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

$list&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Fields&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Add&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;$createdByEmail&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
$list&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
If additional fields are needed the same method can be applied. Here is a list of fields that can be added from the User Information list:&lt;br /&gt;
&lt;br /&gt;
- Work e-mail&lt;br /&gt;
- Mobile phone&lt;br /&gt;
- About me&lt;br /&gt;
- Picture&lt;br /&gt;
- Department&lt;br /&gt;
- Title&lt;br /&gt;
- SIP Address&lt;br /&gt;
- First name&lt;br /&gt;
- Last name&lt;br /&gt;
- Work phone&lt;br /&gt;
- User name&lt;br /&gt;
- Web site&lt;br /&gt;
- Ask Me About&lt;br /&gt;
- Office&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/8411272217211350315/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/8411272217211350315' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/8411272217211350315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/8411272217211350315'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2013/04/powershell-script-to-add-work-email-to.html' title='PowerShell script to add work email to the list fields for the author'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-2651763617054740034</id><published>2013-04-04T09:14:00.002+02:00</published><updated>2013-04-04T09:36:06.353+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ECMAScript"/><category scheme="http://www.blogger.com/atom/ns#" term="Lookup Fields"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010 Client Object Model"/><title type='text'>SharePoint 2010 retrieving lookup values using ECMAScript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Script to retrieve single and multiple value lookup&amp;nbsp;fields&amp;nbsp;values using SharePoint 2010 Client Object Model for JavaScript (ECMAScript):&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; direction: ltr; font-family: inherit; font-size: 13px; line-height: 16px; list-style-type: none; outline: 0px; padding: 2px; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; listName &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;list name here&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; listItemId &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; color: #006666; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;23&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;border: 0px; color: #880000; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;// id here&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; retrieveLookupValues&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; clientContext &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; SP&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;ClientContext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_current&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oList &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; clientContext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;().&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_lists&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;().&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;getByTitle&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;listName&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; selectedItems &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; SP&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;ListOperation&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Selection&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;getSelectedItems&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; camlQuery &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; SP&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;CamlQuery&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    camlQuery&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;set_viewXml&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;&amp;lt; View &amp;gt;&amp;lt; Query &amp;gt;&amp;lt; Where &amp;gt;&amp;lt; Eq &amp;gt;&amp;lt; FieldRef Name=&#39;ID&#39; / &amp;gt;&amp;lt; Value Type=&#39;Counter&#39;&amp;gt;&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; listItemId &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;&amp;lt; /Value&amp;gt;&amp;lt; /Eq&amp;gt;&amp;lt; /Where&amp;gt;&amp;lt; /Query&amp;gt;&amp;lt; RowLimit&amp;gt;100&amp;lt; /RowLimit&amp;gt;&amp;lt; /View&amp;gt;&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;collListItem &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oList&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;getItems&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;camlQuery&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    clientContext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;collListItem&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&#39;Include(CustomSingelLookupFld, CustomMultilLookupFld)&#39;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    clientContext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;executeQueryAsync&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Function&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;createDelegate&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;onQuerySucceeded&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Function&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;createDelegate&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;onQueryFailed&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;));&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; onQuerySucceeded&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;sender&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; listInfo &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; listItemEnumerator &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; collListItem&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;getEnumerator&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;listItemEnumerator&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;moveNext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oListItem &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; listItemEnumerator&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_current&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;border: 0px; color: #880000; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;// get single value LookupField:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oCustomSingelLookupFld &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oListItem&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_item&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;CustomSingelLookupFld&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  listInfo &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;oCustomSingelLookupFld.Value = &quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oCustomSingelLookupFld&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_lookupValue&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot; \t oCustomSingelLookupFld.Id = &quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oCustomSingelLookupFld&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_lookupId&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;border: 0px; color: #880000; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;// get multiple value LookupField:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oCustomMultilLookupFld &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oListItem&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_item&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;CustomMultilLookupFld&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; ix &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; color: #006666; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; ix &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oCustomMultilLookupFld&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;length&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; ix&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;++){&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   listInfo &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;oCustomSingelLookupFld[&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; ix &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;].Value = &quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oCustomMultilLookupFld&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;ix&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_lookupValue&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot; \t oCustomSingelLookupFld[&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; ix &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;].Id = &quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; oCustomMultilLookupFld&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;ix&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_lookupId&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 alert&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;listInfo&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; onQueryFailed&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;sender&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
    alert&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&#39;Request failed. &#39;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;get_message&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;());&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/2651763617054740034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/2651763617054740034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/2651763617054740034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/2651763617054740034'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2013/04/sharepoint-2010-retrieving-lookup.html' title='SharePoint 2010 retrieving lookup values using ECMAScript'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-1102651386626228936</id><published>2013-02-04T11:17:00.002+01:00</published><updated>2013-02-04T11:17:23.845+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Calculated Field"/><category scheme="http://www.blogger.com/atom/ns#" term="ListSeparator"/><category scheme="http://www.blogger.com/atom/ns#" term="Locale"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><title type='text'>Creating SharePoint 2010 Calculated Field from code in sites with different regional settings</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Say you need to create the following calculated column in different sites that have different regional settings: English, French, etc. to format the DateTime [Start Time] filed to&amp;nbsp;&lt;span style=&quot;background-color: #fcfcfc; color: #008800; line-height: 20px; white-space: pre;&quot;&gt;&quot;dd-mm-yyyy&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #fcfcfc; color: #008800; line-height: 20px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
The following formula would look list this in&amp;nbsp;English - with a comma separator:&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;TEXT&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;([&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Start&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Time&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;]&lt;b&gt;,&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;&quot;dd-mm-yyyy&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;/blockquote&gt;
Like this in french - with a semicolon separator:&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;TEXT&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;([&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Start&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Time&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;]&lt;b&gt;;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;&quot;dd-mm-yyyy&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;/blockquote&gt;
When creating the column from from code &amp;nbsp;behind to treat this &amp;nbsp;the &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;SP&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Locale&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;TextInfo&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ListSeparator&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&amp;nbsp;property must be used to get the correct list separator:&lt;br /&gt;
&lt;blockquote&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; direction: ltr; font-size: 13px; font: inherit; line-height: 20px; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;border: none; direction: ltr; font-size: 13px; font: inherit; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPList&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; spList &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPContext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Current&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Lists&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;List Title&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;];&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; newFieldName &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; spList&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Add&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;CalculatedField&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPFieldType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Calculated&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPFieldCalculated&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; newField &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPFieldCalculated&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;spList&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;GetField&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;newFieldName&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
newField&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Formula&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;b&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Format&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(@&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;=TEXT([Start Time]{0} &quot;&quot;dd-mm-yyyy&quot;&quot;)&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPContext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Current&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Locale&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;TextInfo&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ListSeparator&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;);&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
newField&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;();&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/1102651386626228936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/1102651386626228936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/1102651386626228936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/1102651386626228936'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2013/02/creating-sharepoint-2010-calculated.html' title='Creating SharePoint 2010 Calculated Field from code in sites with different regional settings'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-4879685561960830081</id><published>2013-01-22T14:18:00.000+01:00</published><updated>2013-01-22T14:18:07.282+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Reusable Workflows"/><category scheme="http://www.blogger.com/atom/ns#" term="Reusable Workflows Deployment"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer"/><title type='text'>SharePoint Designer 2010 Reusable Workflows with Lookup Values</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;When you create a Reusable Workflow in&amp;nbsp;SharePoint Designer 2010, that uses lookup values, and you try to deploy it in another environment, the lookup values will get broken.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;This is happening because the list you are reading the lookup values from has another Guid.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Here is what I came up with to make this deployment easier:&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Deploy the reusable workflow in the new environment.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Open the site you have deployed the workflow solution in SharePoint Designer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Go to the related list (List and Libraries &amp;gt; Your Related List Name) and copy the new List ID value.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Go to &lt;b&gt;All Files &amp;gt; Workflows &amp;gt; &amp;nbsp;&lt;i&gt;Your Workflow Name&lt;/i&gt; &amp;gt;&amp;nbsp;&lt;/b&gt;&lt;i&gt;&lt;b&gt;Your Workflow Name.&lt;/b&gt;&lt;/i&gt;&lt;i&gt;&lt;b&gt;xoml&lt;/b&gt;&lt;/i&gt; and open it in SharePoint Designer as XML (&lt;i&gt;right click on it &amp;gt; Open with &amp;gt;&amp;nbsp;&lt;/i&gt;&lt;i&gt;SharePoint Designer (Open as XML)&lt;/i&gt;)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Find an &lt;b&gt;&lt;ns1:lookupactivity&gt;&lt;/ns1:lookupactivity&gt;&lt;/b&gt;&amp;nbsp;and you will find the old list guid&amp;nbsp;in the &lt;b&gt;ListId&amp;nbsp;&lt;/b&gt;attribute&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Replace the old guid value with the new one&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Save it and close the window.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The workflow should be pointing to the correct list.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/4879685561960830081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/4879685561960830081' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/4879685561960830081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/4879685561960830081'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2013/01/sharepoint-designer-2010-reusable.html' title='SharePoint Designer 2010 Reusable Workflows with Lookup Values'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-9015429808370149490</id><published>2012-11-19T16:33:00.001+01:00</published><updated>2012-11-19T16:33:34.831+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Managed Metadata"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="TaxonomyHiddenList"/><title type='text'>Managed Metadata field values are not displayed</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Problem:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The values for a Managed Metadata&amp;nbsp;field values are visible only for Site Collection Administrators.&lt;br /&gt;
In edit mode the current and possible values for the Managed Metadata field are visible and accessible.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The&amp;nbsp;&lt;i&gt;NT AUTHORITY\Authenticated Users&lt;/i&gt;&amp;nbsp;does not have Read permission in the&amp;nbsp;&lt;u&gt;TaxonomyHiddenList.&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
Check the permissions in &amp;lt;&lt;i&gt;site url&amp;gt;/Lists/TaxonomyHiddenList/AllItems.aspx.&lt;/i&gt;&lt;br /&gt;
The following permissions should be present:&lt;br /&gt;
-&amp;nbsp;&lt;i&gt;NT AUTHORITY\Authenticated Users (NT AUTHORITY\authenticated users) &lt;/i&gt;&amp;nbsp;with&amp;nbsp;&lt;i&gt;Read&amp;nbsp;&lt;/i&gt;permission&lt;br /&gt;
-&amp;nbsp;&lt;i&gt;System Account&lt;/i&gt; (SHAREPOINT\system) &amp;nbsp;with&amp;nbsp;&lt;i&gt;Full Control&lt;/i&gt; permission&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/9015429808370149490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/9015429808370149490' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/9015429808370149490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/9015429808370149490'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2012/11/managed-metadata-field-values-are-not.html' title='Managed Metadata field values are not displayed'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-8750794359567266795</id><published>2012-08-07T15:30:00.000+02:00</published><updated>2012-08-07T15:30:07.529+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Designer 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflow Activities"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflows"/><title type='text'>SharePoint 2010 Workflow Activities</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Developing Workflow Activities for SharePoint 2010 examples can be found in a section in&amp;nbsp;&lt;a data-tochassubtree=&quot;true&quot; href=&quot;http://msdn.microsoft.com/en-us/library/ff770300&quot; id=&quot;hh994909_PandP.10_en-us&quot; title=&quot;Developing Applications for SharePoint 2010&quot;&gt;Developing Applications for SharePoint 2010&lt;/a&gt;&amp;nbsp;from MSDN.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This section is under&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/ff798421&quot; target=&quot;_blank&quot;&gt;Execution Models in SharePoint 2010&lt;/a&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;a data-tochassubtree=&quot;true&quot; href=&quot;http://msdn.microsoft.com/en-us/library/ff798330&quot; id=&quot;ff800741_PandP.10_en-us&quot; title=&quot;Reference Implementation: Workflow Activities&quot;&gt;Reference Implementation: Workflow Activities&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The code for the entire section can be found here:&amp;nbsp;&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=64b55569-2168-4545-8b7c-f185b2cf967d&quot;&gt;Developing Applications for SharePoint 2010&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/8750794359567266795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/8750794359567266795' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/8750794359567266795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/8750794359567266795'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2012/08/sharepoint-2010-workflow-activities.html' title='SharePoint 2010 Workflow Activities'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-8659582283912510262</id><published>2012-07-25T08:20:00.002+02:00</published><updated>2012-07-25T08:20:56.664+02:00</updated><title type='text'>SharePoint 2010 put back the &quot;Set Up Groups for this Site&quot; link</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The &quot;&lt;b&gt;Set Up Groups for this Site&lt;/b&gt;&quot; page has been, for some unknown reason, hidden in SharePoint 2010.&lt;br /&gt;
&lt;br /&gt;
The page is still there and it can be accessed here&lt;b&gt;:&lt;/b&gt;&lt;i&gt;/_layouts/permsetup.aspx&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
To make this generally available I created a custom action to add this to the &quot;&lt;b&gt;People and Groups: All Groups&lt;/b&gt;&quot; (&lt;i&gt;/_layouts/groups.aspx&lt;/i&gt;) page, in the &lt;b&gt;Settings&lt;/b&gt; dropdown menu:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; direction: ltr; font: inherit; line-height: 20px; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;elements&lt; span=&quot;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;customaction&lt; span=&quot;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;urlaction&lt; span=&quot;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;border: none; color: black; direction: ltr; font: inherit; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;!--?&lt;/span--&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;xml version&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; encoding&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;utf-8&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt; Elements&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;xmlns&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;http://schemas.microsoft.com/sharepoint/&quot; &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt; CustomAction&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Id&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;64f25e2b-f9fb-4e37-b848-5949603b03ab&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Title&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Set Up Groups for this Site&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Description&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Use this page to specify who can access your site. You can create new SharePoint groups or re-use existing SharePoint groups.&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Location&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Microsoft.SharePoint.GroupsPage&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;GroupId&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;SettingsMenu&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Sequence&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;1000&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
                &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt; UrlAction&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;border: 0px; color: #660066; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Url&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;border: 0px; color: #008800; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;~site/_layouts/permsetup.aspx&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&amp;lt; /UrlAction&amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt; /CustomAction &amp;gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #000088; font-size: 13px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;lt; /Elements &amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #000088;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/urlaction&lt;&gt;&lt;/span&gt;&lt;/customaction&lt;&gt;&lt;/span&gt;&lt;/elements&lt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
This can a Site or Web level feature, depending on where it has to be applied.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/8659582283912510262/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/8659582283912510262' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/8659582283912510262'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/8659582283912510262'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2012/07/sharepoint-2010-put-back-set-up-groups.html' title='SharePoint 2010 put back the &quot;Set Up Groups for this Site&quot; link'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-7813799593965237010</id><published>2012-07-17T14:00:00.000+02:00</published><updated>2012-11-14T11:41:43.855+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint Server Workflow Task"/><category scheme="http://www.blogger.com/atom/ns#" term="Workflow Task"/><title type='text'>How to create a custom Workflow Task / SharePoint Server Workflow Task content type using Visual Studio?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;If you are designing an Workflow and you want to create custom&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;Workflow Task&lt;/b&gt; or &lt;b&gt;SharePoint Server Workflow&lt;/b&gt; Task&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;using &lt;i&gt;Visual Studio&lt;/i&gt; interface then you&#39;ll need to make these two content types visible.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To make them visible I&#39;m using the following&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;PowerShell&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;script:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; direction: ltr; font: inherit; line-height: 20px; list-style-type: none; padding: 2px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$site &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Get&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;SPSite&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;http://site/url/here&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
$web &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; $site&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;RootWeb&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;border: 0px; color: #880000; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;# Workflow Task&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
$contentType &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; $web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ContentTypes&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Workflow Task&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Group&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Custom Content Types&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Hidden&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; $FALSE
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;border: 0px; color: #880000; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;# SharePoint Server Workflow Task&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
$contentType &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; $web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ContentTypes&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;SharePoint Server Workflow Task&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Group&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Custom Content Types&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Hidden&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; $FALSE
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;

$site&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Dispose&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif;&quot;&gt;Then when you can add a new Content Type from Visual Studio and you will see the two Content Type in the list.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To revert these changes run this PowerShell&amp;nbsp;script:&lt;/span&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;$site &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Get&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;SPSite&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;&quot;http://site/url/here&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;
$web &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; $site&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;RootWeb&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #880000; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;# Workflow Task&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;
$contentType &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; $web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;ContentTypes&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;&quot;Workflow Task&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Group&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;&quot;_Hidden&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Hidden&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; $TRUE
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;

&lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #880000; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;# SharePoint Server Workflow Task&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;
$contentType &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; $web&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;ContentTypes&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;&quot;SharePoint Server Workflow Task&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Group&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;&quot;_Hidden&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Hidden&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt; $TRUE
$contentType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;

$site&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;Dispose&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font: inherit; line-height: 20px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre;&quot;&gt;()&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/7813799593965237010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/7813799593965237010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/7813799593965237010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/7813799593965237010'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2012/07/how-to-create-custom-workflow-task.html' title='How to create a custom Workflow Task / SharePoint Server Workflow Task content type using Visual Studio?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-4861975829429589368</id><published>2012-06-18T16:40:00.000+02:00</published><updated>2012-06-19T08:42:51.901+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IHttpModule"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SPWebConfigModification"/><title type='text'>SharePoint 2010 Customizing default application pages</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
Customizing an SharePoint 2010 Application Page.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
In this example I&#39;m customizing the /_layouts/MWS.aspx, the new meeting workspace page.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;These steps can be followed for any of Application Page.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1. Create the custom application page and deploy it into the &lt;b&gt;_layouts &lt;/b&gt;folder.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2. Create an IHttpModule to redirect all requests that come to MWS.aspx and redirect them to customMWS.aspx:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;span class=&quot;kwd&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;RedirectModule&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;IHttpModule&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Dispose&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(){&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;

 &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Init&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;HttpApplication&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; context&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #880000; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;// add event handler&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
  context&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;PreRequestHandlerExecute&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;+=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; context_PreRequestHandlerExecute&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;

 &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; context_PreRequestHandlerExecute&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; sender&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;EventArgs&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;HttpApplication&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; httpApp &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; sender &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;HttpApplication&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;HttpContext&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; context &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; httpApp&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Context&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; httpUrl &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; context&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Request&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;RawUrl&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;ToString&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;

  &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #880000; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;//compare our URL and redirect it to custom one&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #000088; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;httpUrl&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;ToLower&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;().&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Contains&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;/_layouts/customMWS.aspx&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;HttpContext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Current&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Server&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;ClearError&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;HttpContext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Current&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Response&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Clear&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;HttpContext&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Current&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Response&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Redirect&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Regex&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;Replace&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;httpUrl&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;/_layouts/newMWS.aspx&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #008800; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;&quot;/_layouts/customMWS.aspx&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;RegexOptions&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #660066; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;IgnoreCase&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;));&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;background-color: #fcfcfc; border: 0px; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;background-color: #fcfcfc; border: 0px; color: #666600; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 16px; margin: 0px; outline: 0px; padding: 0px; white-space: pre;&quot;&gt;}&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
3. Add a new element in the web.config &lt;b&gt;configuration/system.webServer/modules&lt;/b&gt; section to enable this IHttpModule. To do this create an web application feature to add this change in the web.config of the application.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-family: Verdana, sans-serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #fcfcfc; border: none; direction: ltr; font-family: inherit; font-size: 13px; line-height: 16px; list-style-type: none; outline: 0px; padding: 2px; word-wrap: break-word;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;MWSRedirectModuleFeature&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPFeatureReceiver&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPWebConfigModification&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; webConfigModification &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPWebConfigModification&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Name&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;add[@name=&#39;MWSRedirectModule&#39;]&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Path&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;configuration/system.webServer/modules&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Owner&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;CustomOwner&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Sequence&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;border: 0px; color: #006666; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Type&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPWebConfigModification&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPWebConfigModificationType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;EnsureChildNode&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Value&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;&lt;add name=&quot;\&amp;quot;MWSRedirectModule\&amp;quot;&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot; typ&quot;=&quot;&quot; type=&quot;&amp;lt;/span&amp;gt;&amp;lt;span class=&quot;&gt;Class&lt;/add&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Name&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Assembly&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Full&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Name&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; color: #008800; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;&quot;/&amp;gt;&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;};&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

 &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;border: 0px; color: #880000; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;// Add config changes&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;override&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;FeatureActivated&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPFeatureReceiverProperties&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; properties&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPWebApplication&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; parent &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPWebApplication&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;properties&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Feature&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Parent&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;parent &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;try&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   parent&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;WebConfigModifications&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Add&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;webConfigModification&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   parent&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   parent&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;WebService&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;ApplyWebConfigModifications&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;catch&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Exception&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; exception&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;border: 0px; color: #880000; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;// log error&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

 &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;border: 0px; color: #880000; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;// Remove config changes&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;override&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;FeatureDeactivating&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPFeatureReceiverProperties&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; properties&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPWebApplication&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; parent &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;SPWebApplication&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;properties&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Feature&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Parent&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;parent &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;

  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;try&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   parent&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;WebConfigModifications&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Remove&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;webConfigModification&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   parent&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Update&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   parent&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;WebService&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;ApplyWebConfigModifications&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; color: #000088; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;catch&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; color: #660066; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;Exception&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt; exception&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;border: 0px; color: #880000; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;// log error&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
 &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; color: #666600; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #a31515; font-family: Consolas; font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/4861975829429589368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/4861975829429589368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/4861975829429589368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/4861975829429589368'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2012/06/sharepoint-2010-customizing-default.html' title='SharePoint 2010 Customizing default application pages'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-373627256726410961</id><published>2012-04-27T10:14:00.002+02:00</published><updated>2012-05-09T09:50:51.401+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Actions"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010 Custom Library Template"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010 Custom List Template"/><title type='text'>SharePoint 2010 Custom List / Library Template: Custom Action are not displayed in the Ribbon</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Issue: &lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
We have Custom List / Document Library Template - the Custom Action are not displayed in the Ribbon.
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
Check that all views in the list template have the Toolbar tag inside it with type &quot;Standard&quot;:
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, &amp;quot;Courier&amp;quot;, monospace;&quot;&gt;&amp;lt; Toolbar Type=&quot;Standard&quot; / &amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To fix for existing lists / libraries:
&lt;br /&gt;
&lt;br /&gt;
1. Change the source file in the Visual Studio solution and redeploy it.
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;OR&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
2. If the solution cannot be redeployed then to fix existing lists / libraries follow these steps:&lt;br /&gt;
- Open the site in SharePoint Designer&lt;br /&gt;
- Open the Views in Edit Mode and add/update the following tag inside the View tag:

 &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/373627256726410961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/373627256726410961' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/373627256726410961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/373627256726410961'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2012/04/sharepoint-2010-custom-list-library.html' title='SharePoint 2010 Custom List / Library Template: Custom Action are not displayed in the Ribbon'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-8351214932637696741</id><published>2012-03-22T15:05:00.007+01:00</published><updated>2012-03-22T15:11:57.598+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Administrator-approved form templates"/><category scheme="http://www.blogger.com/atom/ns#" term="InfoPath 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><title type='text'>How to deloy InfoPath 2010 &quot;Administrator-approved form template&quot; to SharePoint 2010 programaticaly</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Scenario:&lt;/b&gt; you&#39;ve developed and InfoPath 2010 form. This form contains code that requires full trust, so you need to deploy it as a&amp;nbsp;administrator-approved form template.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;This requires an farm administrator to check, upload and activate the form for the site collection.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Solution:&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;to automate this operation I&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;created a farm level feature - w&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;hen the feature is activated upload the form&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;programmatically and w&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;hen the feature is deactivated remove the form&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;programmatically.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Here is how I did it:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1. Create an &lt;b&gt;Empty SharePoint Project&lt;/b&gt; and set it to be deployed as a farm solution&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2. Add an Empty element item - &lt;b&gt;EmptyElement1&lt;/b&gt;. This will also generate a feature - &lt;b&gt;Feature1&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3. Delete the&lt;i&gt; Elements.xml&lt;/i&gt; file of the &lt;b&gt;EmptyElement1&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4. Copy/Paste the InfoPath 2010 form into the &lt;b&gt;EmptyElement1&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;5. Right click on the added form and click Properties:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;- &lt;b&gt;Deployment Type: &lt;/b&gt;&lt;i&gt;ElementFile&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;-&lt;b&gt; Deployment Location&amp;gt; Path: &lt;/b&gt;&lt;i&gt;set it to blank&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;6. Open the generated feature, &lt;b&gt;Feature1&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;7. Set the scope to &lt;b&gt;Farm &lt;/b&gt;level and save it&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;8. Right click on the feature and select &quot;&lt;i&gt;Add Event Receiver&lt;/i&gt;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;9. Comment out the &lt;b&gt;FeatureActivated &lt;/b&gt;and &lt;b&gt;FeatureDeactivating &lt;/b&gt;methods&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10. Add the following code to the &lt;b&gt;FeatureActivated &lt;/b&gt;method to upload the form:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;SPSecurity.RunWithElevatedPrivileges(() =&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; SPFarm localFarm = SPFarm.Local;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; FormsService localFormsService;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; string solutionPath = properties.Definition.RootDirectory + @&quot;\Form.xsn&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; localFormsService = localFarm.Services.GetValue(FormsService.ServiceName);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; localFormsService.FormTemplates.UploadFormTemplate(solutionPath);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; catch (Exception ex) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handle exception Here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; });&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;10. Add the following code to the &lt;b&gt;FeatureDeactivating &lt;/b&gt;method to remove the form:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt; SPSecurity.RunWithElevatedPrivileges(() =&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; SPFarm localFarm = SPFarm.Local;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; FormsService localFormsService;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; string solutionPath = properties.Definition.RootDirectory + @&quot;\Form.xsn&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; localFormsService = localFarm.Services.GetValue(FormsService.ServiceName);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FormTemplate formTemplateToRemove = (from formTemplates in localFormsService.FormTemplates&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where formTemplates.DisplayName == &quot;Form&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select formTemplates).Single();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; localFormsService.FormTemplates.RemoveFormTemplate(formTemplateToRemove);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; catch (Exception ex) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Handle exception Here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&amp;nbsp; });&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;11. Build and deploy the solution.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;That is it!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Note&lt;/b&gt; that you need to reference the&amp;nbsp;&lt;b&gt;Microsoft.Office.InfoPath.Server.dll&lt;/b&gt;. This is&amp;nbsp;usually&amp;nbsp;located here:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;i&gt;C:\Program Files\Microsoft Office Servers\14.0\Bin\&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/8351214932637696741/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/8351214932637696741' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/8351214932637696741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/8351214932637696741'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2012/03/how-to-deloying-infopath-2010.html' title='How to deloy InfoPath 2010 &quot;Administrator-approved form template&quot; to SharePoint 2010 programaticaly'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-482052282819386517</id><published>2009-01-26T20:54:00.012+01:00</published><updated>2009-01-26T21:11:14.273+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CSS"/><category scheme="http://www.blogger.com/atom/ns#" term="Hacks"/><category scheme="http://www.blogger.com/atom/ns#" term="IE"/><title type='text'>Oversized buttons in IE</title><content type='html'>Yeah ... just another problem with IE.&lt;br /&gt;&lt;br /&gt;Lucky for all of us there are some people that can hack their way through the IE bugs.&lt;br /&gt;&lt;br /&gt;Here is a fix for this problem:&lt;pre&gt;input.button {&lt;br /&gt;  padding: 0.25em;&lt;br /&gt;  width: 0;&lt;br /&gt;  overflow:visible;&lt;br /&gt;}&lt;br /&gt;input.button[class] { /*ie ignores [class]*/&lt;br /&gt;  width: auto;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/482052282819386517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/482052282819386517' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/482052282819386517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/482052282819386517'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2009/01/oversized-buttons-in-ie.html' title='Oversized buttons in IE'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2475950775764872814.post-2937587076658563856</id><published>2008-02-06T20:46:00.001+01:00</published><updated>2008-03-16T13:36:34.945+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="postgresql"/><title type='text'>postgresql altering column type</title><content type='html'>&lt;div align=&quot;left&quot;&gt;ever had to change the column type and run into trouble?&lt;br /&gt;&lt;br /&gt;well here is what I found as far:&lt;br /&gt;&lt;br /&gt;* &lt;strong&gt;postgresql 7.4&lt;/strong&gt; ( and lower I think ) - cannot be done with the ALTER TABLE command, and then you have to do something like this:&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;BEGIN;&lt;br /&gt;ALTER TABLE &amp;lt;table name&amp;gt; ADD COLUMN &amp;lt;new column&amp;gt; &amp;lt;new data type&amp;gt;;&lt;br /&gt;UPDATE table SET &amp;lt;new column&amp;gt; = CAST(&amp;lt;old column&amp;gt; AS &amp;lt;new data type&amp;gt;);&lt;br /&gt;ALTER TABLE &amp;lt;table&amp;gt; DROP COLUMN &amp;lt;old column&amp;gt;;&lt;br /&gt;COMMIT;&lt;br /&gt;VACUUM FULL &amp;lt;table&amp;gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;VACUUM FULL tab to reclaim the disk space used by the expired rows&lt;br /&gt;( for more detailed information go &lt;a href=&quot;http://www.postgresql.org/docs/7.4/interactive/sql-altertable.html&quot;&gt;here&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;* &lt;strong&gt;postgresql 8.0&lt;/strong&gt; ( and higher ) - has implemented the ALTER TABLE ALTER COLUMN command and you have to do something like this:&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;ALTER TABLE &amp;lt;table name&amp;gt; ALTER COLUMN &amp;lt;column name&amp;gt; TYPE &amp;lt;new type&amp;gt; USING &amp;lt;column name&amp;gt;::&amp;lt;new type&amp;gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;( for more detailed information go &lt;a href=&quot;http://www.postgresql.org/docs/8.0/static/sql-altertable.html&quot;&gt;here&lt;/a&gt;)&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://developertrack.blogspot.com/feeds/2937587076658563856/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2475950775764872814/2937587076658563856' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/2937587076658563856'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2475950775764872814/posts/default/2937587076658563856'/><link rel='alternate' type='text/html' href='http://developertrack.blogspot.com/2008/02/postgresql-altering-column-type.html' title='postgresql altering column type'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>