<?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-4117117577843388532</id><updated>2026-07-10T16:11:28.519-07:00</updated><category term="sharepoint 2007"/><category term="sharepoint 2010"/><category term="C#"/><category term="MOSS"/><category term="Performance point 2010"/><category term="SQL server 2005"/><category term="C# 4.0"/><category term="SQL server"/><category term="flex"/><category term="Custom Search"/><category term="Feature Stapling"/><category term="General"/><category term="IIS"/><category term="LINQ"/><category term="Metro app"/><category term="SFDC"/><category term="SMTP"/><category term="SharePoint2010"/><category term="win 8"/><category term="workflow"/><title type='text'>Mritunjay Chourasia</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>49</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-8595521248586462024</id><published>2012-10-24T22:41:00.000-07:00</published><updated>2012-10-25T04:48:55.024-07:00</updated><title type='text'>Image load Tracking in Google Analytics</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Image tracking is provided by default with GA, to achieve this we can use Event Tracking for images.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
So if you have an image “Mritunjay.jpg”&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;lt;img src=&quot;images/Mritunjay.jpg&quot; /&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;img src=&quot;images/Mritunjay.jpg&quot; onload=&quot;_gaq.push([&#39;_trackEvent&#39;,&#39;Image Tracking&#39;,&#39;Mritunjay&#39;]);&quot; /&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
‘Image Tracking’ represents the Category&lt;br /&gt;
‘Mritunjay’ represents the Action&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/8595521248586462024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/10/image-load-tracking-in-google-analytics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/8595521248586462024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/8595521248586462024'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/10/image-load-tracking-in-google-analytics.html' title='Image load Tracking in Google Analytics'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-1731851811568266150</id><published>2012-10-18T04:48:00.000-07:00</published><updated>2012-10-18T04:54:50.723-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Performance point 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2010"/><title type='text'>Code Blocks are not allowed in this file - Performance Point part 2</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 dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
As discussed in the previous post how we can fix the Code block error for performance Point, now lets find the reason why the error occurs on the PPSample.aspx and how we can&amp;nbsp;eliminate&amp;nbsp;it at the time of writing the Feature for Masterpage.&lt;br /&gt;
&lt;br /&gt;
The main reason for this error is the the page is updated with the property &quot;customized&quot; this can be checked by the file property &quot;CustomizedPageStatus&quot; in the document library.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
following is the code to check if the file is customized/unghosted.&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;void WriteCustomizedAndNone(object sender, EventArgs e)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string myResult = &#39;&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string myListName = txt1.Text;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SPList myList = SPContext.Current.Web.Site.RootWeb.Lists[myListName];&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!Directory.Exists(&#39;C:\\Unghosted Files\\&#39;))&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Directory.CreateDirectory(&#39;C:\\Unghosted Files\\&#39;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myResult += &#39;Status of items&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myResult += &#39;&amp;lt;table style=&#39;border:solid 1px gray;&#39;&amp;gt;&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myResult += &#39;&amp;lt;tr&amp;gt;&#39; + &#39;&amp;lt;td&amp;gt;&#39; + &#39;Name&#39; + &#39;&amp;lt;/td&amp;gt;&#39; + &#39;&amp;lt;td&amp;gt;&#39; + &#39;Setup Path&#39; + &#39;&amp;lt;/td&amp;gt;&#39; + &#39;&amp;lt;td&amp;gt;&#39; + &#39;is customized&#39; + &#39;&amp;lt;/td&amp;gt;&#39; + &#39;&amp;lt;/tr&amp;gt;&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach (SPListItem anItem in myList.Items)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myResult += &#39;&amp;lt;tr&amp;gt;&#39; + &#39;&amp;lt;td &amp;gt;&#39; + anItem.Name + &#39;&amp;lt;/td&amp;gt;&#39; + &#39;&amp;lt;td &amp;gt;&#39; + anItem.File.Properties[&#39;vti_setuppath&#39;] + &#39;&amp;lt;/td&amp;gt;&#39; &amp;nbsp;+ &#39;&amp;lt;td&amp;gt;&#39; + anItem.File.CustomizedPageStatus + &#39;&amp;lt;/td&amp;gt;&#39; + &#39;&amp;lt;/tr&amp;gt;&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (anItem.File.CustomizedPageStatus.ToString() != &#39;Uncustomized&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; byte[] myBytes = anItem.File.OpenBinary();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.IO.File.WriteAllBytes(&#39;c:\\Unghosted Files\\&#39; + anItem.File.Name, myBytes);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myResult += &#39;&amp;lt;/table&amp;gt;&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; result.Text = myResult;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;i&gt;/*Thanks to my friend Siva for this code*/&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;i&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;
&lt;i&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Note&lt;/b&gt;: The page gets updated with the property with Customized if there is any update happens on the page after/during the feature activation, make sure there is no changes happening during the feature activation.&amp;nbsp;&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;Any change in the master page will result in UnGhosting which will update the file property to &quot;Customized&quot; and will result in the issue with Performance point &quot;&lt;/span&gt;Code Blocks are not allowed in this file&lt;span style=&quot;font-family: inherit;&quot;&gt;&quot;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/1731851811568266150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/10/code-blocks-are-not-allowed-in-this_18.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/1731851811568266150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/1731851811568266150'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/10/code-blocks-are-not-allowed-in-this_18.html' title='Code Blocks are not allowed in this file - Performance Point part 2'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-1146550739227003175</id><published>2012-10-03T05:24:00.001-07:00</published><updated>2012-10-03T05:24:27.383-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Performance point 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2010"/><title type='text'>Code Blocks are not allowed in this file - Performance Point</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;br /&gt;
After the customization of the master page in SharePoint 2010, we sometimes get the following error&lt;br /&gt;
&quot;Code Blocks are not allowed in this file&quot;&lt;br /&gt;
&lt;br /&gt;
There are two solution for this&lt;br /&gt;
&lt;b&gt;1. Add the Page Parser Path in web.config&lt;/b&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;PageParserPaths&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;PageParserPath VirtualPath=&quot;/&lt;/i&gt;BICenter/Pages&lt;i&gt;/ppssample.aspx&quot; CompilationMode=&quot;Always&quot; AllowServerSideScript=&quot;true&quot; /&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/PageParserPaths&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. Modify the PerformancePoint site template by updating the /BICenter/Pages/ppssample.aspx&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Replace the following&lt;br /&gt;
&lt;i&gt;var siteCollection = &quot;&amp;lt;%=SPHttpUtility.UrlPathEncode(siteCol.Value,false,true)%&amp;gt;&quot;;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;var siteLocation = &quot;&amp;lt;%=SPHttpUtility.UrlPathEncode(site.Value,false,true)%&amp;gt;&quot;;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;i&gt;var siteCollection = &quot;/&quot;;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;var siteLocation = &quot;/BICenter/&quot;;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/1146550739227003175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/10/code-blocks-are-not-allowed-in-this.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/1146550739227003175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/1146550739227003175'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/10/code-blocks-are-not-allowed-in-this.html' title='Code Blocks are not allowed in this file - Performance Point'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-8315601426424885167</id><published>2012-09-24T10:19:00.001-07:00</published><updated>2012-09-24T10:19:56.913-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Metro app"/><category scheme="http://www.blogger.com/atom/ns#" term="win 8"/><title type='text'>Flyout control for Win8 Metro App</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
A flyout control is a popup control&amp;nbsp;appear on an event.&lt;br /&gt;
&lt;br /&gt;
The code to create&amp;nbsp;flyout pop-up from Settings Page&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;em&gt;args.Request.ApplicationCommands.Add(&lt;br /&gt;new SettingsCommand(&quot;settings&quot;, &quot;Application Settings&quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a =&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int width = 500;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _settingsPopup = new Popup();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _settingsPopup.Closed += OnPopupClosed;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Window.Current.Activated += OnWindowActivated;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _settingsPopup.IsLightDismissEnabled = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _settingsPopup.Width = width;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _settingsPopup.Height = Window.Current.Bounds.Height;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AppSettingsFlyoutPopup mypane = new AppSettingsFlyoutPopup();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mypane.Width = width;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mypane.Height = Window.Current.Bounds.Height;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _settingsPopup.Child = mypane;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _settingsPopup.SetValue(Canvas.LeftProperty, Window.Current.Bounds.Width - mypane.Width);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _settingsPopup.SetValue(Canvas.TopProperty, 0);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _settingsPopup.IsOpen = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.layout.Opacity = .3;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _settingsPopup.Closed += (e, s) =&amp;gt; this.layout.Opacity = 1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }));&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;&lt;/em&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: Consolas; font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/8315601426424885167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/09/flyout-control-for-win8-metro-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/8315601426424885167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/8315601426424885167'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/09/flyout-control-for-win8-metro-app.html' title='Flyout control for Win8 Metro App'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-5307858213875084602</id><published>2012-09-05T23:08:00.000-07:00</published><updated>2012-09-05T23:08:07.955-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Feature Stapling"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint2010"/><title type='text'>Feature Stapling in SharePoint 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
Feature stapling helps us to enable the feature at following scope&lt;br /&gt;
1. Web&lt;br /&gt;
2. Site&lt;br /&gt;
3. Web application&lt;br /&gt;
4. Farm&lt;br /&gt;
&lt;br /&gt;
Stapling required atleast two features&lt;br /&gt;
1.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Feature that needs to be stapled&lt;br /&gt;
2.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Feature to staple at different scope.&lt;br /&gt;
Obviously the stapler scope should be above the feature being stapled.&lt;br /&gt;
&lt;br /&gt;
To activate the feature for type of sites in web application, we need to associate stapling a feature to global site definition(TemplateName=&quot; GLOBAL&quot;) and blank site (TemplateName=&quot; STS#1&quot;).&lt;br /&gt;
&lt;br /&gt;
Elements file of Stapler feature will look like&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;lt;Elements xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;&lt;/i&gt;&lt;i&gt;FeatureSiteTemplateAssociation &amp;nbsp; Id=&quot;c4386b61-3aa0-4017-98c4-0feb17a97cb5&quot; TemplateName=&quot; GLOBAL&quot; /&lt;/i&gt;&lt;i&gt;&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;&lt;/i&gt;&lt;i&gt;FeatureSiteTemplateAssociation &amp;nbsp; Id=&quot;c4386b61-3aa0-4017-98c4-0feb17a97cb5&quot; TemplateName=&quot; STS#1&quot; /&lt;/i&gt;&lt;i&gt;&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;lt;&lt;/i&gt;&lt;i&gt;/Elements&lt;/i&gt;&lt;i&gt;&amp;gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&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/AVvXsEgeYEovgbvlUu7vxvS-yUdxyN_lP6HdA8l8Ia0FUh75O7h3baWsAjSKkPkb_ctWkRq9MbFJvxrWEJGTZxEWR1ap-KR0wEDhj2gXAxlHY2DxYKdqPo_cpam3AsW9GJdRctMEPXcJRKb_eB5_/s1600/356a7bde-cb81-4895-8cad-076885f48440.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;151&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeYEovgbvlUu7vxvS-yUdxyN_lP6HdA8l8Ia0FUh75O7h3baWsAjSKkPkb_ctWkRq9MbFJvxrWEJGTZxEWR1ap-KR0wEDhj2gXAxlHY2DxYKdqPo_cpam3AsW9GJdRctMEPXcJRKb_eB5_/s200/356a7bde-cb81-4895-8cad-076885f48440.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Solution example&lt;/div&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/5307858213875084602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/09/feature-stapling-in-sharepoint-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/5307858213875084602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/5307858213875084602'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/09/feature-stapling-in-sharepoint-2010.html' title='Feature Stapling in SharePoint 2010'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeYEovgbvlUu7vxvS-yUdxyN_lP6HdA8l8Ia0FUh75O7h3baWsAjSKkPkb_ctWkRq9MbFJvxrWEJGTZxEWR1ap-KR0wEDhj2gXAxlHY2DxYKdqPo_cpam3AsW9GJdRctMEPXcJRKb_eB5_/s72-c/356a7bde-cb81-4895-8cad-076885f48440.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-661132465362241547</id><published>2012-09-05T21:58:00.001-07:00</published><updated>2012-09-05T22:00:09.842-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2010"/><title type='text'>Dialog box Styling in SharePoint 2010</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
SharePoint 2010 has two important classes to control the dialog display&lt;br /&gt;
.s4-notdlg&lt;br /&gt;
.ms-dialog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;s4-notdlg&lt;/b&gt;&lt;br /&gt;
Apply the class to any div which is not required to disply&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ms-dialog&lt;/b&gt;&lt;br /&gt;
This class is added to the  tag of dialog, so we can modify the css of any class in the dialog.&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;i&gt;.ms-dialog .ms-cui-topBar2&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp;height:0px;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/661132465362241547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/09/dialog-box-styling-in-sharepoint-2010.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/661132465362241547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/661132465362241547'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/09/dialog-box-styling-in-sharepoint-2010.html' title='Dialog box Styling in SharePoint 2010'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-5965320568175651357</id><published>2012-08-10T05:30:00.001-07:00</published><updated>2012-08-10T05:30:42.156-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>allowunsafeupdates, is really to safe</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;br /&gt;
Using AllowUnsafeUpdates can be done in 2 ways&lt;br /&gt;
1. Get request :&lt;br /&gt;
2. Post request&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Get request&lt;/b&gt;&lt;br /&gt;
It opens the gateway for the cross-site scripting, if we cannot switch to POST request then in that case we can go ahead with allowunsafeupdates, but make sure the property is set to false. Even though the property automatically sets to false after the use, but in case of exception we might end up in a situateion the property is true.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Eg. on how to use allowunsafeupdates&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;using (SPSite spsite = new SPSite(SPContext.Current.Site))&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;using (SPWeb spWeb = spsite.OpenWeb())&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;try&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; SPFolder spfolder = spWeb.Folders[spWeb.Url + &quot;/LibName/&quot;];&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; byte[] content = System.Text.Encoding.UTF8.GetBytes(strcontent);&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; string filenname = &quot;Upload&quot; + DateTime.Now.ToString() + &quot;.html&quot;;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; spWeb.AllowUnsafeUpdates = true;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; SPFile spfile = spfolder.Files.Add(filenname, content, true);&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;catch(Exception exp)&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;{ throw new exception(exp.message()) }&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;finally&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;{ &amp;nbsp; spWeb.AllowUnsafeUpdates = false; &amp;nbsp;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Post request&lt;/b&gt;&lt;br /&gt;
In case of POST request we should go with SPUtility.ValidateFormDigest(), but this uses the digest value which can expire and will give the security validation exception.&lt;br /&gt;
Eg. on how to use allowunsafeupdates&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;using (SPSite spsite = new SPSite(SPContext.Current.Site))&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;using (SPWeb spWeb = spsite.OpenWeb())&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;try&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; SPFolder spfolder = spWeb.Folders[spWeb.Url + &quot;/LibName/&quot;];&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; byte[] content = System.Text.Encoding.UTF8.GetBytes(strcontent);&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; string filenname = &quot;Upload&quot; + DateTime.Now.ToString() + &quot;.html&quot;;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; SPUtility.ValidateFormDigest();&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; SPFile spfile = spfolder.Files.Add(filenname, content, true);&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;catch(Exception exp)&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;{ throw new exception(exp.message()) }&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Reference &lt;/u&gt;: http://hristopavlov.wordpress.com/2008/05/16/what-you-need-to-know-about-allowunsafeupdates/&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/5965320568175651357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/08/allowunsafeupdates-is-really-to-safe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/5965320568175651357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/5965320568175651357'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/08/allowunsafeupdates-is-really-to-safe.html' title='allowunsafeupdates, is really to safe'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-6683484707966680758</id><published>2012-08-10T03:02:00.000-07:00</published><updated>2012-08-10T03:02:04.693-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><category scheme="http://www.blogger.com/atom/ns#" term="SMTP"/><title type='text'>Getting the SMTP name for Web app</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
In place of explicitly hardcoding the SMTP name in the SharePoint to send mail, its always better to get the SMTP configured for the Web App, so that in future if due to any reason its getting changes, there will not be any impact on the application&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;private string GetSmtpServer()&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;SPWebApplication parentWebAppp = SPContext.Current.Site.WebApplication;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;if (parentWebAppp != null)&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;{&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp; &amp;nbsp;return parentWebAppp.OutboundMailServiceInstance.Server.Address;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&amp;nbsp;}&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;return string.Empty;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;}&lt;/i&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/6683484707966680758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/08/getting-smtp-name-for-web-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/6683484707966680758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/6683484707966680758'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/08/getting-smtp-name-for-web-app.html' title='Getting the SMTP name for Web app'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-7687439096909619849</id><published>2012-04-11T00:50:00.000-07:00</published><updated>2012-04-11T00:51:47.699-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><category scheme="http://www.blogger.com/atom/ns#" term="workflow"/><title type='text'>Issue by enabling HTTPOnlyCookies on sharepoint site</title><content type='html'>&lt;div&gt;&lt;span style=&quot;font-family: Georgia, serif; &quot;&gt;HTTPOnlyCookie is enabled by default for Authentication and Sessions cookies in ASP.NET 2.0 but not for manually issued cookies. To enable it for manual issued cookie we need to add following in the web.config.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span &gt;                &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span &gt;&lt;i&gt;&amp;lt;httpCookies httpOnlyCookies=&quot;true&quot; /&amp;gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span &gt;Once we enable the HTTPOnlyCookie on the SharePoint, few things like the default approval workflow for the list will give problem while enablind. We can notice it will add one extra parameter(Infopath_Sentinel=1) in the URL querystring. I am not sure what it is used for, but we cannot create the workflow.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span &gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span &gt;So to avoid this we need te make sure the HTTPOnly cookie need not be enabled from the web.config.&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/7687439096909619849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/04/issue-by-enabling-httponlycookies-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/7687439096909619849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/7687439096909619849'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/04/issue-by-enabling-httponlycookies-on.html' title='Issue by enabling HTTPOnlyCookies on sharepoint site'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-1291552887969631213</id><published>2012-04-10T23:22:00.003-07:00</published><updated>2012-04-11T00:00:39.259-07:00</updated><title type='text'>Reading RSS feed</title><content type='html'>&lt;div style=&quot;font-style: normal; &quot;&gt;Recently while reading the data from the RSS feed, we faced an issue with the RSS not getting updated because of the Header cache. &lt;span style=&quot;font-size: 100%; &quot;&gt;After analysis we found that its because of the caching on client server, we are not able to get the updated data.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; &quot;&gt;&lt;span style=&quot;font-size: 100%; &quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; &quot;&gt;&lt;span style=&quot;font-size: 100%; &quot;&gt;To solve this we have tried many options, but the easiest option is to embed the querystring with GUID, which will make sure its always the fresh request.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-style: normal; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Following is the sample code&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;string sSiteUrl = sFeedURL;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;System.Net.WebClient webClient = new System.Net.WebClient();&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;webClient.Encoding = System.Text.Encoding.UTF8;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Guid guid = Guid.NewGuid();&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;sSiteContent = webClient.DownloadString(sSiteUrl+&quot;?guid=&quot;+guid.ToString());&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;webClient.Dispose();&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/1291552887969631213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/04/recently-while-reading-data-from-rss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/1291552887969631213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/1291552887969631213'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2012/04/recently-while-reading-data-from-rss.html' title='Reading RSS feed'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-907258880759233583</id><published>2011-11-15T20:17:00.000-08:00</published><updated>2011-11-15T20:42:21.345-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>Changing Site Collection URL</title><content type='html'>&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: rgb(255, 255, 255); &quot;  &gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;There are no out-of-the-box command in SharePoint to rename a site collection URL, to change the URL we need to recreate the site collection with new URL and restore the previous site collection&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;Source site Collection URl : http://sharepointdev/sites/Mritunjay&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;Source site Collection URl : http://sharepointdev/sites/mritunjay&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px;&quot;&gt;Steps to Change the site collection URL&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px; &quot;&gt;stsadm –o backup –url http://sharepointdev/sites/Mritunjay -filename backup.dat&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px; &quot;&gt;stsadm –o deletesite –url http://sharepointdev/sites/Mritunjay&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 12px; line-height: 18px; &quot;&gt;stsadm –o restore –url http://sharepointdev/sites/mritunjay -filename backup.dat&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 12px; line-height: 18px; &quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/907258880759233583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/11/changing-site-collection-url.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/907258880759233583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/907258880759233583'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/11/changing-site-collection-url.html' title='Changing Site Collection URL'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-6710276218540465956</id><published>2011-10-04T02:06:00.000-07:00</published><updated>2011-10-04T02:11:45.372-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Performance point 2010"/><title type='text'>Cannot complete this action as the Secure Store Shared Service is not responding. Please contact your administrator.</title><content type='html'>&lt;div&gt;While configuring the performance point 2010 I got the following issue&lt;/div&gt;&lt;div&gt;Cannot complete this action as the Secure Store Shared Service is not responding. Please contact your administrator.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After trying many approaches, I found the solution&lt;/div&gt;&lt;div&gt;&lt;div&gt;1. Make sure the SecurityTokenServiceApplicationPool is running.&lt;/div&gt;&lt;div&gt;2. Go to System Settings -&amp;gt; Manage services on server&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;Following services should be enabled&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;PerformancePoint Service &lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;Secure Store Service &lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;  &lt;/span&gt;Claims to Windows Token Service &lt;/div&gt;&lt;div&gt;3. Go to Application Management -&amp;gt; Manage service applications &lt;/div&gt;&lt;div&gt;4. Check the Secure Store is started&lt;/div&gt;&lt;div&gt;5. Go to App-pool and make sure the the associated App pool is running&lt;/div&gt;&lt;div&gt;6. Reset the IIS&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/6710276218540465956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/10/cannot-complete-this-action-as-secure.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/6710276218540465956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/6710276218540465956'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/10/cannot-complete-this-action-as-secure.html' title='Cannot complete this action as the Secure Store Shared Service is not responding. Please contact your administrator.'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-5312484283796390780</id><published>2011-08-02T05:54:00.000-07:00</published><updated>2011-08-02T05:55:24.932-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL server"/><title type='text'>Execute query with string</title><content type='html'>&lt;div&gt;Today, I got a strange requirement to have the query as query string to execute, and tried various ways and found that the simplest way to do this is &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Declare @temp Varchar(500)&lt;/div&gt;&lt;div&gt;Set @temp = ‘Select * From Employees’&lt;/div&gt;&lt;div&gt;Exec (@temp)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;the above code will help us in adding or removing the clause from the query&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/5312484283796390780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/08/execute-query-with-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/5312484283796390780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/5312484283796390780'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/08/execute-query-with-string.html' title='Execute query with string'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-4454681224128589887</id><published>2011-07-25T03:12:00.001-07:00</published><updated>2011-07-25T21:27:49.459-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>FullTextSqlQuery Search Queries with URL</title><content type='html'>Recently I was working with Full Text SQL Search Queries and found a strange issue while filtering with the URL in the query. If the URL contains special characters its giving me the exception improper query.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;My Old Query was&lt;br /&gt;SELECT ArticleDate, URL FROM SCOPE()&lt;div&gt;WHERE CONTAINS(URL, &#39;http://mritunjay.com/sites/the site/docs/URLTest @/&#39;)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;after few encoding I tried to embed the URL in the &quot; I was able to get the correct output&lt;/div&gt;&lt;div&gt;&lt;br /&gt;SELECT ArticleDate, URLFROM SCOPE()&lt;/div&gt;&lt;div&gt;WHERE CONTAINS(URL, &#39;&quot;http://mritunjay.com/sites/the site/docs/URLTest !@$/&quot;&#39;)&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/4454681224128589887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/07/fulltextsqlquery-search-queries-wuth_25.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/4454681224128589887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/4454681224128589887'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/07/fulltextsqlquery-search-queries-wuth_25.html' title='FullTextSqlQuery Search Queries with URL'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-3752898866209218082</id><published>2011-06-29T05:41:00.000-07:00</published><updated>2011-06-29T05:44:53.889-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IIS"/><title type='text'>Windows Process Activation Service(WAS) stopped</title><content type='html'>&lt;div&gt;Application pools cannot be started unless the windows Process Activation Service(WAS) is running&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;this error happens because of following reasons&lt;/div&gt;&lt;div&gt;1. Drive is out of space.&lt;/div&gt;&lt;div&gt;2. Folders deleted from the Inetpub : there is a great article by Scott which explains in details how to resolve. &lt;a href=&quot;http://www.hanselman.com/blog/FixedWindowsProcessActivationServiceWASIsStoppingBecauseItEncounteredAnError.aspx&quot;&gt;click here&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;   &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/3752898866209218082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/06/windows-process-activation-servicewas.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/3752898866209218082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/3752898866209218082'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/06/windows-process-activation-servicewas.html' title='Windows Process Activation Service(WAS) stopped'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-3608864201755509313</id><published>2011-06-22T19:02:00.000-07:00</published><updated>2011-06-22T19:06:40.186-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2010"/><title type='text'>List Throttling</title><content type='html'>List Throttling is a new feature in SharePoint 2010, it allows us to set the limit of how many rows of data can be retrieved from a list at a time. By default the list throttles to 5000 items. Let’s consider we have a list with 50000 entries and a user comes and creates a view with all the entries, then the SharePoint will return either error or the first set of results up to the number put in the list throttle.&lt;br /&gt;The throttle can be set on the lookups in a list, and we can limit the lookup columns. If we have too many lookups the performance will suffer. As we limit maximum throttle for the user, we can override the same on the Object Model if we have the sufficient privilege.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;using (SPSite site = new SPSite(&quot;http://mysite&quot;))&lt;br /&gt;{&lt;br /&gt;  using (SPWeb web = site.RootWeb)&lt;br /&gt;  {&lt;br /&gt;     try&lt;br /&gt;     {&lt;br /&gt;        SPList list = web.Lists[&quot;Shared Documents&quot;];&lt;br /&gt;&lt;br /&gt;        SPQuery qry = new SPQuery();&lt;br /&gt;        qry.QueryThrottleMode = SPQueryThrottleOption.Override;&lt;br /&gt;&lt;br /&gt;        SPListItemCollection coll = list.GetItems(qry);&lt;br /&gt;     }&lt;br /&gt;     catch(SPQueryThrottledException)&lt;br /&gt;     {&lt;br /&gt;       // Throttle exception&lt;br /&gt;     }&lt;br /&gt;  }&lt;br /&gt;}&lt;/i&gt;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/3608864201755509313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/06/list-throttling.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/3608864201755509313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/3608864201755509313'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/06/list-throttling.html' title='List Throttling'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-1154399627076593379</id><published>2011-04-06T22:37:00.001-07:00</published><updated>2011-04-06T22:44:47.356-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>Passing filter to View from Querystring</title><content type='html'>To pass the filter to the share point list view we can use FilterField1 and FilterValue1 &lt;br /&gt;&lt;br /&gt;FieldFilter : Column Name&lt;br /&gt;FilterValue : Value of the Field&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Sample&lt;/span&gt;&lt;br /&gt;   URL?FilterField1=Title&amp;FilterValue1=Mritunjay&lt;br /&gt;&lt;br /&gt;we can add more than one filters by just adding the FilterField2 and FilterValue3 in the querystring.</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/1154399627076593379/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/04/passing-filter-to-view-from-querystring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/1154399627076593379'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/1154399627076593379'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/04/passing-filter-to-view-from-querystring.html' title='Passing filter to View from Querystring'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-1589634294225075344</id><published>2011-01-25T05:35:00.000-08:00</published><updated>2011-01-25T05:38:24.830-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>Adding Dropdown to Sharepoint Webpart Properties</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;Adding Dropdown to Sharepoint Webpart Properties&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create a Webpart and add custopm property&lt;br /&gt;[WebBrowsable(false), Personalizable(PersonalizationScope.Shared)]&lt;br /&gt;public string SearchPath&lt;br /&gt;{&lt;br /&gt;  get { return _searchPath; }&lt;br /&gt;  set { _searchPath = value; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Create a class and extend it from ToolPart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;protected override void CreateChildControls()&lt;br /&gt;{&lt;br /&gt; webpart = this.WebPartToEdit as WebpartClass;&lt;br /&gt; toolPanel = new Panel();&lt;br /&gt; toolPanel.CssClass = &quot;ms-ToolPartSpacing&quot;;&lt;br /&gt; toolPanel.Controls.Add(GetToolPanel());&lt;br /&gt; this.Controls.Add(toolPanel);&lt;br /&gt; base.CreateChildControls();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public override void ApplyChanges()&lt;br /&gt;{&lt;br /&gt; webpart = this.WebPartToEdit as WebpartClass;&lt;br /&gt; webpart.SearchPath = ddl.SelectedValue;&lt;br /&gt; base.ApplyChanges();&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Other functions in the extended class of ToolPart&lt;br /&gt;private Control GetToolPanel()&lt;br /&gt;{&lt;br /&gt; toolPanelTable = new Table();&lt;br /&gt; toolPanelTable.CellPadding = 0;&lt;br /&gt; toolPanelTable.CellSpacing = 0;&lt;br /&gt; toolPanelTable.Style[&quot;border-collapse&quot;] = &quot;collapse&quot;;&lt;br /&gt; toolPanelTable.Attributes.Add(&quot;width&quot;, &quot;100%&quot;);&lt;br /&gt; toolPanelTable.Rows.Add(GetUseDropDown());&lt;br /&gt; toolPanelTable.Rows.Add(GetSeperatorRow());&lt;br /&gt; return toolPanelTable;&lt;br /&gt;}&lt;br /&gt;private TableRow GetUseDropDown()&lt;br /&gt;{&lt;br /&gt; TableRow row = new TableRow();&lt;br /&gt; TableCell cell = new TableCell();&lt;br /&gt; cell.Controls.Add(new LiteralControl(&quot;&amp;lt;div &amp;gt;&amp;lt;b&amp;gt;DropDownName&amp;lt;/b&amp;gt;&amp;lt;/div&amp;gt;&quot;));&lt;br /&gt; cell.Controls.Add(new LiteralControl(&quot;&amp;lt;div &amp;gt;&amp;lt;div &amp;lt;nobr&amp;gt;&quot;));&lt;br /&gt; ddl = RecursiveParse(); //return the Dropdown List&lt;br /&gt; cell.Controls.Add(ddl);&lt;br /&gt; cell.Controls.Add(new LiteralControl(&quot;&amp;lt;/nobr&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&quot;));&lt;br /&gt; row.Cells.Add(cell);&lt;br /&gt; return row;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private TableRow GetSeperatorRow()&lt;br /&gt;{&lt;br /&gt; TableRow row = new TableRow();&lt;br /&gt; TableCell cell = new TableCell();&lt;br /&gt; cell.Controls.Add(new LiteralControl(&quot;&amp;lt;div style=&#39;width:100%&#39; &amp;gt;&amp;lt;/div&amp;gt;&quot;));&lt;br /&gt; row.Cells.Add(cell);&lt;br /&gt; return row;&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/1589634294225075344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/01/adding-dropdown-to-sharepoint-webpart.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/1589634294225075344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/1589634294225075344'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/01/adding-dropdown-to-sharepoint-webpart.html' title='Adding Dropdown to Sharepoint Webpart Properties'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-5752588830953872303</id><published>2011-01-21T02:17:00.000-08:00</published><updated>2011-01-21T02:25:59.603-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>Create a Custom View for Survey List</title><content type='html'>Work around to create Views for survey&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Go to Settings of the Survey.   And copy the List ID from URL&lt;br /&gt; Example : ListID=%7BF2141E9F%2D8EA2%2D42EE%2DA965%2D52F1D7362066%7D &lt;br /&gt;2. Open the View creation Page of sameSite&lt;br /&gt; Example : http://SiteURL/_layouts/ViewType.aspx?List=ListID&amp;Source=SurveyListURL &lt;br /&gt;3. Then choose a view as we choose for other lists&lt;br /&gt;4. Type Custom View Name. &lt;br /&gt;5. Expand style tab, choose a style Basic Table &lt;br /&gt;6. press OK and view is ready.</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/5752588830953872303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/01/create-custom-view-for-survey-list.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/5752588830953872303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/5752588830953872303'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/01/create-custom-view-for-survey-list.html' title='Create a Custom View for Survey List'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-3188921038669948990</id><published>2011-01-14T01:41:00.000-08:00</published><updated>2011-01-14T01:42:31.762-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Custom Search"/><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>Sharepoint Search using Metadata Properties</title><content type='html'>Sharepoint Search using Metadata Properties&lt;br /&gt;&lt;br /&gt;Creation of Metadata Property&lt;br /&gt;1. Go to Shareod Services &lt;br /&gt;2. Open Metadata Property mapping&lt;br /&gt;3. Click on the New Managed Property&lt;br /&gt;4. Fill in the details and add to Crawled Properties&lt;br /&gt;5. Make sure to wait till the next crawl completes&lt;br /&gt;&lt;br /&gt;Search Component&lt;br /&gt;&lt;br /&gt;FullTextSqlQuery kwQuery = new FullTextSqlQuery(siteObject);&lt;br /&gt;StringBuilder queryText = new StringBuilder();&lt;br /&gt;queryText.Append(&quot;SELECT Title, ArticleDetails, URL &quot;); //ArticleDetails is managed Property&lt;br /&gt;queryText.Append(&quot;FROM SCOPE() WHERE &quot;);&lt;br /&gt;queryText.Append(&quot; CONTAINS(URL , &#39;NEWS&#39;) AND  NOT CONTAINS(URL , &#39;Forms&#39;) AND &quot;);   &lt;br /&gt;queryText.Append(&quot; \&quot;scope\&quot; = &#39;IntranetRelatedArticle&#39; AND &quot;);&lt;br /&gt;queryText.Append(&quot;( FREETEXT(DEFAULTPROPERTIES, &#39;Mritunjay Chourasia&#39;)&quot;);&lt;br /&gt;queryText.Append(&quot; ORDER BY Rank Desc&quot;);&lt;br /&gt;&lt;br /&gt;kwQuery.RowLimit = 5;&lt;br /&gt;kwQuery.QueryText = queryText.ToString();&lt;br /&gt;kwQuery.ResultTypes = ResultType.RelevantResults;&lt;br /&gt;ResultTableCollection results = kwQuery.Execute();&lt;br /&gt;ResultTable relevantResults = results[ResultType.RelevantResults];&lt;br /&gt;while (relevantResults.Read())&lt;br /&gt;{&lt;br /&gt;//Search Data computation&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/3188921038669948990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/01/sharepoint-search-using-metadata.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/3188921038669948990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/3188921038669948990'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/01/sharepoint-search-using-metadata.html' title='Sharepoint Search using Metadata Properties'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-5781934229716163485</id><published>2011-01-01T00:39:00.000-08:00</published><updated>2011-01-01T00:40:33.415-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>HTTP Request to get the data from the sharepoint list using jQuery.</title><content type='html'>HTTP Request to get the data from the sharepoint list using javascript/jQuery. &lt;br /&gt;&lt;br /&gt;Create a aspx page and place under the layouts folder and name it getcommentsfromlist.aspx&lt;br /&gt;&lt;br /&gt;Add following code on OnLoad Method &lt;br /&gt;public void OnLoad() &lt;br /&gt;{ &lt;br /&gt;    SPSite site = new SPSite(Request.QueryString[&quot;URL&quot;]); //Site URL&lt;br /&gt;    SPWeb web = site.OpenWeb();&lt;br /&gt;&lt;br /&gt;    SPList list = web.Lists[&quot;Comments&quot;]; //List in which Comments will be stored&lt;br /&gt;    String qPageId = Request.QueryString[&quot;PageID&quot;]; //Page ID&lt;br /&gt;&lt;br /&gt;    SPQuery query = new SPQuery();&lt;br /&gt;    query.Query = &quot;&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name=&#39;Title&#39; /&gt;&lt;Value Type=&#39;Text&#39;&gt;&quot; + qPageId.ToString() + &quot;&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;&quot;;&lt;br /&gt;    SPListItemCollection itemsReturnedFromQuery = list.GetItems(query);&lt;br /&gt;&lt;br /&gt;     &lt;br /&gt;    int totalPages;&lt;br /&gt;&lt;br /&gt;    query = new SPQuery();&lt;br /&gt;            query.Query = &quot;&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name=&#39;Title&#39; /&gt;&lt;Value Type=&#39;Text&#39;&gt;&quot; + qPageId.ToString() + &quot;&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;&lt;OrderBy&gt;&lt;FieldRef Name=&#39;Created&#39; Ascending=&#39;False&#39; /&gt;&lt;/OrderBy&gt;&quot;;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    foreach (SPListItem item in itemsReturnedFromQuery)&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;        retData += &quot;Author : &quot; +  item[&quot;Author&quot;].ToString() + &quot;Date : &quot; +  item[&quot;Created&quot;].ToString() + &quot;Author : &quot; +  item[&quot;Comment&quot;].ToString()&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    RenderHtmlControls(retData);&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;protected void RenderHtmlControls(string html)&lt;br /&gt;{        &lt;br /&gt;    Response.Write(html.ToString());&lt;br /&gt;    Response.End();//can be removed if you want to get the other static data which sharepoint places on the page &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We can call the above aspx page using following JQuery code to get the data&lt;br /&gt;&lt;br /&gt;var htmlData = $.ajax({&lt;br /&gt;    url: &quot;/_layouts/getcommentsfromlist.aspx?URL=&quot; + sCommentsURL + &quot;&amp;PageID=&quot; + hwPageID,&lt;br /&gt;        async: false&lt;br /&gt;    }).responseText;</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/5781934229716163485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/01/http-request-to-get-data-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/5781934229716163485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/5781934229716163485'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2011/01/http-request-to-get-data-from.html' title='HTTP Request to get the data from the sharepoint list using jQuery.'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-4140970859534483487</id><published>2010-12-29T20:48:00.000-08:00</published><updated>2010-12-29T20:53:31.569-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>Profile Image of user in Sharepoint</title><content type='html'>Function to get User profile image in Sharepoint.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public string userInfo(SPUser pUser, SPSite pSite)&lt;br /&gt;{&lt;br /&gt;    ServerContext context = ServerContext.GetContext(pSite);&lt;br /&gt;    UserProfileManager profileManager = new UserProfileManager(context);&lt;br /&gt;   &lt;br /&gt;    UserProfile profile_User = profileManager.GetUserProfile(pUser.LoginName);&lt;br /&gt;    UserProfileValueCollection values = profile_User[PropertyConstants.PictureUrl];&lt;br /&gt;    String urlImage = &quot;&quot;;&lt;br /&gt;    if (values.Count &gt; 0)&lt;br /&gt;    {&lt;br /&gt;            SPFieldUrlValue urlValue = new SPFieldUrlValue(values.Value.ToString());&lt;br /&gt;            urlImage = urlValue.Url;&lt;br /&gt;    }&lt;br /&gt;     return urlImage;&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/4140970859534483487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2010/12/profile-image-of-user-in-sharepoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/4140970859534483487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/4140970859534483487'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2010/12/profile-image-of-user-in-sharepoint.html' title='Profile Image of user in Sharepoint'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-612714771237235564</id><published>2010-08-02T13:14:00.000-07:00</published><updated>2010-08-02T13:17:48.043-07:00</updated><title type='text'>calculated column lookup have Prepend value string#;</title><content type='html'>Recently I faced problem in pulling the data from the Calculated field as a lookup column in the list, and in the datasheet view the vaues were Prepend by string#;.&lt;br /&gt;Following is the hotfix given by microsoft to resolve the issue.&lt;br /&gt;&lt;br /&gt;URL of Hotfix : http://support.microsoft.com/kb/948952</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/612714771237235564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2010/08/calculated-column-lookup-have-prepend.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/612714771237235564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/612714771237235564'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2010/08/calculated-column-lookup-have-prepend.html' title='calculated column lookup have Prepend value string#;'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-7627916621532520302</id><published>2010-07-06T05:07:00.000-07:00</published><updated>2010-07-06T05:13:28.372-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>Today in calculated column</title><content type='html'>For getting Today in the sharepoint calculated column we need to fool sharepoint list so that the Today function will be available in the calculated column&lt;br /&gt;Steps to get the Today in calculated Column&lt;br /&gt;1. Create a Column name Today&lt;br /&gt;2. Create the calculated column and write your formulae with respect to Today&lt;br /&gt;3. Delete the Today column.&lt;br /&gt;By doing the above steps you will find the value in the calculated column</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/7627916621532520302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2010/07/today-in-calculated-column.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/7627916621532520302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/7627916621532520302'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2010/07/today-in-calculated-column.html' title='Today in calculated column'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4117117577843388532.post-6773265495325665777</id><published>2010-05-19T21:31:00.000-07:00</published><updated>2010-05-19T21:36:17.299-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sharepoint 2007"/><title type='text'>Left Navigation for Weppart Page</title><content type='html'>Open the webpart page in the Sharepoint Designer and remove the following tags&lt;br /&gt;&amp;lt;asp:Content ContentPlaceHolderId=&quot;PlaceHolderLeftNavBar&quot; runat=&quot;server&quot;&amp;gt;&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;&amp;lt&amp;asp:Content ContentPlaceHolderId=&quot;PlaceHolderNavSpacer&quot; runat=&quot;server&quot;&amp;gt;&amp;lt;/asp:Content&amp;gt;&lt;br /&gt;&lt;br /&gt;And save the file back, on the warning for customization press Yes</content><link rel='replies' type='application/atom+xml' href='http://mritunjaychourasia.blogspot.com/feeds/6773265495325665777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mritunjaychourasia.blogspot.com/2010/05/left-navigation-for-weppart-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/6773265495325665777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4117117577843388532/posts/default/6773265495325665777'/><link rel='alternate' type='text/html' href='http://mritunjaychourasia.blogspot.com/2010/05/left-navigation-for-weppart-page.html' title='Left Navigation for Weppart Page'/><author><name>Mritunjay</name><uri>http://www.blogger.com/profile/13040543494555753065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq5f6V7og1KXpEzY9pFRPri2I2PFNqFjg8CQvwi8A045dBgXxOedK1CEOjDlqAvmsXkI8OddrEnzJ4uhwoH7YkS5y31ysSmKJ5pIWzeJv86dStRQiUx0h8h_hlKH6DuI4/s220/Mritunjay.png'/></author><thr:total>0</thr:total></entry></feed>