<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">Microsoft.SharePoint.DeveloperSupport.SupportEngineers["sowmyans"];</title><subtitle type="html" /><id>http://blogs.msdn.com/sowmyancs/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/sowmyancs/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2009-03-31T19:22:00Z</updated><entry><title>Issue with SPFile.SendToOfficialFile() while using with custom access policy (copy of WSS_Minimal)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/10/31/issue-with-spfile-sendtoofficialfile-while-using-with-custom-access-policy-copy-of-wss-minimal.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/10/31/issue-with-spfile-sendtoofficialfile-while-using-with-custom-access-policy-copy-of-wss-minimal.aspx</id><published>2009-10-31T03:02:25Z</published><updated>2009-10-31T03:02:25Z</updated><content type="html">Recently I had worked with an another interesting case with one of my customers. She has developed a custom webpart to iterate all the files in a SharePoint document library and send that file to a record center, also she want to implement partial trust and use least permission to the custom component. For that, she copied the WSS_Minimal.config file and added basic permissions. The below lines of code was using inside the custom webpart. &amp;#160; &amp;#160; SPList oList = oElevWeb.Lists[ &amp;quot;Shared...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/10/31/issue-with-spfile-sendtoofficialfile-while-using-with-custom-access-policy-copy-of-wss-minimal.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9915593" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>A tricky work-around to avoid infinite loop while updating an item in ItemUpdated Event in a very special scenario.</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/09/25/a-tricky-work-around-to-avoid-infinite-loop-while-updating-an-item-in-itemupdated-event-in-a-very-special-scenario.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/09/25/a-tricky-work-around-to-avoid-infinite-loop-while-updating-an-item-in-itemupdated-event-in-a-very-special-scenario.aspx</id><published>2009-09-25T06:40:43Z</published><updated>2009-09-25T06:40:43Z</updated><content type="html">I think this post’s title is little confusing, anyway here is another scenario to play with a List Event Handler. Recently I had worked with one my customers , he had implemented the code to send documents to a record center using SPFile.SendToOfficialFile () method. In the destination document library he had registered an event handler to catch the ItemUpdated event and update some metadata. Also there were several content types in the destination document library and there was an expiration policy...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/09/25/a-tricky-work-around-to-avoid-infinite-loop-while-updating-an-item-in-itemupdated-event-in-a-very-special-scenario.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9899313" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>Move a SPListItem without loosing its ItemId – Custom List</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/09/25/move-a-splistitem-without-loosing-its-itemid-custom-list.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/09/25/move-a-splistitem-without-loosing-its-itemid-custom-list.aspx</id><published>2009-09-25T06:22:43Z</published><updated>2009-09-25T06:22:43Z</updated><content type="html">Once I got a requirement to move a list item from one folder location to another within the same list (e.g. move the item to a sibling) while retaining the same ItemID. Example: Here is the original structure... List 1 &amp;#160;&amp;#160;&amp;#160;&amp;#160; Folder 1 &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Item A &amp;#160;&amp;#160;&amp;#160;&amp;#160; Folder 2 We need to move Item A to Folder 2 also the ItemID need be retained. List 1 &amp;#160;&amp;#160;&amp;#160;&amp;#160; Folder 1 &amp;#160;&amp;#160;&amp;#160;&amp;#160; Folder 2 &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/09/25/move-a-splistitem-without-loosing-its-itemid-custom-list.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9899308" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>Important point need to remember while working with DateTime filtering values in FullTextSqlQuery</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/09/25/important-point-need-to-remember-while-working-with-datetime-filtering-values-in-fulltextsqlquery.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/09/25/important-point-need-to-remember-while-working-with-datetime-filtering-values-in-fulltextsqlquery.aspx</id><published>2009-09-25T06:11:45Z</published><updated>2009-09-25T06:11:45Z</updated><content type="html">Once I was working with a custom search webpart issue in which search was implemented by using FullTextSqlQuery method, but it was not returning any results whenever we use contains predicate to filter the date time type columns. There was a custom managed property of type Date Time to filter in the custom webpart. Since it was not returning any results in the custom webpart, we added that managed property in OOB advance search web part to include the custom managed property in the pick property...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/09/25/important-point-need-to-remember-while-working-with-datetime-filtering-values-in-fulltextsqlquery.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9899307" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>Feature stapler for MySite to activate the Publishing Infrastructure Feature</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/09/25/feature-stapler-for-mysite-to-activate-the-publishing-infrastructure-feature.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/09/25/feature-stapler-for-mysite-to-activate-the-publishing-infrastructure-feature.aspx</id><published>2009-09-25T02:34:10Z</published><updated>2009-09-25T02:34:10Z</updated><content type="html">Recently, I had worked with another interesting requirement in which customer has some specific requirement with MySites. Their basic requirement was whenever the “my site” get provisioned that time they want to activate the “Office SharePoint Server Publishing Infrastructure feature”. So, the easiest way that we could accomplish their requirement was using a feature stapler. &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt; &amp;lt;Elements Id=&amp;quot; fa899b9d-85dd-4e0b-82d1-7cf7f6577136...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/09/25/feature-stapler-for-mysite-to-activate-the-publishing-infrastructure-feature.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9899227" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>“who” is “where” given a map of SharePoint ?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/09/24/who-is-where-given-a-map-of-sharepoint.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/09/24/who-is-where-given-a-map-of-sharepoint.aspx</id><published>2009-09-25T01:51:22Z</published><updated>2009-09-25T01:51:22Z</updated><content type="html">Once I got a request from one of my colleagues in MS and his customer wants to find out “who” is “where” given a map of SharePoint. So, if there is a Site A being visited by X and Y and X happens to be interacting docLib B – is there a way one could query either the object model / database to find out. 1. Who is at Site A Ans. X and Y 2. Who is uploading a document into dobLib B Ans. X It was really an interesting requirement, I had researched to find out a way and couldn’t find any built in feature...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/09/24/who-is-where-given-a-map-of-sharepoint.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9899209" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>SharePoint 2010 Sneak Peek !</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/07/14/sharepoint-2010-sneak-peek.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/07/14/sharepoint-2010-sneak-peek.aspx</id><published>2009-07-14T04:37:01Z</published><updated>2009-07-14T04:37:01Z</updated><content type="html">Check the below links for getting a Sneak Peek of next version of SharePoint… · 2010 Sneak Peek Home: http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/default.aspx · 2010 Sneak Peek Overview Video: http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Overview-Video.aspx · 2010 Sneak Peek IT Pro Video: http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/IT-Pro-video.aspx · 2010 Sneak Peek Developer Video: http://sharepoint.microsoft.com/2010/Sneak_Peek/Pages/Developer-video.aspx · 2010 Sneak...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/07/14/sharepoint-2010-sneak-peek.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9832656" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>Generate a report about all the sites and lists under a site collection</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/07/14/generate-a-report-on-all-the-sites-and-lists-under-a-site-collection.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="441352" href="http://blogs.msdn.com/sowmyancs/attachment/9832611.ashx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/07/14/generate-a-report-on-all-the-sites-and-lists-under-a-site-collection.aspx</id><published>2009-07-14T03:53:00Z</published><updated>2009-07-14T03:53:00Z</updated><content type="html">One of my customer wants monitors their SharePoint environment in order to meet governance requirement. Primary goal was generate a report of site hierarchy under a site collection including webs and libraries etc. created during specific timeframe. Thus, I have created a small utility – a .NET console based application which will accept a site collection URL as an input parameter and generate report which will dump the information name and created date of sites and lists. Here is the code snippet....(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/07/14/generate-a-report-on-all-the-sites-and-lists-under-a-site-collection.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9832611" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>How to filter AssignTo column with current user “[Me]” if the value is a group of members ?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/07/14/how-to-filter-assignto-column-with-a-member-or-me-if-the-value-is-a-group-of-members.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/07/14/how-to-filter-assignto-column-with-a-member-or-me-if-the-value-is-a-group-of-members.aspx</id><published>2009-07-14T03:41:41Z</published><updated>2009-07-14T03:41:41Z</updated><content type="html">Actually I got this requirement as a Question about using [me] filters for Group Membership: Consider I have a SharePoint Group created called “My Group” and I am a member of the group.&amp;#160; I am adding an “Assigned To” column to a library and all users will be putting a GROUP name in that People/Group field (not individual names as each item is a team effort).&amp;#160; Well the problem is that when I filter by “Assigned To” with [Me] as the filter SharePoint does not evaluate down to group membership...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/07/14/how-to-filter-assignto-column-with-a-member-or-me-if-the-value-is-a-group-of-members.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9832582" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>How to delete a user from BDC permissions list</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/07/13/how-to-delete-a-user-from-bdc-permissions-list.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/07/13/how-to-delete-a-user-from-bdc-permissions-list.aspx</id><published>2009-07-14T01:32:00Z</published><updated>2009-07-14T01:32:00Z</updated><content type="html">Once one my colleagues had a requirement where he want to delete users from ‘Business Data Catalogue Permissions’ programmatically. Here are the few classes that you can use to deal with the BDC permissions programmatically: Namespace: Microsoft.Office.Server.ApplicationRegistry.Infrastructure (Microsoft.SharePoint.Portal.dll contains the above namespace) Classes: 1. BdcAccessControlList 2. IndividualAccessControlEntry My colleague Varun has written a post about how to add a user to the BDC permission...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/07/13/how-to-delete-a-user-from-bdc-permissions-list.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9832428" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>workaround to the issue with the DataSheet View (if you have custom master page)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/05/31/work-around-to-the-issue-with-the-datasheet-view.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/05/31/work-around-to-the-issue-with-the-datasheet-view.aspx</id><published>2009-05-31T21:21:00Z</published><updated>2009-05-31T21:21:00Z</updated><content type="html">On creating a new ‘Datasheet View’ in a simple OOB Custom List or Document Library (where System master page is a custom master page) leads to either a hang (IE8) or an infinite loop (IE7) Leading to ever growing of window height both resulting in a CPU crash. During the script debugging found that the following are the two functions in Core.js which are going to infinite loop when custom master page with footer is present for the system pages. GCWindowResize and GCOnResizeGridControl The workaround...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/05/31/work-around-to-the-issue-with-the-datasheet-view.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9670823" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>Issue with upgrading the web part pages created from the custom web part page template from SPS 2003 and MOSS 2007</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/05/31/issue-with-upgrading-the-web-part-pages-created-from-the-custom-web-part-page-template-from-sps-2003-and-moss-2007.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/05/31/issue-with-upgrading-the-web-part-pages-created-from-the-custom-web-part-page-template-from-sps-2003-and-moss-2007.aspx</id><published>2009-05-31T21:16:00Z</published><updated>2009-05-31T21:16:00Z</updated><content type="html">Once I had worked with a case in which customer has created a custom web part page template in SPS 2003 as per the following MSDN article http://msdn.microsoft.com/en-us/library/dd583147.aspx . When customer upgraded from SPS 2003 to MOSS 2007 he found that the web part pages created in SPS 2003 based on the custom web part page templates are not upgraded correctly to MOSS 2007. Their look and feel in MOSS 2007 is not similar to SPS 2003. As the issue is with the web part pages created from the custom...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/05/31/issue-with-upgrading-the-web-part-pages-created-from-the-custom-web-part-page-template-from-sps-2003-and-moss-2007.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9670815" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>SharePoint state machine workflow : some issues and work-arounds</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/04/30/sharepoint-state-machine-workflow-some-issues-and-work-arounds.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/04/30/sharepoint-state-machine-workflow-some-issues-and-work-arounds.aspx</id><published>2009-04-30T20:45:00Z</published><updated>2009-04-30T20:45:00Z</updated><content type="html">In this post I am giving some possible issues that you may face while working with state machine workflow and the work around to resolve those issues. Issue 1 ======= Sometimes, if you have a SharePoint state based workflow that has a DelayActivity and the DelayActivity never fire and error out eventually. The problem lies in the fact that the workflow calls out to another DLL in the code activity following the DelayActivity. When the call is made a " System.IO.FileNotFoundException: Could not load...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/04/30/sharepoint-state-machine-workflow-some-issues-and-work-arounds.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9580869" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>Things to remember while creating custom content types through feature.</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/03/31/things-to-remember-while-creating-custom-content-types-through-feature.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/03/31/things-to-remember-while-creating-custom-content-types-through-feature.aspx</id><published>2009-03-31T21:23:00Z</published><updated>2009-03-31T21:23:00Z</updated><content type="html">Sometimes you may face an issue that, once you create new content type it will not display it in the Site Content Types in the site collection. You can check these issues by analyzing the custom Ctypes.xml deeply. Make sure that the you are adding the content type IDs correctly. Please check the below image for getting an idea about the format of the content type IDs. If you create a new content type then the new content type GUID must need to add as a prefix to the inheriting content type ID by...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/03/31/things-to-remember-while-creating-custom-content-types-through-feature.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9523564" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry><entry><title>Issue with SharePoint designer workflow to start under System Acccount.</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/sowmyancs/archive/2009/03/31/issue-with-sharepoint-designer-workflow-to-start-under-system-acccount.aspx" /><id>http://blogs.msdn.com/sowmyancs/archive/2009/03/31/issue-with-sharepoint-designer-workflow-to-start-under-system-acccount.aspx</id><published>2009-03-31T21:22:00Z</published><updated>2009-03-31T21:22:00Z</updated><content type="html">If you create a workflow in SharePoint designer and if you use choose “When create a project, auto start this workflow”, then you may see that the workflow is not starting once you add an item. The reason This behavior occurs because a security fix in Windows SharePoint Services 3.0 SP1 prevents declarative workflows from starting automatically under the system account. After you install Windows SharePoint Services 3.0 SP1, declarative workflows do not start automatically if the following conditions...(&lt;a href="http://blogs.msdn.com/sowmyancs/archive/2009/03/31/issue-with-sharepoint-designer-workflow-to-start-under-system-acccount.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9523561" width="1" height="1"&gt;</content><author><name>sowmyancs</name><uri>http://blogs.msdn.com/members/sowmyancs.aspx</uri></author></entry></feed>