<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8705297068966115777</atom:id><lastBuildDate>Wed, 10 Mar 2010 04:43:10 +0000</lastBuildDate><title>SharePoint Kings</title><description>SharePoint Kings,Technosavy guys hunting SharePoint Challenges...
MOSS 2007, Windows Workflow Foundation, Project Server  and Other Related Technologies.</description><link>http://www.sharepointkings.com/</link><managingEditor>parth2651@gmail.com (Parth Patel)</managingEditor><generator>Blogger</generator><openSearch:totalResults>307</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SharepointKings" /><feedburner:info uri="sharepointkings" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>SharepointKings</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FSharepointKings" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FSharepointKings" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FSharepointKings" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/SharepointKings" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FSharepointKings" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FSharepointKings" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FSharepointKings" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-1257053908646506669</guid><pubDate>Wed, 10 Mar 2010 04:37:00 +0000</pubDate><atom:updated>2010-03-10T10:12:08.665+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Workflow Foundation</category><title>Creating custom activity in Workflow Part – 3</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9kOchT5Df2QuXw4D0bXEiR01FTY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9kOchT5Df2QuXw4D0bXEiR01FTY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9kOchT5Df2QuXw4D0bXEiR01FTY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9kOchT5Df2QuXw4D0bXEiR01FTY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;In last two articles, we saw how to create basic activity and how to work with validations of properties.&lt;br /&gt;&lt;br /&gt;If you haven't gone through previous parts, then i recommend you reading &lt;a href="http://www.sharepointkings.com/2010/03/creating-custom-activity-in-workflow.html" taget="_blank"&gt;Creating custom activity in Workflow Part – 1&lt;/a&gt;  and &lt;a href="http://www.sharepointkings.com/2010/03/creating-custom-activity-in-workflow_08.html" target="_blank"&gt;Creating custom activity in Workflow Part – 2&lt;/a&gt; post before continue reading here.&lt;br /&gt;&lt;br /&gt;In this post, I am going to talk on Tool box item with respect to custom activity. When we want to initialize properties or want to perform any action when activity is being added (dropped) on visual designer, we can use toolbox item for this.&lt;br /&gt;&lt;br /&gt;To achieve this functionality we have to implement two steps.&lt;br /&gt;&lt;br /&gt;1) Create Toolboxitem class for custom activity deriving from ActivityToolboxItem class.&lt;br /&gt;&lt;br /&gt;2) Add ToolBoxItem attribute to the custom activity class.&lt;br /&gt;&lt;br /&gt;These two steps shown above are basic steps that you will find in all parts of this series. Because we have to perform above same steps (just inheritance is a difference) to achieve stuff for custom activity.&lt;br /&gt;&lt;br /&gt;So let us go ahead and assign default birth date to our birth date property (I know it does not sounds anything practical, However as I said if we use simple example then it makes life easier).&lt;br /&gt;&lt;br /&gt;One more important point to mention here is that we have to mark our class serializable and also we have to call deserialze in the constructor of the class. Reasons for this, well it is a topic of its own. I will explain it later. As of now, we will implement them to demonstrate our example and anyhow it’s merely two-three lines to write.&lt;br /&gt;&lt;br /&gt;Go ahead and add class to our custom activity project. Name it CustomActivityToolBoxItem.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5ciVcDCmDI/AAAAAAAAAKc/dVKeYpGiUO8/s1600-h/CA9.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 313px;" src="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5ciVcDCmDI/AAAAAAAAAKc/dVKeYpGiUO8/s320/CA9.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5446860026029447218" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then, go to the custom activity class and add System.ComponentModel which will help you to add attribute to the class.&lt;br /&gt;&lt;br /&gt;Add the newly build assembly to the toolbox and drag and drop on visual surface and see the magic. You will see default birth date property being set by our code.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_zOVGRm4VkbY/S5cidC9epJI/AAAAAAAAAKk/5TVXKLvNygg/s1600-h/CA10.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 119px;" src="http://4.bp.blogspot.com/_zOVGRm4VkbY/S5cidC9epJI/AAAAAAAAAKk/5TVXKLvNygg/s320/CA10.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5446860156734186642" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;See you soon with part 4.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-1257053908646506669?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/ybn0a_M8eek/creating-custom-activity-in-workflow_10.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5ciVcDCmDI/AAAAAAAAAKc/dVKeYpGiUO8/s72-c/CA9.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/03/creating-custom-activity-in-workflow_10.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-4497933511863853017</guid><pubDate>Mon, 08 Mar 2010 05:16:00 +0000</pubDate><atom:updated>2010-03-10T10:13:10.155+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Workflow Foundation</category><title>Creating custom activity in Workflow Part – 2</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7mler7ucoZ0MbZWggz9h4V2bc1U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7mler7ucoZ0MbZWggz9h4V2bc1U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7mler7ucoZ0MbZWggz9h4V2bc1U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7mler7ucoZ0MbZWggz9h4V2bc1U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;In my first post &lt;a href="http://www.sharepointkings.com/2010/03/creating-custom-activity-in-workflow.html" target="_blank"&gt;Creating custom activity in Workflow Part – 1 &lt;/a&gt; , we discussed about creating basic custom activity. Now as promised in this post, we will move a bit and hit the second topic of validation with custom activity.&lt;br /&gt;&lt;br /&gt;When we gave input of birth date in first activity, we didn’t create any validations for it. This post will tell us how to create validation that will help us to validate the input user is providing to the parameters. So we will force user to provide correct birth date.&lt;br /&gt;&lt;br /&gt;Bottom line is we can use the validation techniques in custom activity for each parameter that we define for our custom activity.&lt;br /&gt;&lt;br /&gt;Adding validators consist of two steps.&lt;br /&gt;&lt;br /&gt;1) We have to create a class which inherits from ActivityValidator Class.&lt;br /&gt;2) Add ActivityValidator attribute to the custom activity class.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We have to override Validate method and we will return ValidationErrorCollection which hold all validation errors for birth date. &lt;br /&gt;&lt;br /&gt;For validation logic, we will simply try to validate date against regular expression and if not matched, then we will throw the Error from our validator class.&lt;br /&gt;&lt;br /&gt;Keep in mind that we are using the same custom activity that we’ve created in part 1. Hence if you haven’t gone through part 1, I recommend read it first and then carry on with this example.&lt;br /&gt;&lt;br /&gt;So go ahead and add one class to the Workflow Custom activity project and name it CustomActivityValidator and inherit with ActivityValidator.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5SItuYM-3I/AAAAAAAAAJ8/C9TBMV-Vt3k/s1600-h/CA5.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 216px;" src="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5SItuYM-3I/AAAAAAAAAJ8/C9TBMV-Vt3k/s320/CA5.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5446128168522808178" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And then go to Custom Activity class and just add one attribute there on top of the class line and also add System.Workflow.ComponentModel.Compiler using statement.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_zOVGRm4VkbY/S5SI8Z8LNII/AAAAAAAAAKE/rxIZZq9vY4g/s1600-h/CA6.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 226px;" src="http://3.bp.blogspot.com/_zOVGRm4VkbY/S5SI8Z8LNII/AAAAAAAAAKE/rxIZZq9vY4g/s320/CA6.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5446128420734579842" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now just build the custom activity project again, and remove the previous custom activity on our console project and drag new (modified just now) activity to console application, and try to enter invalid date in property and valid property, and see. First we will enter valid date and then invalid date.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5SJCDT2zzI/AAAAAAAAAKM/51wYHSvIZZA/s1600-h/CA7.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 129px;" src="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5SJCDT2zzI/AAAAAAAAAKM/51wYHSvIZZA/s320/CA7.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5446128517739106098" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_zOVGRm4VkbY/S5SJGwaqfsI/AAAAAAAAAKU/C93r07MBXRs/s1600-h/CA8.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 86px;" src="http://4.bp.blogspot.com/_zOVGRm4VkbY/S5SJGwaqfsI/AAAAAAAAAKU/C93r07MBXRs/s320/CA8.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5446128598566731458" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Read &lt;a href="http://www.sharepointkings.com/2010/03/creating-custom-activity-in-workflow_10.html" target="_blank"&gt;Creating custom activity in Workflow Part – 3&lt;/a&gt; for furher reading.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-4497933511863853017?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/iv0WOHp_C64/creating-custom-activity-in-workflow_08.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5SItuYM-3I/AAAAAAAAAJ8/C9TBMV-Vt3k/s72-c/CA5.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/03/creating-custom-activity-in-workflow_08.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-6240435514133175353</guid><pubDate>Fri, 05 Mar 2010 07:09:00 +0000</pubDate><atom:updated>2010-03-08T10:54:28.017+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Windows Workflow Foundation</category><title>Creating custom activity in Workflow Part – 1</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lft23fgISDKsm_lgvH2IbliviJs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lft23fgISDKsm_lgvH2IbliviJs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lft23fgISDKsm_lgvH2IbliviJs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lft23fgISDKsm_lgvH2IbliviJs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;After long time, I am back to the workflow and really I have spent many months without writing anything related to the workflow.&lt;br /&gt;&lt;br /&gt;See &lt;a href="http://www.sharepointkings.com/2010/03/creating-custom-activity-in-workflow_08.html" target="_blank"&gt;Creating custom activity in Workflow Part – 2 &lt;/a&gt; for further reading after reading this post.&lt;br /&gt;&lt;br /&gt;This post will talk about creating custom activity in workflow. Is this the right time to talk about this topic, when you have bunch of articles already written on the net and books. Well, I think almost all of them starts with complex example of creating custom activity. Even in some books, they start with complex example, never written simple examples.&lt;br /&gt;&lt;br /&gt;So I thought of giving a change to myself to write down very basic stuff and example about custom activity.&lt;br /&gt;&lt;br /&gt;Custom activity in workflow is just like the concept of creating custom control for .Net applications. It can be user controls or a custom control. In the same way, in workflow world it can be single activity (Basic activity) or composite activity. Creating single activity is somewhat easier than creating composite activity. For example, Delay is basic activity and While is a composite activity.&lt;br /&gt;&lt;br /&gt;Other one important point to remember is basic activity derives from System.Workflow.ComponentModel.Activity and composite activity is derived from System.Workflow.ComponentModel.CompositeActivity.&lt;br /&gt;&lt;br /&gt;An activity is made up of four components. All are not required, only definition is required for an activity. However definitely we want to execute something in that, hence executor is also important.&lt;br /&gt;&lt;br /&gt;1) Definition: This is the definition of an activity where we define properties, events etc.&lt;br /&gt;2) Validator : This is for validating input properties value.&lt;br /&gt;3) Executor: Execute the actual code in the activity.&lt;br /&gt;4) Toolbox: This will help us to assign default values to properties at the time of dragging on Visual Studio designer surface.&lt;br /&gt;5) Designer: This is about makeup of the activity. (You will say, yes definitely a makeup :) )&lt;br /&gt;&lt;br /&gt;We will see each one of them in different parts. We will start with part 1 in this post and continue to explore each option in series.&lt;br /&gt;&lt;br /&gt;So let us go ahead and start writing our basic code to create custom activity.&lt;br /&gt;&lt;br /&gt;First open visual studio and choose workflow under C# and then choose custom activity. Add a class and perform the following steps. As we are creating basic activity, we will inherit from Activity class.&lt;br /&gt;&lt;br /&gt;Make sure that your class is marked public; otherwise you will not be able to place activity in toolbox itself.&lt;br /&gt;&lt;br /&gt;We have to create one dependency property and we are going to create BirthDate property here and our basic activity will return the age of a person.&lt;br /&gt;&lt;br /&gt;Then we will override the Execute method and execute my logic and then we will return our ActivityExecutionStatus, that means if it succeeds, we will return closed and if not, we have to return Faulting.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_zOVGRm4VkbY/S5CuvX-sCZI/AAAAAAAAAJc/jZH_eN0jTLk/s1600-h/CA1.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 273px;" src="http://4.bp.blogspot.com/_zOVGRm4VkbY/S5CuvX-sCZI/AAAAAAAAAJc/jZH_eN0jTLk/s320/CA1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5445044078404962706" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5Cuz9QDoMI/AAAAAAAAAJk/Jmy9kmDVxXo/s1600-h/CA2.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 171px;" src="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5Cuz9QDoMI/AAAAAAAAAJk/Jmy9kmDVxXo/s320/CA2.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5445044157129400514" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now go ahead and add one more sequential console workflow project to existing solution, and click on choose items on toolbox, browse to the DLL of just created custom activity and there you go, you will have it in the toolbox, just drag and drop it on the surface. Enter the BirthDate in BirthDate property, we’ve created. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_zOVGRm4VkbY/S5Cu66q8YlI/AAAAAAAAAJs/5uXbCkejz7I/s1600-h/CA3.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 87px;" src="http://2.bp.blogspot.com/_zOVGRm4VkbY/S5Cu66q8YlI/AAAAAAAAAJs/5uXbCkejz7I/s320/CA3.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5445044276695949906" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Run it, Debug it, try it and see for yourself.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5CvAzcbUJI/AAAAAAAAAJ0/z2oqc13IeSs/s1600-h/CA4.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 202px;" src="http://1.bp.blogspot.com/_zOVGRm4VkbY/S5CvAzcbUJI/AAAAAAAAAJ0/z2oqc13IeSs/s320/CA4.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5445044377835229330" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I will be back very soon with part 2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-6240435514133175353?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/eJXRi4M5kJQ/creating-custom-activity-in-workflow.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_zOVGRm4VkbY/S5CuvX-sCZI/AAAAAAAAAJc/jZH_eN0jTLk/s72-c/CA1.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/03/creating-custom-activity-in-workflow.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-7301812325638026326</guid><pubDate>Wed, 03 Mar 2010 05:10:00 +0000</pubDate><atom:updated>2010-03-03T10:43:38.465+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Polling Results</category><title>Finally the result is out</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/X4Y8oH0tFcQgZk5QL8nowe_47ck/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X4Y8oH0tFcQgZk5QL8nowe_47ck/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/X4Y8oH0tFcQgZk5QL8nowe_47ck/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X4Y8oH0tFcQgZk5QL8nowe_47ck/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;Again thank you for your support in giving opinions about polling questions.&lt;br /&gt;&lt;br /&gt;We asked about new ribbon control of SharePoint 2010 and almost people have welcomed this change.&lt;br /&gt;&lt;br /&gt;Question was :&lt;br /&gt;&lt;br /&gt;How do you see new ribbon interface in SharePoint 2010?&lt;br /&gt;&lt;br /&gt;Options were :&lt;br /&gt;&lt;br /&gt;1) Welcome change in SharePoint 2010. Making consistent with office product.&lt;br /&gt;2) Have they really changed anything? It is just a way of presenting options differenty.&lt;br /&gt;&lt;br /&gt;Here is a result.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_zOVGRm4VkbY/S43vi1Pb2mI/AAAAAAAAAJM/ZolYTvh4XDc/s1600-h/POLL.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 227px; height: 172px;" src="http://2.bp.blogspot.com/_zOVGRm4VkbY/S43vi1Pb2mI/AAAAAAAAAJM/ZolYTvh4XDc/s320/POLL.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5444270906247207522" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-7301812325638026326?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/gaILLtiG6Ok/finally-result-is-out.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_zOVGRm4VkbY/S43vi1Pb2mI/AAAAAAAAAJM/ZolYTvh4XDc/s72-c/POLL.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/03/finally-result-is-out.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-8147577527178818030</guid><pubDate>Tue, 02 Mar 2010 07:01:00 +0000</pubDate><atom:updated>2010-03-02T12:40:19.693+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>Version difference in Site Settings and Central administration</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UJ-iN6TRTWpogBoLDwpumxzoy7g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UJ-iN6TRTWpogBoLDwpumxzoy7g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UJ-iN6TRTWpogBoLDwpumxzoy7g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UJ-iN6TRTWpogBoLDwpumxzoy7g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;One day somebody asked me, what is the version number of your SharePoint? And I did not have answer because I was not too sure where to look for. However it came in my mind that we can see version number on site settings page. Hence I opened my site settings page and gave answer to a person who asked me last evening.&lt;br /&gt;&lt;br /&gt;So what is the big deal here in version number? Nothing new, you just have the version number of your SharePoint on site settings page.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_zOVGRm4VkbY/S4y4v5FUOuI/AAAAAAAAAI0/Mmv2ytaaXCA/s1600-h/VersionNumberSiteSettings.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 82px;" src="http://2.bp.blogspot.com/_zOVGRm4VkbY/S4y4v5FUOuI/AAAAAAAAAI0/Mmv2ytaaXCA/s320/VersionNumberSiteSettings.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5443929182500567778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Wait a minute. Have you ever observed version number as part of Farm Information in central administration.  See below image for it.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_zOVGRm4VkbY/S4y5xbBSq1I/AAAAAAAAAJE/lwT8tzaFMwI/s1600-h/VersionNumberCASiteSettings.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 88px;" src="http://2.bp.blogspot.com/_zOVGRm4VkbY/S4y5xbBSq1I/AAAAAAAAAJE/lwT8tzaFMwI/s320/VersionNumberCASiteSettings.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5443930308301990738" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In my machine, version number under site settings and version number under farm information are same. However, if you see a different version number in any of them, then there could be some reason for this. May be following reason is responsible for this version difference.&lt;br /&gt;&lt;br /&gt;1) You may have applied some service packs related to MOSS / WSS 3.0 and you forgot to run SharePoint technology and configuration wizard. You must complete that wizard after applying service pack and that too successfully.&lt;br /&gt;&lt;br /&gt;So bottom line is whenever you apply any service pack or when ever SharePoint asks you to run the wizard, just run it successfully and you should have same version number under both above mentioned screen.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-8147577527178818030?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/d5YvbX7OSp0/version-difference-in-site-settings-and.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_zOVGRm4VkbY/S4y4v5FUOuI/AAAAAAAAAI0/Mmv2ytaaXCA/s72-c/VersionNumberSiteSettings.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/03/version-difference-in-site-settings-and.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-7912395610808076766</guid><pubDate>Thu, 25 Feb 2010 04:17:00 +0000</pubDate><atom:updated>2010-02-25T09:50:45.969+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>Taking list item back up with attachments</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/sYM7M4TTBh5SXZfGsZETuq5MU4U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sYM7M4TTBh5SXZfGsZETuq5MU4U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/sYM7M4TTBh5SXZfGsZETuq5MU4U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/sYM7M4TTBh5SXZfGsZETuq5MU4U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;Sometimes we require taking back up of list items along with attachments. Definitely there is an option to export to excel, however that doesn’t copy attachment with it and hence it is a drawback only if you want attachment with list item as well, else export to excel is really a cool functionality.&lt;br /&gt;&lt;br /&gt;Coming back to the point, so what do we do to get the attachment as well? Well, the answer to this question lies in the same menu and that option is Open with Access.&lt;br /&gt;&lt;br /&gt;So go ahead with your list items that you want to back up. Open the Actions menu and click on open with Access. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_zOVGRm4VkbY/S4X6QsUb5LI/AAAAAAAAAIk/jlHv2-4AgiA/s1600-h/Issues.PNG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 44px;" src="http://1.bp.blogspot.com/_zOVGRm4VkbY/S4X6QsUb5LI/AAAAAAAAAIk/jlHv2-4AgiA/s320/Issues.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5442030889428837554" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Specify a new location for your database and also chose whether you want to be connected with SharePoint list so that any changes can be reflected here and also vice versa, or just you want to have a copy of it which is export the data.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_zOVGRm4VkbY/S4X6iJ6paGI/AAAAAAAAAIs/-fuzINL_p6w/s1600-h/IssuesTable.PNG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 146px;" src="http://1.bp.blogspot.com/_zOVGRm4VkbY/S4X6iJ6paGI/AAAAAAAAAIs/-fuzINL_p6w/s320/IssuesTable.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5442031189431511138" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That’s it. You have just taken a back up of your list items with attachments.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-7912395610808076766?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/hoeF8xbs4ys/taking-list-item-back-up-with.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_zOVGRm4VkbY/S4X6QsUb5LI/AAAAAAAAAIk/jlHv2-4AgiA/s72-c/Issues.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/taking-list-item-back-up-with.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-1180880606541209472</guid><pubDate>Tue, 23 Feb 2010 04:56:00 +0000</pubDate><atom:updated>2010-02-23T10:29:10.481+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Object Model</category><category domain="http://www.blogger.com/atom/ns#">Sharepoint administration</category><title>Set audience targeting programmatically</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Tn57tHSVfoeCBU0cZUbB5Rc6bOU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tn57tHSVfoeCBU0cZUbB5Rc6bOU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Tn57tHSVfoeCBU0cZUbB5Rc6bOU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Tn57tHSVfoeCBU0cZUbB5Rc6bOU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;Today I am going to explain you about audience targeting. However I am going to share in terms of programming aspects. Because we all know that we can create our audience in central administration and then simple apply them on list items or document library items or on web parts on pages.&lt;br /&gt;&lt;br /&gt;However we will see it this time how to do the same using code. &lt;br /&gt;&lt;br /&gt;I assume that you have already created audience named “Sales” and “Finance”. I am not going in deep discussion explaining you each and every class and methods used in it. You may query me your doubts and I will be keen to reply you back.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;using (SPWeb objsite = (SPWeb)properties.Feature.Parent)&lt;br /&gt;{&lt;br /&gt;using (SPLimitedWebPartManager wpm &lt;br /&gt;        = objsite.GetLimitedWebPartManager("default.aspx", PersonalizationScope.Shared))&lt;br /&gt;    {&lt;br /&gt;        AudienceManager am = new AudienceManager(ServerContext.Current);&lt;br /&gt; &lt;br /&gt;       wpm.WebParts[0].AuthorizationFilter &lt;br /&gt;            = string.Format("{0};;;;", am.GetAudience("Sales").AudienceID);&lt;br /&gt; &lt;br /&gt;       wpm.SaveChanges(wpm.WebParts[0]);&lt;br /&gt;    }&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;We first take our web context and then take out the default.aspx web parts. We use webpartmanager to deal with them.  Then take out Audience manager class with the context, and then interesting part comes. Authorizationfilter takes argument in such way that we have to pass ;;;; in it after getting the audience target ID. Get the webpart that you want and pass its Title let’s say in wpm.WebParts[0].AuthorizationFilter line. I’ve used 0 just to get the first webpart and show you the demo.&lt;br /&gt;&lt;br /&gt;Here we want to target sales people, so we have passed Sales and get the ID of it and finally call up the savechanges method of webpartmanager object. &lt;br /&gt;&lt;br /&gt;As simple as that.  &lt;br /&gt;&lt;br /&gt;Hummm…What about Finance people. Well there you go, you can set multiple audience in one go.&lt;br /&gt;&lt;br /&gt;Just change the line to. &lt;br /&gt;&lt;br /&gt;wpm.WebParts[0].AuthorizationFilter &lt;br /&gt;            = string.Format("{0},{1};;;;", am.GetAudience("Sales").AudienceID, am.GetAudience("Finance").AudienceID);&lt;br /&gt;&lt;br /&gt;Your job is done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-1180880606541209472?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/IjUKP7SkWS4/set-audience-targeting-programmatically.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/set-audience-targeting-programmatically.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-973805050511513613</guid><pubDate>Mon, 22 Feb 2010 05:00:00 +0000</pubDate><atom:updated>2010-02-22T10:32:23.446+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">SharePoint 2010</category><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>System.IO.FileNotFound exception in SharePoint 2010</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qS_NWlXvQ007CWN7XKboCaURUMk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qS_NWlXvQ007CWN7XKboCaURUMk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qS_NWlXvQ007CWN7XKboCaURUMk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qS_NWlXvQ007CWN7XKboCaURUMk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;Just came to know about very basic stuff in SharePoint 2010. Let’s say you are creating one simple console application in VS 2010 that just displays your site name.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;using System;&lt;br /&gt;using Microsoft.SharePoint;&lt;br /&gt;using System.Text; &lt;br /&gt;&lt;br /&gt;namespace ConsoleApplication1&lt;br /&gt;{&lt;br /&gt;    class Program&lt;br /&gt;    {&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            using (SPSite objSiteColl = new SPSite(&amp;quot;http://myurl&amp;quot;))&lt;br /&gt;            {&lt;br /&gt;                Console.WriteLine(&amp;quot;Title of the site is : {0}&amp;quot;, objSiteColl.RootWeb.Title);&lt;br /&gt;            }&lt;br /&gt; &lt;br /&gt;            Console.ReadLine();&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And you run the code, you get System.IO.FileNotFound exception saying that web application is not found, verify that you have typed the correct URL. So what do we do now? We go back and check the URL,hum…URL is perfect, nothing wrong about this. So small program and still not able to run it?&lt;br /&gt;&lt;br /&gt;Well, answer lies in VS 2010 because by default build property is set to x86 and SharePoint does not work on x86 platform. As we all know that now MS wants everyone to move on 64 bit PCs. (Another money eating machine), so go to project properties, go to build tab and change the platform target to x64 and try now.&lt;br /&gt;&lt;br /&gt;There you go; I think your error might have gone now. What say?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-973805050511513613?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/oLD-gMnuKZU/systemiofilenotfound-exception-in.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/systemiofilenotfound-exception-in.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-10485493999327893</guid><pubDate>Sat, 20 Feb 2010 17:58:00 +0000</pubDate><atom:updated>2010-02-20T23:33:48.606+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">STSADM</category><category domain="http://www.blogger.com/atom/ns#">Backup and Restore</category><title>Backup and Restore SharePoint site collection from one Farm to another Farm using STSADM commands</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nVKnOKVEq6U1BdFZRvkX62uZKv4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nVKnOKVEq6U1BdFZRvkX62uZKv4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nVKnOKVEq6U1BdFZRvkX62uZKv4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nVKnOKVEq6U1BdFZRvkX62uZKv4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Scenario:  I have server called “ABC” where there is site collection called http://abc.com  and I want to backup this site collection and restore it to new SharePoint farm “XYZ” http://xyz.com &lt;br /&gt;Source Server:&lt;br /&gt;  Server Name: ABC&lt;br /&gt;  Site Collection URL: http://abc.com&lt;br /&gt;  Site Owner: ABC/administrator&lt;br /&gt;Take backup using following command:&lt;br /&gt;STSADM.EXE –o backup –URL http://abc.com    -filename “backup_abc.bak” –overwrite &lt;br /&gt;Help URL for backup: &lt;a href="http://technet.microsoft.com/en-us/library/cc263441.aspx"&gt;http://technet.microsoft.com/en-us/library/cc263441.aspx&lt;/a&gt;&lt;br /&gt;Now to restore it to destination SharePoint farm&lt;br /&gt;Destination Server:&lt;br /&gt;  Server Name: XYZ&lt;br /&gt;  Site Collection URL: http://xyz.com&lt;br /&gt;  Site Owner: XYZ/administrator&lt;br /&gt;Create blank Web Application from Central Administration&lt;br /&gt;Now restore using STSADM command&lt;br /&gt;STSADM.EXE –o restore –URL http://xyz.com  -filename “backup_abc.bak” –restoremethod  New –newdatabaseserver “DATABASE_SERVER_NAME”&lt;br /&gt;Change the site collection owner of this newly restored site &lt;br /&gt;More details for restore is here&lt;br /&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc262087.aspx"&gt;http://technet.microsoft.com/en-us/library/cc262087.aspx&lt;/a&gt;&lt;br /&gt;Hope this will help you, let us know your comments on it&lt;br /&gt;&lt;br /&gt;SharePointKings Team.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-10485493999327893?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/EJFzN0brZGE/backup-and-restore-sharepoint-site.html</link><author>noreply@blogger.com (Jayesh Prajapati)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/backup-and-restore-sharepoint-site.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-1348449886015482186</guid><pubDate>Fri, 19 Feb 2010 05:21:00 +0000</pubDate><atom:updated>2010-02-19T11:04:53.988+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">STSADM</category><category domain="http://www.blogger.com/atom/ns#">SharePoint Utilities</category><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>SharePoint Solution (.wsp) smartsolutionupgrade STSADM</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/pmWSvC9gR83-BfFTJM9S1iYiQh4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pmWSvC9gR83-BfFTJM9S1iYiQh4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/pmWSvC9gR83-BfFTJM9S1iYiQh4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pmWSvC9gR83-BfFTJM9S1iYiQh4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;Yesterday,I came across one nice feature from "Trentacular SharePoint 2007 Features" CodePlex, here is a link &lt;a href="http://trentacularfeatures.codeplex.com/"&gt;http://trentacularfeatures.codeplex.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Actually, I have created custom site definition and it has some custom site pages, I have created SharePoint Solution package (.wsp) file to deploy it.&lt;br /&gt;Now I have created 10 sites from this site definition after few days I need to change in few SharePoint features and custom site pages. Now I wanted to upgrade this changes on already existing 10 sites.&lt;br /&gt;When I upgrade command using stsadm -o upgreadesolutions it upgrade the solution but to get effect of that upgraded solution to existing 10 sites i need to deactivate features of site pages and activate it. that thing i wanted to automate. I do not want to loop through each site and deactivate feature and activate it. &lt;br /&gt;&lt;br /&gt;I got above nice solution that does smart upgrade it make inventory of features installed on your .wsp file and which site it is activated. It will upgrade solutions&lt;br /&gt;deactivate features and activate it again and your task is done :)&lt;br /&gt;&lt;br /&gt;Really really nice features we should use it for smartupgradation&lt;br /&gt;&lt;br /&gt;Let us know your comments on it.&lt;br /&gt;&lt;br /&gt;It has following features&lt;br /&gt;&lt;br /&gt;smartexecjobdefs stsadm command&lt;br /&gt;&lt;br /&gt;An stsadm command that kicks of one-time scheduled jobs and monitors for their completion before returning control&lt;br /&gt;smartsolutionupgrade stsadm command&lt;br /&gt;An stsadm command that performs Solution upgrades in a smart manner&lt;br /&gt;Usage&lt;br /&gt;stsadm -o smartsolutionupgrade [ -filename &lt;Solution filename&gt; ] [ -filenamelist &lt;Path to text file containing each of the solution filenames on separate lines&gt; ]&lt;br /&gt;Actions performed&lt;br /&gt;&lt;br /&gt;   1. Accepts as input either a single Solution filename or a filename of a text file containing a list of Solutions to be upgraded&lt;br /&gt;   2. Extracts and parses the Solution manifest file from each existing Solution to be upgraded in order to determine the Features that will be affected by the upgrade&lt;br /&gt;   3. Inventories the deployment states of the existing Solutions&lt;br /&gt;   4. Inventories the activation states of the affected Features at all scopes within the SharePoint Farm&lt;br /&gt;   5. Deactivates all affected Features&lt;br /&gt;   6. Retracts each of the existing Solutions and deletes them from the Solution store&lt;br /&gt;   7. Adds the updated Solution to the Solution store&lt;br /&gt;   8. Deploys each of the upgraded Solutions according to their previous deployment state&lt;br /&gt;   9. Activates all affected Features according to their previous activation state&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;SharePointKings Team&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-1348449886015482186?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/ZYjpNf2iJYA/sharepoint-solution-wsp.html</link><author>noreply@blogger.com (Jayesh Prajapati)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/sharepoint-solution-wsp.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-6569079365599882835</guid><pubDate>Fri, 19 Feb 2010 04:43:00 +0000</pubDate><atom:updated>2010-02-19T10:14:49.952+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>CHM file issue in SharePoint</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KWAfEnHjEgcKdmdAWVItS-aW9pI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KWAfEnHjEgcKdmdAWVItS-aW9pI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KWAfEnHjEgcKdmdAWVItS-aW9pI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KWAfEnHjEgcKdmdAWVItS-aW9pI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;One week ago at home when I was reading some nice CHM file, I thought of putting it on my SharePoint site. I uploaded my chm file in one document library.&lt;br /&gt;&lt;br /&gt;Wooh….when I opened it from document library I could not see the content on right frame. I again uploaded the same file; again it gave me the same result. When I open it on my machine and view it, it works really fine. However when I click on CHM file and open it, I can’t view any information on right frame. I wonder what the problem is.&lt;br /&gt;&lt;br /&gt;Then I bing the information and I find out that it is the known issue to MS. Even you put CHM file o network share and try to open directly from network share location, then the same problem persists. You will not be able to see the content on right frame.&lt;br /&gt;&lt;br /&gt;So bottom line is, whenever you click CHM file from document library, Save it on your local machine and then open it instead of opening the file directly. If you want it from network share, copy it from network share to your local machine and then view it.&lt;br /&gt;&lt;br /&gt;Following are some blogs that has details regarding this.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ureader.com/message/1346380.aspx"&gt;http://www.ureader.com/message/1346380.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointecm/thread/547d5ac8-5c32-4fb2-a3e3-86acb88e778b"&gt;http://social.msdn.microsoft.com/Forums/en-US/sharepointecm/thread/547d5ac8-5c32-4fb2-a3e3-86acb88e778b&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/902225"&gt;http://support.microsoft.com/kb/902225&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-6569079365599882835?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/T1QMoBs2zHY/chm-file-issue-in-sharepoint.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/chm-file-issue-in-sharepoint.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-4228828528688087194</guid><pubDate>Thu, 18 Feb 2010 05:01:00 +0000</pubDate><atom:updated>2010-02-18T10:44:50.014+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Polling Results</category><title>Finally the result is out.</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ufYr35pg7QoyfrS56TxpqFd-eU0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ufYr35pg7QoyfrS56TxpqFd-eU0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ufYr35pg7QoyfrS56TxpqFd-eU0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ufYr35pg7QoyfrS56TxpqFd-eU0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;We would like to thank each one who contributed in voting for the polling question. Following is the result of voting. So bottom line is people have liked the way Microsoft has moved to 64 bit.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_zOVGRm4VkbY/S3zJwpwCfuI/AAAAAAAAAIc/cnltUlHeGLk/s1600-h/SPKPollSurvey.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 237px; height: 167px;" src="http://3.bp.blogspot.com/_zOVGRm4VkbY/S3zJwpwCfuI/AAAAAAAAAIc/cnltUlHeGLk/s320/SPKPollSurvey.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5439444287634964194" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thank you all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-4228828528688087194?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/XrdDYzBkFHk/finally-is-result-is-out.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_zOVGRm4VkbY/S3zJwpwCfuI/AAAAAAAAAIc/cnltUlHeGLk/s72-c/SPKPollSurvey.JPG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/finally-is-result-is-out.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-8539418543946150294</guid><pubDate>Thu, 18 Feb 2010 04:27:00 +0000</pubDate><atom:updated>2010-02-18T11:47:56.474+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Object Model</category><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>How to reply on discussion thread programmatically – Part 2</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/S-xo7m_KrT5pDpip6mGFyhf5Kls/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/S-xo7m_KrT5pDpip6mGFyhf5Kls/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/S-xo7m_KrT5pDpip6mGFyhf5Kls/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/S-xo7m_KrT5pDpip6mGFyhf5Kls/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;I am back with more details on discussion thread reply programmatically. In &lt;a href="http://www.sharepointkings.com/2010/02/how-to-reply-on-discussion-thread.html" target="_blank"&gt; part 1&lt;/a&gt;, we simply went through how we can create discussion list and create simple reply.&lt;br /&gt;&lt;br /&gt;This post will tell you more details regarding it.&lt;br /&gt;&lt;br /&gt;Let us start with replying individual thread reply. First you need to loop through the subjects or best it to query discussion list with the help of SPQuery on subject field, so that you get the SPListItem object in your hand to play with.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;using (SPSite objSite = new SPSite("{site URL}"))&lt;br /&gt;            {&lt;br /&gt;                SPWeb objWeb = objSite.OpenWeb("Web Name");&lt;br /&gt;&lt;br /&gt;                objWeb.AllowUnsafeUpdates = true;&lt;br /&gt;&lt;br /&gt;                SPList objList = objWeb.Lists["{discussion list name}"];&lt;br /&gt;&lt;br /&gt;//remember objList.Folders will return you all discussion subjects. objList .ItemCount will return you all discussion along with their replies, objList .Items.count will return only replies. So now we will loop through all subjects,for demo I have also three discussion threads in my list. In real scenario, query the list and get SPListItem object.&lt;br /&gt;  foreach (SPListItem lstsubject in objList.Folders )&lt;br /&gt;                {&lt;br /&gt;&lt;br /&gt;                                    strSubject = lstsubject.Name;&lt;br /&gt;    &lt;br /&gt;if(strSubject.Contains(“test subject to reply”))&lt;br /&gt;{&lt;br /&gt;SPListItem parentitem = objList.GetItemById(lstsubject.ID); //Get //the SPListItem for that discussion subject thread.&lt;br /&gt;&lt;br /&gt;//Create reply to that subject.&lt;br /&gt;&lt;br /&gt;SPListItem reply = SPUtility.CreateNewDiscussionReply(parentitem);&lt;br /&gt;&lt;br /&gt;reply["Body"] = "Yippi…This is my reply programmatically";&lt;br /&gt;reply.Update();&lt;br /&gt;}&lt;br /&gt;                }&lt;br /&gt;objWeb.AllowUnsafeUpdates = false;&lt;br /&gt;}&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Hope this will help you a bit. In my part 3, I will explain bit more about how to go ahead and reply individual thread inside perticular subject.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-8539418543946150294?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/3UTtLL24iww/how-to-reply-on-discussion-thread_18.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/how-to-reply-on-discussion-thread_18.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-8832773573504047846</guid><pubDate>Wed, 17 Feb 2010 04:42:00 +0000</pubDate><atom:updated>2010-02-17T10:14:22.007+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Object Model</category><category domain="http://www.blogger.com/atom/ns#">Sharepoint administration</category><title>Copying users from user profile to site users</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-ZkkkzBXsIUNISqx5jSf2iCXrvI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-ZkkkzBXsIUNISqx5jSf2iCXrvI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-ZkkkzBXsIUNISqx5jSf2iCXrvI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-ZkkkzBXsIUNISqx5jSf2iCXrvI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;One fine day I woke up and thought of doing some small code on user profile. Then I decided to copy all users from user profile to one site. Just for knowledge purpose and it worked. So I am going to show the steps to achieve this in this post.&lt;br /&gt;&lt;br /&gt;Keep in mind that I’ve done it on my server only and I developed Windows Application to achieve this.&lt;br /&gt;&lt;br /&gt;First, taken an object for your web in which you want to copy users.&lt;br /&gt;&lt;br /&gt;You will need these references of assemblies.&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Windows.Forms;&lt;br /&gt;using Microsoft.Office.Server.UserProfiles;&lt;br /&gt;using Microsoft.Office.Server;&lt;br /&gt;using Microsoft.SharePoint;&lt;br /&gt;&lt;br /&gt;and thenwriten down the following code. Just make sure that you have administrative rights to perform this operation.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;SPSite objSite = new SPSite(&amp;quot;{site URL}&amp;quot;);&lt;br /&gt;//Then obtain server context,&lt;br /&gt;ServerContext svrContext = ServerContext.GetContext(objSite);&lt;br /&gt;//Take User profile object &lt;br /&gt;   UserProfile myProfile = null;&lt;br /&gt;                UserProfileManager profileManager = new UserProfileManager(svrContext);&lt;br /&gt; //Open the web.&lt;br /&gt;  SPWeb web = objSite.OpenWeb();&lt;br /&gt;&lt;br /&gt;                web.AllowUnsafeUpdates = true;&lt;br /&gt;&lt;br /&gt;//Navigate through each user profile in profile manager&lt;br /&gt;//and then add the users to the site with its login name.&lt;br /&gt;&lt;br /&gt;                foreach (UserProfile userprofile in profileManager)&lt;br /&gt;                {&lt;br /&gt;                    if (profileManager.UserExists(userprofile.MultiloginAccounts[0]))&lt;br /&gt;                    {&lt;br /&gt;                        web.SiteUsers.Add(userprofile.MultiloginAccounts[0], &amp;quot;&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;&amp;quot;);&lt;br /&gt;                    }&lt;br /&gt;                   &lt;br /&gt;&lt;br /&gt;                }              &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                web.Update();&lt;br /&gt;&lt;br /&gt;                web.AllowUnsafeUpdates = false;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;After performing this operation, just wait for some time. This is because initially you may see users Account name as DomainName\UserName, However after some time, These user names will be converted to the Actual user names.(the one that we see after welcome {user name} on top right corner).&lt;br /&gt;&lt;br /&gt;Hope this will help.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-8832773573504047846?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/buXGM7jV_Rs/copying-users-from-user-profile-to-site.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/copying-users-from-user-profile-to-site.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-8190442326622722766</guid><pubDate>Tue, 16 Feb 2010 04:54:00 +0000</pubDate><atom:updated>2010-02-16T10:26:15.948+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Object Model</category><title>How to reply on discussion thread programmatically – Part 1</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TjaYrqdgW_d361YVDIXYspxIriw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TjaYrqdgW_d361YVDIXYspxIriw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TjaYrqdgW_d361YVDIXYspxIriw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TjaYrqdgW_d361YVDIXYspxIriw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;We all know how to create discussion list programmatically, however question comes how to reply individual discussion thread programmatically.&lt;br /&gt;&lt;br /&gt;Well, before starting, just would like to tell you that in this post, I am going to cover very basic idea about discussion list objects and some tips. However in next part 2, I am going to cover in detail about replies and individual threads of discussion list. &lt;br /&gt;&lt;br /&gt;This is how you create the discussion list programmatically and its discussion topic in it.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.sharepointkings.com/2008/09/creating-discussion-list.html" target="_blank"&gt;Create Discussion list programmatically and add thread programmatically&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let’s say you have now your topic in your hand and then we need to take out that topic as SPListItem object.&lt;br /&gt;&lt;br /&gt;SPListItem reply = SPUtility.CreateNewDiscussionReply({SPListItem Topic Object});&lt;br /&gt;reply["Body"] = "Yeh!!This is reply from code.";&lt;br /&gt;reply.Update();&lt;br /&gt;&lt;br /&gt;So this is a reply to a thread created programmatically. Watch out for next part as it explains in depth details about discussion list coding stuff.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-8190442326622722766?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/oItCXlvlAao/how-to-reply-on-discussion-thread.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/how-to-reply-on-discussion-thread.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-6057481827397111910</guid><pubDate>Mon, 15 Feb 2010 04:58:00 +0000</pubDate><atom:updated>2010-02-15T10:30:50.666+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>Create New document link in ListView Web part</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Q-JJJa9Fy4wqg0tpCJROgw3XI30/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q-JJJa9Fy4wqg0tpCJROgw3XI30/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Q-JJJa9Fy4wqg0tpCJROgw3XI30/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q-JJJa9Fy4wqg0tpCJROgw3XI30/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;We all know that in document library we have an option where in we can click on New menu item and click on document and we are presented with nice blank document to type in. Same way we can have our templates defined and can be made available in the new menu.&lt;br /&gt;&lt;br /&gt;However ever wondered when you place list view web part of that document library on any page, you get an option of “Add new document” but when you click on that link, it takes you to a page where you can upload the document that you’ve created.  See below screenshot.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_zOVGRm4VkbY/S3jUohtNG_I/AAAAAAAAAIU/GKPfW0Jm_sc/s1600-h/AddNewDocumentLink.PNG"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 65px;" src="http://2.bp.blogspot.com/_zOVGRm4VkbY/S3jUohtNG_I/AAAAAAAAAIU/GKPfW0Jm_sc/s320/AddNewDocumentLink.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5438330342757702642" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now this is not what we want according to Create New document means. We should be presented with blank document, which New menu does. &lt;br /&gt;&lt;br /&gt;So we need to do some magic here and creates some more link under list view web part. We should ultimately give a link by which use is presented with blank document, not the upload page option.&lt;br /&gt;&lt;br /&gt;So here is a trick to do this.&lt;br /&gt;&lt;br /&gt;Go to modify this web part and in Toolbar Type select No toolbar. This will turn off the Add New document link.&lt;br /&gt;&lt;br /&gt;However for now, select Full Toobar and go to source view of the page and search for “createNewDocumentWithProgID”. For me it was something like this. All you have to search for is from createNewDocumentWithProgID to false.&lt;br /&gt;&lt;br /&gt;createNewDocumentWithProgID('https:\u002f\u002fxxxxxxxxxxxx\u002fteams\u002fpds1\u002fpss\u002fxxxxxxxx\u002fShared Documents\u002fForms\u002ftemplate.doc', 'https:\u002f\u002fintranet.eclipsnet.com\u002fteams\u002fpds1\u002fpss\u002fxxxxxxt\u002fShared Documents', 'SharePoint.OpenDocuments', false)&lt;br /&gt;&lt;br /&gt;Now turn off the toolbar (Select No toolbar) and add content editor web part below the document library list view web part. Click on open toolpane, click on Crome Type as None. Click on Source editor and then add the following content.&lt;br /&gt;&lt;br /&gt;&amp;lt;IMG alt=&amp;quot;&amp;quot; src=&amp;quot; /_layouts/images/rect.gif&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;A onclick=&amp;quot;XYZ”;return false;&amp;quot; href=&amp;quot;#&amp;quot;&amp;gt;Create a New document&amp;lt;/A&amp;gt;&lt;br /&gt;&lt;br /&gt;Replace XYZ with the searched text for createNewDocumentWithProgID till false and there you go. Check for yourself. This is a great fun.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-6057481827397111910?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/qIwTfe8l-ls/create-new-document-link-in-listview.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_zOVGRm4VkbY/S3jUohtNG_I/AAAAAAAAAIU/GKPfW0Jm_sc/s72-c/AddNewDocumentLink.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/create-new-document-link-in-listview.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-1350392658279676242</guid><pubDate>Fri, 12 Feb 2010 04:53:00 +0000</pubDate><atom:updated>2010-02-12T10:24:09.331+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>Interesting clue about SharePoint Field Internal Name</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/kSPEgwkvRozSIt7F9ROdMwuPU7o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kSPEgwkvRozSIt7F9ROdMwuPU7o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/kSPEgwkvRozSIt7F9ROdMwuPU7o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/kSPEgwkvRozSIt7F9ROdMwuPU7o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;Just came across to an interesting clued about SharePoint field internal name. We all know that SharePoint replaces space character in field with _x0020_ character and it is because XML element cannot have space in it I guess.&lt;br /&gt;&lt;br /&gt;So simplest way to deal with this is to use two static methods.&lt;br /&gt;&lt;br /&gt;1) System.XML.XmlConvert.EncodeName() to encode &lt;br /&gt;2) System.XML.XmlConvert.DecodeName() to decode &lt;br /&gt;&lt;br /&gt;Hope this will help somebody someday.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-1350392658279676242?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/dgXDNjWHKJ8/interesting-clue-about-sharepoint-field.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/interesting-clue-about-sharepoint-field.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-6976784756478289810</guid><pubDate>Fri, 12 Feb 2010 04:12:00 +0000</pubDate><atom:updated>2010-02-12T09:44:20.011+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>Customize SharePoint error page</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/F6IVMdQF91viRU8v7HM9UayGJg0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F6IVMdQF91viRU8v7HM9UayGJg0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/F6IVMdQF91viRU8v7HM9UayGJg0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F6IVMdQF91viRU8v7HM9UayGJg0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;Ever wondered about SharePoint error page? Well, I do wonder, why? Because I see two different error pages depending upon operations that I perform.&lt;br /&gt;&lt;br /&gt;Sometimes you may require customizing the error page to give some messages as well. To do so, all you need to go is to inetpub folder.&lt;br /&gt;&lt;br /&gt;There are two error pages. &lt;br /&gt;1) Error.aspx – This is under LAYOUTS folder.&lt;br /&gt;2) ERROR.htm – This is under LAYOUTS\1033.&lt;br /&gt;&lt;br /&gt;Why are there two different error pages? You can get an answer to this question if you have observed two methods of deletion in SharePoint.&lt;br /&gt;&lt;br /&gt;1) Click on a list item, you’ll see DispForm.aspx and there you can see an option to delete the item in toolbar.  –Takes you to the error.aspx in case of any error.&lt;br /&gt;&lt;br /&gt;2) You can select the dropdown menu from item and delete the item from there. – Takes you to an ERROR.htm in case of any error.&lt;br /&gt;&lt;br /&gt;This is what I wanted to express in this post and you need to modify these two error pages if you wish to change anything in error page because we never know how user deletes an item.&lt;br /&gt;&lt;br /&gt;Hope you like this trip.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-6976784756478289810?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/fj8wbLwtkAk/customize-sharepoint-error-page.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/customize-sharepoint-error-page.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-8455000241971364488</guid><pubDate>Thu, 11 Feb 2010 12:03:00 +0000</pubDate><atom:updated>2010-02-11T17:34:54.526+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>How to copy outlook calendar appointments to SharePoint calendar</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/rh6mLZXv3g8X62e3Ef-YdHyjoO0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rh6mLZXv3g8X62e3Ef-YdHyjoO0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/rh6mLZXv3g8X62e3Ef-YdHyjoO0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/rh6mLZXv3g8X62e3Ef-YdHyjoO0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;We all know there is a way we can synchronize SharePoint calendar with outlook and then work from outlook or from SharePoint and changes get synchronized automatically.&lt;br /&gt;&lt;br /&gt;However, if you already have outlook calendar and want to sync the calendar with SharePoint calendar, then follow this approach.&lt;br /&gt;&lt;br /&gt;Following is the approach for outlook 2007.&lt;br /&gt;&lt;br /&gt;1) Create one calendar in SharePoint site and connect it with outlook.&lt;br /&gt;2) Open your source outlook calendar, click on that calendar.&lt;br /&gt;3) Open view menu – &amp;gt;Current View-&amp;gt; All appointments.&lt;br /&gt;4) Hit Ctrl+A button to select all appointments.&lt;br /&gt;5) Simple drag all appointments to the respective destination calendar in outlook. (Destination calendar will be the one that we synchronized in step2)&lt;br /&gt;&lt;br /&gt;Just make sure that person who is synchronizing the calendar should have appropriate permission to write in the calendar. &lt;br /&gt;&lt;br /&gt;That’s it. Your job is done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-8455000241971364488?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/FeqSCYJ_jeg/how-to-copy-outlook-calendar.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/how-to-copy-outlook-calendar.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-6511155933083281796</guid><pubDate>Thu, 11 Feb 2010 03:54:00 +0000</pubDate><atom:updated>2010-02-11T09:26:06.718+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>How to copy large SharePoint List data</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/walAcbpS9TJUEo1tLW7QsjGXrkU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/walAcbpS9TJUEo1tLW7QsjGXrkU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/walAcbpS9TJUEo1tLW7QsjGXrkU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/walAcbpS9TJUEo1tLW7QsjGXrkU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;I came across to a situation where in if you have a data in list which exceeds 500 MB then you cannot save it as a template. This is the limitation of list template. So question here is how to copy that list along with the data. This post is the answer to this query.&lt;br /&gt;&lt;br /&gt;First all you need to do is create one view with all columns of the list in it.  Export the list in spreadsheet. Save the spread sheet. Now go ahead and Click on Create in site Settings menu under your site. Select Import Spreadsheet under custom list. Give the name of the list, Click on Browse and select that saved spread sheet. &lt;br /&gt;&lt;br /&gt;It will pop up one dialogue asking you for entering range. Select appropriate range type and give range and then finally click on Import.&lt;br /&gt;&lt;br /&gt;It will automatically creates a list and give column names as Column1, column2 etc. All we have to do is modify the column names and types of field to our choice.&lt;br /&gt;&lt;br /&gt;That’s it. Your job is done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-6511155933083281796?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/nwpAbDjbOA0/how-to-copy-large-sharepoint-list-data.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/how-to-copy-large-sharepoint-list-data.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-696400960271679722</guid><pubDate>Wed, 10 Feb 2010 06:30:00 +0000</pubDate><atom:updated>2010-02-10T12:04:05.124+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">SharePoint Basics</category><title>Enhancement / Addition in WSS 3.0 compared to WSS 2.0</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KBdoCWKEQ01a012FKrJpjAu5IIU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KBdoCWKEQ01a012FKrJpjAu5IIU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KBdoCWKEQ01a012FKrJpjAu5IIU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KBdoCWKEQ01a012FKrJpjAu5IIU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;Although a topic which is so old I guess, however many times people generally ask about the difference or should say new enhancements and additions in WSS 3.0 versions as compared to WSS 2.0.So in this article, I thought of sharing with you most important changes in WSS 3.0 compared to WSS 2.0.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Item security&lt;/strong&gt; – Now you can set item level permissions in document library or list. You can also set the permissions on folder level as well.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;RSS support&lt;/strong&gt; – you can now view all updates of list or library by using RSS.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Tree View support&lt;/strong&gt; – You can now view tree view of your site’s content and sub site and its content.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Survey&lt;/strong&gt; – You can now have additional conditional branching and page breaks.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;People and Group type&lt;/strong&gt; – You can now use people and group field type to select any people or group.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Master Page&lt;/strong&gt; – now the look and feel is controlled by master page.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Send to link&lt;/strong&gt; – You can now send a link of document or send document to other locations.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Email receives&lt;/strong&gt; – Libraries can now receive emails.New site templates – You can now use wikis and blogs site templates as well.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Link security&lt;/strong&gt; – To show up a link, user at least should have read permission.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Gantt chart support&lt;/strong&gt; – You can now create Gantt chart for any type of list based on start date and stop date.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Undelete&lt;/strong&gt; – Now you can recover deleted list and library items.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Enhanced bread crumb&lt;/strong&gt; – you can see the last visited page before the current one at the top of the page.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;Workflow enhancements&lt;/strong&gt; – Now any list or library can have one or more workflow associated with it.&lt;/p&gt;&lt;p&gt;Hope this is useful information, specially for interview. :)&lt;br /&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-696400960271679722?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/Pl5yIroZC_U/enhancement-addition-in-wss-30-compared.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/02/enhancement-addition-in-wss-30-compared.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-7735285293077317439</guid><pubDate>Thu, 21 Jan 2010 18:16:00 +0000</pubDate><atom:updated>2010-01-22T00:00:48.301+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Promotion</category><title>Microsoft Power Pivot for Excel 2010- Quiz</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AIBJVzaKNo4CYvkyKqzemcdyUeU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AIBJVzaKNo4CYvkyKqzemcdyUeU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AIBJVzaKNo4CYvkyKqzemcdyUeU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AIBJVzaKNo4CYvkyKqzemcdyUeU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Microsoft Introducing Power Pivot for Excel 2010&lt;br /&gt;&lt;br /&gt;Microsoft Power for Excel 2010, formerly known as project “Gemini”, is a data analysis add-in that delivers unmatched computational power directly within Microsoft Excel 2010.&lt;br /&gt;&lt;br /&gt;Visit: &lt;a href="http://www.powerpivot.com/" target="_blank"&gt;HERE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But icing on the cake is &lt;a href="http://www.exceleratorsquiz.com/" target="_blank"&gt;HERE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.exceleratorsquiz.com"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 121px; height: 320px;" src="http://2.bp.blogspot.com/_zOVGRm4VkbY/S1ibT-psR2I/AAAAAAAAAIM/phwHTv8-_Zc/s320/Excelerators_promo.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5429260118332819298" /&gt;&lt;/a&gt;Microsoft Business intelligence is launching a Excelerators Quiz And defiantly with Prize also&lt;br /&gt;&lt;br /&gt;Prize Eligibility&lt;br /&gt;This contest is open to people at least 18 years old that reside in United States.&lt;br /&gt;&lt;br /&gt;Contest Starts: January 22, 2010 @ 09:00 am (EST)&lt;br /&gt;&lt;br /&gt;Contest Ends: January 29, 2010 @ 09:00 am (EST)&lt;br /&gt;&lt;br /&gt;Most important thing in quiz is that &lt;br /&gt;&lt;br /&gt;After giving the quiz, please comment your score after this post so that we can vote for you so that it helps you to win this prize.&lt;br /&gt;&lt;br /&gt;Hay guys one more thing that we want to disclose that we got this information from one of the social media marketing group. So please check any terms and condition if it is there and we are not giving any promise regarding any product or gift or prize or sponsor of the quiz.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-7735285293077317439?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/uvsQJuzN3po/microsoft-power-pivot-for-excel-2010.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_zOVGRm4VkbY/S1ibT-psR2I/AAAAAAAAAIM/phwHTv8-_Zc/s72-c/Excelerators_promo.jpg" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/01/microsoft-power-pivot-for-excel-2010.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-1507405152040129476</guid><pubDate>Sun, 17 Jan 2010 18:16:00 +0000</pubDate><atom:updated>2010-01-17T23:52:26.912+05:30</atom:updated><title>SharepointKings now on twitter</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hio-FISSZMPMsPA0lUEuAf33Ioc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hio-FISSZMPMsPA0lUEuAf33Ioc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hio-FISSZMPMsPA0lUEuAf33Ioc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hio-FISSZMPMsPA0lUEuAf33Ioc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://twitter.com/SharePointKings"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="http://4.bp.blogspot.com/_zOVGRm4VkbY/S1NVIfM1V-I/AAAAAAAAAH8/nqVFuJt15Ek/s200/twitter-logo.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5427775580214220770" /&gt;&lt;/a&gt;&lt;br /&gt;Hi guys,&lt;br /&gt;&lt;br /&gt;after request of so many people finally we, SharepointKings is now on twitter.&lt;br /&gt;&lt;br /&gt;To follow us&lt;br /&gt;&lt;a href="http://twitter.com/SharePointKings"&gt;http://twitter.com/SharePointKings&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-1507405152040129476?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/80dtosKmKh0/sharepointkings-now-on-twitter.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_zOVGRm4VkbY/S1NVIfM1V-I/AAAAAAAAAH8/nqVFuJt15Ek/s72-c/twitter-logo.png" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/01/sharepointkings-now-on-twitter.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-3715151784464318182</guid><pubDate>Wed, 13 Jan 2010 04:37:00 +0000</pubDate><atom:updated>2010-01-13T10:08:33.434+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>Understanding People picker selection set</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Xn0SuNahUEizuku54WqzB7UpWvU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Xn0SuNahUEizuku54WqzB7UpWvU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Xn0SuNahUEizuku54WqzB7UpWvU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Xn0SuNahUEizuku54WqzB7UpWvU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;Many times we require setting properties on people editor control for selection set. &lt;br /&gt;&lt;br /&gt;Some wants to allow only users to be selected and others want group also to be selected.&lt;br /&gt;&lt;br /&gt;Well, here are options that you can use as property with people editor control.&lt;br /&gt;&lt;br /&gt;User- Only peoples&lt;br /&gt;&lt;br /&gt;SPGroup – Groups of SharePoint site&lt;br /&gt;&lt;br /&gt;DL – Distribution list&lt;br /&gt;&lt;br /&gt;SecGroup – Security groups&lt;br /&gt;&lt;br /&gt;If you want to allow user to select for example user as well as SPGroup, you can use comma between selection set. Examples are shown below.&lt;br /&gt;&lt;br /&gt;User,SPGroup&lt;br /&gt;&lt;br /&gt;User,SecGroup,DL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-3715151784464318182?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/A2fWQho9sxI/understanding-people-picker-selection.html</link><author>noreply@blogger.com (SharePoint Kings)</author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/01/understanding-people-picker-selection.html</feedburner:origLink></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8705297068966115777.post-6175750452160252340</guid><pubDate>Thu, 07 Jan 2010 04:58:00 +0000</pubDate><atom:updated>2010-01-07T10:32:08.370+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">SharePoint Basics</category><category domain="http://www.blogger.com/atom/ns#">Sharepoint Tips And Tricks</category><title>How to embed video in SharePoint</title><description>
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/K-gKMtGnRWb7I-MYnxwqM9rgW6A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/K-gKMtGnRWb7I-MYnxwqM9rgW6A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/K-gKMtGnRWb7I-MYnxwqM9rgW6A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/K-gKMtGnRWb7I-MYnxwqM9rgW6A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Hi All,&lt;br /&gt;&lt;br /&gt;Sometimes we require adding video content to our SharePoint site. There is a very simple way to achieve this functionality.&lt;br /&gt;&lt;br /&gt;All we need is Content editor web part to be placed on the page. Source of video file can be from same web application or it can be external source as well or video sitting on some shared drive of your network which everybody has an access.&lt;br /&gt;&lt;br /&gt;Go ahead and add content editor web part.&lt;br /&gt;&lt;br /&gt;Add following line of code.&lt;br /&gt;&lt;br /&gt;&amp;lt;Embed &lt;br /&gt;src=&amp;quot;{URL of video / Shared Path pointing to video file}&amp;quot; &lt;br /&gt;width=350 &lt;br /&gt;height=350 &lt;br /&gt;align=center &lt;br /&gt;autostart=false &lt;br /&gt;loop=false &lt;br /&gt;quality=high &lt;br /&gt;allowFullScreen=true&amp;gt;&lt;br /&gt;&amp;lt;/Embed&amp;gt;&lt;br /&gt;&lt;br /&gt;See the output below.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_zOVGRm4VkbY/S0VquFf1sTI/AAAAAAAAAH0/Ub2vC44jPe8/s1600-h/WMP.PNG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 234px;" src="http://1.bp.blogspot.com/_zOVGRm4VkbY/S0VquFf1sTI/AAAAAAAAAH0/Ub2vC44jPe8/s320/WMP.PNG" border="0" alt=""id="BLOGGER_PHOTO_ID_5423858666219876658" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And that’s it. You are good to play your video file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8705297068966115777-6175750452160252340?l=www.sharepointkings.com' alt='' /&gt;&lt;/div&gt;</description><link>http://feedproxy.google.com/~r/SharepointKings/~3/xoc_t5PG8BE/how-to-embed-video-in-sharepoint.html</link><author>noreply@blogger.com (SharePoint Kings)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_zOVGRm4VkbY/S0VquFf1sTI/AAAAAAAAAH0/Ub2vC44jPe8/s72-c/WMP.PNG" height="72" width="72" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">4</thr:total><feedburner:origLink>http://www.sharepointkings.com/2010/01/how-to-embed-video-in-sharepoint.html</feedburner:origLink></item></channel></rss>
