<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://dotnetmafia.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Corey Roth [MVP] : Office 365, SharePoint 2010</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/SharePoint+2010/default.aspx</link><description>Tags: Office 365, SharePoint 2010</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Slides and Video from my Lync and Learn Session on SharePoint Online Development</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/07/30/slides-and-video-from-my-lync-and-learn-session-on-sharepoint-online-development.aspx</link><pubDate>Mon, 30 Jul 2012 20:36:15 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5807</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5807</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/07/30/slides-and-video-from-my-lync-and-learn-session-on-sharepoint-online-development.aspx#comments</comments><description>&lt;p&gt;Thanks to everyone who attended my Office 365 Lync and Learn session last week.&amp;#160; I enjoyed the opportunity to show everyone how they can use Visual Studio 2012 RC to get started with SharePoint Online development.&amp;#160; I’ve attached a link to my slides as well as the video on YouTube.&amp;#160; Also special thanks to Josh Topal for setting it all up and getting people to attend.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://www.slideshare.net/CoreyRoth/office-365-introduction-to-sharepoint-online-development-lync-and-learn"&gt;Slides&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.youtube.com/watch?v=JLe1GPDbEPE&amp;amp;feature=player_embedded"&gt;Video&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://community.office365.com/en-us/blogs/office_365_technical_blog/archive/2012/07/19/introduction-to-sharepoint-online-development-lync-and-learn-session.aspx"&gt;Office 365 Grid Blog Post&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;I’ve already had a few people reach out for questions.&amp;#160; If you have any others, feel free to contact me.&lt;/p&gt;  &lt;p&gt;Follow me on twitter: &lt;a href="https://twitter.com/coreyroth"&gt;@coreyroth&lt;/a&gt;&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5807" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Visual+Studio+11/default.aspx">Visual Studio 11</category></item><item><title>TechEd Readiness Checklist</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/06/07/teched-readiness-checklist.aspx</link><pubDate>Thu, 07 Jun 2012 17:28:33 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5734</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5734</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/06/07/teched-readiness-checklist.aspx#comments</comments><description>&lt;p&gt;TechEd North America (&lt;a href="https://twitter.com/#!/search/msteched"&gt;#msteched&lt;/a&gt;) is just next week in Orlando, FL.&amp;#160; This is my first TechEd and I’m excited to see what’s in store.&amp;#160; With any conference, it’s always best to be prepared.&amp;#160; You want to make sure you bring the right things and get everything done before you step foot on a plane.&lt;/p&gt;  &lt;p&gt;Here are some of the things I’ll be packing that might also be useful for you as well:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Laptop – &lt;/strong&gt;As a presenter this one is obvious.&amp;#160; However as an attendee, you might not want to lug one around.&amp;#160; It can be worth it though.&amp;#160; You will find that you want some type of computing device so that you can keep up on twitter, follow the latest gossip, and find out about any impromptu &lt;a href="https://twitter.com/#!/search/%23SharePint"&gt;#SharePint&lt;/a&gt; events that might occur.&amp;#160; Maybe even read a few E-mails.&amp;#160; As a presenter, I get the distinct pleasure of carrying a second laptop as well with my demos loaded on it in the event of an emergency / disaster.&amp;#160; Disasters will happen.&amp;#160; At SPC11, my virtual machine pretty much died on my primary laptop and I had to resort to the backup just twenty minutes before my session.&amp;#160; I was sweating to say the least. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Netbook / Slate / Tablet – &lt;/strong&gt;In lieu of carrying around your heavy laptop, I find carrying my netbook at conferences to be quite handy.&amp;#160; I can keep up on twitter, the battery will last me all day.&amp;#160; Bring whatever device or combination thereof you prefer, but keeping up on what’s going on at the conference using one of these small devices is much easier than trying to look things up on your phone.&amp;#160; This year, I am foregoing this because of the second laptop and my bag will be heavy enough.&amp;#160; I have access to an Apple device but I am thinking I will probably leave it behind because I don’t want the extra weight and I’m embarrassed to pull it out at a Microsoft conference. :)&amp;#160; You also can use these to fill out session evaluations.&amp;#160; There are usually incentives for filling out evaluations so I try to complete each evaluation right before the end of the session so I don’t forget. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;AirCard – &lt;/strong&gt;The wireless networks at conferences are rarely good.&amp;#160; They are jammed with geeks trying to post updates on Twitter and check out what’s happening on Facebook.&amp;#160; If you have access to a wireless AirCard, bring one.&amp;#160; See if your company has any that you can check out temporarily.&amp;#160; I still have my “temporary” AirCard I got for SPC11. :) &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Cash – &lt;/strong&gt;Just a little (more if you drink a lot :) ).&amp;#160; There are a lot of free events but you might go to something before or after the conference and I am not a fan of running tabs at busy restaurants and bars. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Chargers / Power Supplies&lt;/strong&gt; – I remember when I went to PDC05, I forgot my laptop charger.&amp;#160; I was quite bummed.&amp;#160; Don’t forget the chargers to your laptop, netbook, iPad, phones, etc. I have gotten a few of these new emergency phone chargers at conferences lately and they are very handy here.&amp;#160; Especially when you have a Nokia Lumia 900 and the battery life is terrible.&amp;#160; Keep in mind your average day can be 16 – 18 hours plus and you don’t want to be left in the dark because your phone died. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Snacks&lt;/strong&gt; – I got this idea from &lt;a href="http://twitter.com/tiffanywi"&gt;@TiffanyWI&lt;/a&gt; because she posted a picture of a mound of snacks.&amp;#160; It’s not a bad idea to have some snacks in the room after a late night.&amp;#160; A bag of M&amp;amp;Ms might look better for breakfast instead of one of those danishes no one ever eats. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Bail Money – &lt;/strong&gt;The &lt;a href="http://h-spug.org/SitePages/Home.aspx"&gt;Houston SharePoint Users Group&lt;/a&gt; has a running joke about always keeping a stash of bail money around when attending a &lt;a href="https://twitter.com/#!/search/%23SharePint"&gt;#SharePint&lt;/a&gt;.&amp;#160; I’ve never been to TechEd before, but I have heard some stories so it’s probably not a bad idea. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Some other things you should remember to do before going and while at the conference:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Learn how to spell TechEd&lt;/strong&gt; – This one has taken me months but I think I finally got it.&amp;#160; It’s TechEd with no spaces. :) &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Set your schedule on myTechEd&lt;/strong&gt;&amp;#160; - This will make your SPC organizers happy when it comes to capacity planning.&amp;#160; You aren’t required to go to that session you schedule, but it will help you pick from the 10+ sessions going on at any given time slot.&amp;#160; Go to &lt;a href="http://northamerica.msteched.com/mycontent"&gt;myTechEd&lt;/a&gt; and set your schedule now! &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Create your Bio on myTechEd – &lt;/strong&gt;myTechEd is a great way to plan your conference experience.&amp;#160; Take a few minutes to write about a little bit about yourself.&amp;#160; Include where you work if you want along with what you want to get out of the conference.&amp;#160; Upload a picture of yourself to make things more personal.&amp;#160; Set your &lt;a href="http://northamerica.msteched.com/meetingpoint/profile"&gt;myTechEd&lt;/a&gt; profile now. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Arrange for Ground Transportation&lt;/strong&gt;&amp;#160; - Don’t forget to arrange for ground transportation.&amp;#160; You really don’t need a car once you get to Orlando, but you do need a way to get there.&amp;#160; I haven’t checked into shuttle service yet, so I’ll probably just go with a Taxi. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Create a &lt;a href="https://twitter.com/#!/search/msteched"&gt;#msteched&lt;/a&gt; Search in Twitter – &lt;/strong&gt;There is no question you want to keep an eye on the activity of the &lt;a href="https://twitter.com/#!/search/msteched"&gt;#msteched&lt;/a&gt; hash tag.&amp;#160; You will find out about sessions, events, and it will generally give you an idea of what is happening at the conference. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Follow &lt;a href="https://twitter.com/#!/teched_na"&gt;@TechEd_NA&lt;/a&gt; / &lt;a href="https://twitter.com/#!/teched_europe"&gt;@TechEd_Europe&lt;/a&gt; on Twitter – &lt;/strong&gt;These are the official twitter account for TechEd.&amp;#160; This account often posts useful stuff about the conference.&amp;#160; I’ve also used it to ask questions or provide general feedback and I’ve had good luck getting a response. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Learn hash tags for the sessions you are attending&lt;/strong&gt; – So I am not sure if TechEd is planning on using hashtags like SPC did, but they do have session codes that look similar so I could see them being used.&amp;#160; If so, learn the session codes that you are in and use them to talk about the session you are in on twitter.&amp;#160; Session code &lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP338"&gt;OPS338&lt;/a&gt; looks like a great one. :) &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Find out who is going from your area&lt;/strong&gt; – it’s always great to have a friend to hang out with at the conference.&amp;#160; If no one you know is going, maybe you can make a new friend. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;RSVP for Parties – &lt;/strong&gt;There are a lot of them this year.&amp;#160; Many of them require that you RSVP or stop by a booth so be sure and find out before hand.&amp;#160; Pay attention to @TheKrewe and their &lt;a href="http://t.co/DILAsBeX"&gt;web site&lt;/a&gt;. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Leave space in your bag&lt;/strong&gt; – Between the conference materials and the vendors you are going to end up with a heap of product information, trinkets, and T-shirts.&amp;#160; Make sure you have room in your bag to bring them home.&amp;#160; Otherwise you’ll be hand carrying them on the plane or leaving things behind.&amp;#160; I screw this up every time and even when I think have enough space it’s never enough.&amp;#160; This trip will be especially difficult for me since I am traveling for another four days after the conference. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Don’t be afraid to leave for lunch&lt;/strong&gt; – I’m not a huge fan of conference food and it rarely gets along with my diet.&amp;#160; Usually by the second or third day I am grabbing anyone I can find and going off-site. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;That’s my list.&amp;#160; I’m sure there are other things to remember.&amp;#160; Do you have anything else to add?&amp;#160; Leave a comment.&amp;#160; This probably goes without saying, but if you are not on twitter, now is the time to join.&amp;#160; It’s the best way to keep up with what’s happening at the conference. &lt;/p&gt;  &lt;p&gt;I’m also giving a session at this year’s conference and I would love for you to see it.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="https://twitter.com/#!/search/realtime/%23ops338"&gt;#OPS338&lt;/a&gt; – &lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP338"&gt;Making the most of Search in SharePoint Online&lt;/a&gt; - I am beyond excited about this talk because I get to talk about Search and SharePoint Online in the same talk.&amp;#160; You might just be amazed at what you can do with Search in the cloud.&amp;#160; I’ve got some great demos built using Silverlight and the Search API that you will want to see whether you want to extend search off-premises or on-premises.&amp;#160; What’s even better is I am using Visual Studio 2012 RC to demonstrate &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/10/how-to-use-visual-studio-11-to-publish-solutions-to-sharepoint-online.aspx"&gt;publishing&lt;/a&gt; &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/25/how-to-use-the-silverlight-web-part-with-visual-studio-11.aspx"&gt;Silverlight&lt;/a&gt; applications to SharePoint Online.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Enough with the shameless plug. :)&amp;#160; Get ready and I’ll see you at the conference.&amp;#160; If you’re into SharePoint, be sure and check out my &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/06/05/a-teched-guide-for-sharepoint-people.aspx"&gt;TechEd Guide for SharePoint People&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;You can follow me on twitter &lt;a href="http://twitter.com/coreyroth"&gt;@coreyroth&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5734" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Presentations/default.aspx">Presentations</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/TechEd/default.aspx">TechEd</category></item><item><title>A TechEd Guide for SharePoint People</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/06/05/a-teched-guide-for-sharepoint-people.aspx</link><pubDate>Tue, 05 Jun 2012 16:30:38 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5726</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5726</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/06/05/a-teched-guide-for-sharepoint-people.aspx#comments</comments><description>&lt;p&gt;It’s true.&amp;#160; I admit it.&amp;#160; I have a sickness.&amp;#160; I am a SharePoint person and proud of it.&amp;#160; I’m attending Microsoft &lt;a href="http://northamerica.msteched.com"&gt;TechEd&lt;/a&gt; in Orlando next week (and in Amsterdam at the end of the month) for the first time.&amp;#160; Although I am a noob to this conference, I thought I would share my thoughts on what you can do to maximize your SharePoint experience.&amp;#160; TechEd covers all sorts of Microsoft technologies but there are plenty of SharePoint things to do.&lt;/p&gt;  &lt;p&gt;Be sure and check out my &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/06/07/teched-readiness-checklist.aspx"&gt;TechEd Readiness Checklist&lt;/a&gt; as well.&lt;/p&gt;  &lt;p&gt;There are over &lt;a href="http://northamerica.msteched.com/contentcatalog?Keyword=SharePoint&amp;amp;Categories=&amp;amp;Timeslot=&amp;amp;Speaker=&amp;amp;Day=&amp;amp;Start=&amp;amp;Finish=&amp;amp;oc=&amp;amp;take=20&amp;amp;skip=-20&amp;amp;sort=start#fbid=IrGPvqM77Bl"&gt;fifty sessions&lt;/a&gt; and hands-on-labs about SharePoint being offered.&amp;#160; Take a look at some of these sessions:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/PRC01#fbid=l5ntPeHBK5f"&gt;Building Federated External Access for Microsoft SharePoint 2010&lt;/a&gt; (Pre-conference Sunday 6/10 10:00a – S210A) – If you happen to be around for the pre-conference this session looks really exciting.&amp;#160; Unfortunately, I won’t be arriving in time to see this session. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/BOF01-ITP#fbid=IrGPvqM77Bl"&gt;Advanced Architectures for Microsoft SharePoint 2010&lt;/a&gt; (Monday 6/11 1:15p – S329) – This is a Bird of a Feather (BoF) session that goes deep talking about service applications, cross-farm services and search. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP232#fbid=IrGPvqM77Bl"&gt;36 Terabytes: How Microsoft IT Manages SharePoint in the Enterprise&lt;/a&gt; (Monday 6/11 4:45p – S330A) – I always find it interesting to see how Microsoft is managing SharePoint internally. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP335#fbid=IrGPvqM77Bl"&gt;Exploring the Power of Page Layouts in SharePoint 2010 WCM Sites&lt;/a&gt; (Tuesday 6/12 10:15a - S210E) – MVPs John Ross and Randy Drisgill will teach how to do great things with page layouts. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP339#fbid=IrGPvqM77Bl"&gt;Advanced Microsoft SharePoint 2010 Upgrade Troubleshooting&lt;/a&gt; (Tuesday 3:15p – S210A) – MVPs Shane Young and Todd Klindt explain how to get past common upgrade issues.&amp;#160; That and the fact that Todd gave me crap on twitter. :) &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP334#fbid=IrGPvqM77Bl"&gt;Why Microsoft SharePoint and Windows Azure are Just Plain Better Together&lt;/a&gt; (Wednesday 6/13 8:30a – S230A) – I’ve seen Steve Fox speak a number of times and it always entertaining. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/BOF09-DEV#fbid=IrGPvqM77Bl"&gt;Code vs. &amp;quot;No-Code&amp;quot;: Exactly Who Gets to Call Themselves a SharePoint Developer?&lt;/a&gt; (Wednesday 6/13 10:15a – S319) – This is always an interest debate and this BoF is sure to provide a great discussion. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP337#fbid=IrGPvqM77Bl"&gt;Building and Customizing My Sites with Microsoft SharePoint 2010&lt;/a&gt; (Wednesday 6/13 1:30p – S220G) – Another session with Ross and Drisgill showing you how to make your My Sites look better. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP338#fbid=IrGPvqM77Bl"&gt;Making the Most of Search in SharePoint Online&lt;/a&gt; (Wednesday 6/13 3:15p – S210E) – The guy that is giving this session is awesome.&amp;#160; I of course have to plug my own personal session. :)&amp;#160; Come see how you can make search in SharePoint Online rock. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/DBI304#fbid=IrGPvqM77Bl"&gt;Configuring Kerberos for Microsoft SharePoint 2010 BI in 7 Steps (SQL Server 2012)&lt;/a&gt; (Wednesday 6/13 5:00p – S331A) – Configuring Kerberos can always be a challenge.&amp;#160;&amp;#160; This session can help. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/BOF13-DEV#fbid=IrGPvqM77Bl"&gt;I’m a SharePoint Developer in an Enterprise World!&lt;/a&gt; (Thursday 6/14 8:30a – S319) – I’m a fan of all of the Birds of a Feather sessions. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP336"&gt;Step-by-Step: Building Search Driven Applications That Matter&lt;/a&gt; (Thursday 6/14 2:45p – N220A) – Great session on how to build SharePoint applications built around Search. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;If I didn’t list your session, no offense.&amp;#160; I can’t cover them all.&amp;#160; That and I wanted to actually get this post out before the end of the conference.&amp;#160; :)&lt;/p&gt;  &lt;p&gt;TechEd has some great opportunities for certification.&amp;#160; If you are looking to get certified, be sure to check out the following session.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/ECR06#fbid=IrGPvqM77Bl"&gt;Exam Cram Session on Exams 667 and 668: Microsoft SharePoint Server 2010&lt;/a&gt; (Tuesday 6/12 1:30p) – MCM Shannon Bray will be there to help you study for the exams. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;There’s a whole heap of &lt;a href="http://northamerica.msteched.com/contentcatalog?Keyword=SharePoint&amp;amp;Categories=&amp;amp;Timeslot=&amp;amp;Speaker=&amp;amp;Day=&amp;amp;Start=&amp;amp;Finish=&amp;amp;oc=874108fd-2bdd-df11-82f7-001ec953730b&amp;amp;take=20&amp;amp;skip=-20&amp;amp;sort=start#fbid=IrGPvqM77Bl"&gt;Hands-on-Labs&lt;/a&gt; (HoL) for SharePoint.&amp;#160; This is a great way to work through a scenario in SharePoint while being able to raise your hand for help.&amp;#160; Here are a few examples (see the link above for the complete list):&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP51-HOL"&gt;Installing and Configuring Microsoft SharePoint Server 2010&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP62-HOL"&gt;Developing for Microsoft SharePoint 2010 with the Client OM and REST in Microsoft Visual Studio 2010&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP33-HOL"&gt;Deploying a SharePoint Online Sandbox Solution in Microsoft Office 365&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Of course there are a lot of other non-SharePoint things you should consider attending as well:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/KEY01"&gt;Opening Keynote&lt;/a&gt; (Monday 6/11 9:00a – N. Hall A1) – Of course you don’t want to miss the keynote &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/FDN05"&gt;Windows Azure Today and Tomorrow&lt;/a&gt; (Monday 6/11 11:00a – N310) – When Scott Guthrie talks, you listen. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/DEV213"&gt;What’s New in Visual Studio 2012&lt;/a&gt; (Monday 6/11 1:15p – N210) – If you are a developer, you need to know what’s coming in Visual Studio 2012.&amp;#160; Be sure and check out my &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/05/30/everything-you-need-to-know-about-sharepoint-development-in-visual-studio-11.aspx"&gt;Visual Studio 2012 series for SharePoint&lt;/a&gt; as well. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/WCL403"&gt;PowerShell Remoting in Depth&lt;/a&gt; (Monday 6/11 3:00p – S320E) – We use a lot of PowerShell in SharePoint. &lt;/li&gt;    &lt;li&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/KEY02"&gt;Tuesday Keynote&lt;/a&gt; (Tuesday 6/12 – 8:30a – N. Hal A1) &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Hopefully this is a good list to get you started.&amp;#160; Is there anything that I missed that should be on here?&amp;#160; Leave a comment and I’ll get it added.&amp;#160; Also keep an eye our for my TechEd Readiness Checklist post as well as a similar post for TechEd Europe.&amp;#160; I look forward to seeing everyone there next week!&amp;#160; Have a good TechEd!&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5726" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Presentations/default.aspx">Presentations</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/default.aspx">SharePoint Online</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/TechEd/default.aspx">TechEd</category></item><item><title>Excited to be speaking at TechEd this year</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/04/16/excited-to-be-speaking-at-teched-this-year.aspx</link><pubDate>Mon, 16 Apr 2012 17:48:29 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5653</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5653</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/04/16/excited-to-be-speaking-at-teched-this-year.aspx#comments</comments><description>&lt;p&gt;I am excited to say that I’ll be speaking at both &lt;a href="http://northamerica.msteched.com"&gt;TechEd North America&lt;/a&gt; and &lt;a href="http://europe.msteched.com/"&gt;TechEd Europe&lt;/a&gt;.&amp;#160; This is my first time to even attend a TechEd so I am looking forward to see what is in store.&amp;#160; Both events are sure to be exciting but I am particularly excited to be going to Amsterdam for TechEd Europe since I haven’t been in 10+ years.&amp;#160; If you’re at either event, be sure and check out my session on Making the most of Search with SharePoint Online.&amp;#160; There you will learn some great tricks on how to get more out of your search experience in the cloud.&amp;#160; Links to my sessions are below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://northamerica.msteched.com/topic/details/2012/OSP338#fbid=8asexnnEqZo"&gt;TechEd North America&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://europe.msteched.com/Sessions?q=making+the+most+of+search"&gt;TechEd Europe&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If you’re going to be at either event let me know.&amp;#160; I am looking forward to seeing old friends and meeting some new people.&lt;/p&gt;  &lt;p&gt;Follow me on twitter: &lt;a href="http://twitter.com/coreyroth"&gt;@coreyroth&lt;/a&gt;&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5653" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Presentations/default.aspx">Presentations</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/default.aspx">SharePoint Online</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/TechEd/default.aspx">TechEd</category></item><item><title>Understanding versioning with Excel Web App</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/03/13/understanding-versioning-with-excel-web-app.aspx</link><pubDate>Tue, 13 Mar 2012 22:19:26 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5596</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5596</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/03/13/understanding-versioning-with-excel-web-app.aspx#comments</comments><description>&lt;p&gt;If you have used Excel Web App (part of Office Web Apps), you are familiar with the fact that there is no “Save” button.&amp;#160; The changes you make are immediately saved back to SharePoint and you even have multiple people editing the spreadsheet at the same time with Co-authoring.&amp;#160; I had always wondered what happened when it comes to versioning so today I decided to dig a little deeper to find out what happens.&amp;#160; We’ll start with editing an Excel document in the browser with versioning enabled.&amp;#160; Whenever you change the value of a cell, the results are immediately saved back to SharePoint.&amp;#160; However, opening a second browser to look at the versioning shows that we are still on the same version.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ExcelServicesVersionHistory1_6A1A54D1.png"&gt;&lt;img title="ExcelServicesVersionHistory1" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="ExcelServicesVersionHistory1" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ExcelServicesVersionHistory1_thumb_10100528.png" width="397" height="138" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The changes have been saved to SharePoint, but no version has been created.&amp;#160; Effectively, you can think of this as the same thing as calling .SystemUpdate() for you programmers out there.&amp;#160; However, what I have found is if you wait long enough (a couple of minutes), eventually it will go and commit a new version.&amp;#160; Otherwise, it will commit a new version when you &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ExcelServicesVersionHistory2_0E5F3954.png"&gt;&lt;img title="ExcelServicesVersionHistory2" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="ExcelServicesVersionHistory2" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ExcelServicesVersionHistory2_thumb_7AD1D9B2.png" width="394" height="157" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;A new version will also be created if you close the document (either close out of the file menu or using the breadcrumbs).&amp;#160; Where it gets really interesting is when you have multiple editors.&amp;#160; You’ll see the same behavior as before, where a new version will be saved a few minutes after the first change.&amp;#160; However, if multiple changes have occurred, it will write the last author’s name into the version.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ExcelServicesVersionHistory3_044A9829.png"&gt;&lt;img title="ExcelServicesVersionHistory3" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="ExcelServicesVersionHistory3" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ExcelServicesVersionHistory3_thumb_0A253BC2.png" width="391" height="202" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;However, ultimately whomever closes their browser session last (or times out last apparently) is the final author of the version.&amp;#160; In this case, Anna closes the document first, then I closed it.&amp;#160; It then goes back and updates the author and modified date on version 4.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ExcelServicesVersionHistory4_5CC3A5F1.png"&gt;&lt;img title="ExcelServicesVersionHistory4" style="border-top:0px;border-right:0px;background-image:none;border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;display:inline;padding-right:0px;" border="0" alt="ExcelServicesVersionHistory4" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/ExcelServicesVersionHistory4_thumb_6D5BA0DF.png" width="394" height="202" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;In summary, Excel Web App will create a new version automatically for you if one hasn’t been created whenever you close the editor or after a period of time has elapsed after the first change.&amp;#160; Whomever makes changes last will end being the ultimate author of that version.&amp;#160; Btw, I have never seen it create a second version of a document when you leave it open for a long period of time.&amp;#160; It appears that it will only create one version for a given Co-authoring editing session.&amp;#160; Hopefully, this help you understand how versioning with Excel Web App works better.&amp;#160; These examples were demonstrated using my Office 365 E3 account.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5596" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+Web+Apps/default.aspx">Office Web Apps</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Excel+Services/default.aspx">Excel Services</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category></item><item><title>A look at content type hubs in SharePoint Online (Office 365)</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/02/20/a-look-at-content-type-hubs-in-sharepoint-online-office-365.aspx</link><pubDate>Tue, 21 Feb 2012 02:29:02 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5559</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5559</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/02/20/a-look-at-content-type-hubs-in-sharepoint-online-office-365.aspx#comments</comments><description>&lt;p&gt;For those of you familiar with SharePoint 2010, the content type hub is nothing new to you.&amp;#160; However, in SharePoint Online, the content type hub works a little differently.&amp;#160; The first thing to know is that a content type hub has been set up automatically for you.&amp;#160; You just have to know where to find it.&amp;#160; You can’t get to it from Tenant Administration like you might expect.&amp;#160; Instead, you can find the location by going to the Site Settings page of any site collection and then the &lt;em&gt;Content Type Publishing&lt;/em&gt; link.&amp;#160; You will see a screen like the one below which links directly to the content types of a site collection containing your hub.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOContentTypePublishing_3619A6BB.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOContentTypePublishing" border="0" alt="SPOContentTypePublishing" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOContentTypePublishing_thumb_66607B71.png" width="604" height="324" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;From here you will learn that your content type hub is located in a site collection named &lt;em&gt;/sites/contentTypeHub&lt;/em&gt;.&amp;#160; Clicking on the link from this page will allow you to view the content types in the hub.&amp;#160; One issue I have noticed here though is that only the original Office 365 account creator has access to the site collection.&amp;#160; Accessing it with another user will get you an access denied error message even if you are a global administrator.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOContentTypeHubAccessDenied_76F8765F.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOContentTypeHubAccessDenied" border="0" alt="SPOContentTypeHubAccessDenied" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOContentTypeHubAccessDenied_thumb_35E9F6FB.png" width="403" height="184" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Unfortunately, you cannot fix this yourself from the tenant administration page because this site collection does not show up on the list.&amp;#160; This means you need to get the person who created the original Office 365 account to go to this site collection and add you as a site collection administrator.&amp;#160; It’s easy to fix but it requires you to involve whomever set up the account to begin with.&lt;/p&gt;  &lt;p&gt;Once you get into the content type hub, you can create and publish your desired content types just like you would in SharePoint 2010.&amp;#160; When you publish a content type, you should see it in the other site collections within a few minutes.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOContentTypeHub_1080038D.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOContentTypeHub" border="0" alt="SPOContentTypeHub" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOContentTypeHub_thumb_1A64F4F8.png" width="477" height="264" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Working with the content type hub is easy.&amp;#160; Try it out with your account today.&amp;#160; These examples were demonstrated with an E3 account.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5559" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Content+Type/default.aspx">Content Type</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/ECM/default.aspx">ECM</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category></item><item><title>A look at the list editor in Visual Studio 11</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/02/09/a-look-at-the-list-editor-in-visual-studio-11.aspx</link><pubDate>Fri, 10 Feb 2012 01:28:10 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5529</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5529</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/02/09/a-look-at-the-list-editor-in-visual-studio-11.aspx#comments</comments><description>&lt;p&gt;I’ve written a number of posts in the last couple of weeks about the new SharePoint features in the Visual Studio 11 developer preview.&amp;#160; These posts include &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/10/how-to-use-visual-studio-11-to-publish-solutions-to-sharepoint-online.aspx"&gt;publishing to SharePoint Online&lt;/a&gt;, &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/12/a-look-at-visual-web-parts-in-visual-studio-11.aspx"&gt;Visual Web Parts&lt;/a&gt;, &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/25/how-to-use-the-silverlight-web-part-with-visual-studio-11.aspx"&gt;Silverlight Web Part&lt;/a&gt;, and the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/02/06/a-quick-look-at-the-content-type-editor-in-visual-studio-11.aspx"&gt;Content Type Editor&lt;/a&gt;.&amp;#160; I’ll wrap up this series with a look at the new list editor.&amp;#160; The list editor looks fairly similar to the content type editor actually.&amp;#160; You start by choosing the List SharePoint Project Item from the &lt;em&gt;New Item &lt;/em&gt;menu.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListSPI_4C2168C6.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPListSPI" border="0" alt="VS11DPListSPI" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListSPI_thumb_7CD47071.png" width="551" height="327" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Selecting the List SPI will take you to the next screen where you have the choice of creating a new list which is based off of an existing list (i.e. tasks or document library) or to create a new instance of an existing list type.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListSPI2_1B3EB15B.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPListSPI2" border="0" alt="VS11DPListSPI2" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListSPI2_thumb_211954F4.png" width="445" height="355" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Once it is complete, you will see the list editor where you can edit site columns and content types.&amp;#160; The site column editor works very similar to the one used for new content types.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListEditorColumns_06D8EBD0.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPListEditorColumns" border="0" alt="VS11DPListEditorColumns" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListEditorColumns_thumb_30D8E9F8.png" width="522" height="291" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The only difference in this interface is that you can actually create new list columns here.&amp;#160; If you click the &lt;em&gt;Content Types&lt;/em&gt; button at the bottom, you will see a window allowing you to select content types from those available on the server as well as in your current project.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListEditorContentTypes_2B8A0347.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPListEditorContentTypes" border="0" alt="VS11DPListEditorContentTypes" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListEditorContentTypes_thumb_75A50E2C.png" width="426" height="306" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;After you have set your content type, the site columns of the content type will automatically be added to the site column list.&amp;#160; From here, you can click on the &lt;em&gt;Views&lt;/em&gt; tab to edit the existing views (or add a new one).&amp;#160; You’ll notice that all views are visible (including ones you normally wouldn’t touch).&amp;#160; Be careful with what you do here.&amp;#160; You can customize the columns in each view.&amp;#160; Unfortunately, the user interface doesn’t give you any control over how things look, row groupings, or sort order though.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListEditorViews_5AF87213.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPListEditorViews" border="0" alt="VS11DPListEditorViews" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListEditorViews_thumb_27BC38AA.png" width="480" height="398" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Finally, the &lt;em&gt;Common Properties&lt;/em&gt; tab lets you set the title, URL, description, whether the list is hidden or not and on the Quick Launch bar.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListEditorCommon_3F737010.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPListEditorCommon" border="0" alt="VS11DPListEditorCommon" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListEditorCommon_thumb_7E64F0AB.png" width="495" height="268" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Once you have finished your list, you can deploy it to a local SharePoint server or &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/10/how-to-use-visual-studio-11-to-publish-solutions-to-sharepoint-online.aspx"&gt;publish&lt;/a&gt; it to SharePoint Online.&amp;#160; When you visit the site, an instance of the list will be there ready to go.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListComplete_6F4E11D1.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPListComplete" border="0" alt="VS11DPListComplete" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPListComplete_thumb_550DA8AD.png" width="526" height="148" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;That’s just a quick look at what you can do with Visual Studio 11 Developer Preview.&amp;#160; If you haven’t checked it out yet be sure and visit the &lt;a href="http://msdn.microsoft.com/en-us/vstudio/hh127353"&gt;developer center&lt;/a&gt; on MSDN.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5529" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/ECM/default.aspx">ECM</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Visual+Studio+11/default.aspx">Visual Studio 11</category></item><item><title>How to: Use the Silverlight web part with Visual Studio 11</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/25/how-to-use-the-silverlight-web-part-with-visual-studio-11.aspx</link><pubDate>Wed, 25 Jan 2012 14:11:14 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5488</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5488</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/25/how-to-use-the-silverlight-web-part-with-visual-studio-11.aspx#comments</comments><description>&lt;p&gt;Visual Studio 11 adds a new feature that makes working with Silverlight in SharePoint 2010 a bit easier.&amp;#160; The new Silverlight Web Part feature automates deploying your Silverlight applications to SharePoint and can really save you a bit of time.&amp;#160; We took a look at how the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/12/a-look-at-visual-web-parts-in-visual-studio-11.aspx"&gt;Visual Web Part works in VS11&lt;/a&gt; a while back.&amp;#160; Now, let’s see what happens when we use Silverlight.&amp;#160; &lt;/p&gt;  &lt;p&gt;To work with Silverlight,you can either create a new project or simply add a new item to an existing project.&amp;#160; I’ll start by creating a new project by choosing the item &lt;em&gt;SharePoint 2010 Silverlight Web Part&lt;/em&gt;.&amp;#160; Remember the number of project types has been reduced in VS11.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPNewSharePointSilverlightProject_5CB73E5C.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPNewSharePointSilverlightProject" border="0" alt="VS11DPNewSharePointSilverlightProject" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPNewSharePointSilverlightProject_thumb_02E971E8.png" width="494" height="301" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;After you provide the usual SharePoint specific information, a new screen will prompt you for information on your Silverlight application.&amp;#160; You can use an existing application or let it create a new project for you.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPNewSharePointSilverlightWebPart_2F922BC1.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPNewSharePointSilverlightWebPart" border="0" alt="VS11DPNewSharePointSilverlightWebPart" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPNewSharePointSilverlightWebPart_thumb_356CCF5A.png" width="444" height="354" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;You have a choice of Silverlight version 4.0 or 5.0.&amp;#160; Once you finish, you’ll have two new projects to work with.&amp;#160; The designer opens up and then we’ll just create a simple Silverlight application.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightApplication_13A0F6C9.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPSilverlightApplication" border="0" alt="VS11DPSilverlightApplication" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightApplication_thumb_24A524AC.png" width="318" height="253" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now, let’s take a look at the files.&amp;#160; They prove to be a lot simpler than you might think.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightSolutionExplorer_319F04BD.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPSilverlightSolutionExplorer" border="0" alt="VS11DPSilverlightSolutionExplorer" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightSolutionExplorer_thumb_69DD7BD5.png" width="244" height="238" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If we click on the web part itself, we actually see the contents of the .webpart file.&amp;#160; Taking a quick look at it, reveals its simplicity.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#a31515;"&gt;xml&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;version&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;1.0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;encoding&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;utf-8&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;?&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;webParts&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;webPart&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;http://schemas.microsoft.com/WebPart/v3&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;metaData&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Microsoft.SharePoint.WebPartPages.SilverlightWebPart, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;importErrorMessage&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;$Resources:core,ImportErrorMessage;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;importErrorMessage&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;metaData&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;data&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;properties&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Title&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;SilverlightWebPartProject1 - SilverlightWebPart1&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Description&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;My Silverlight Web Part&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Height&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;unit&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;300px&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Width&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;unit&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;400px&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Url&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;/SiteAssets/SilverlightWebPartProject1/SilverlightWebPart1/SilverlightProject1.xap&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;property&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;properties&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;data&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;webPart&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;webParts&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;It simply has a reference to the existing &lt;em&gt;SilverlightWebPart &lt;/em&gt;included in SharePoint 2010.&amp;#160; It sets a few properties such as &lt;em&gt;Title, Description, Height, Width, &lt;/em&gt;and &lt;em&gt;Url&lt;/em&gt;.&amp;#160; Here you will notice that it’s actually copying the .xap file from your Silverlight project into the &lt;em&gt;SiteAssets &lt;/em&gt;library.&amp;#160; Note, that this is the only place to set the dimensions of your web part.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#a31515;"&gt;xml&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;version&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;1.0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;encoding&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;utf-8&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;?&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Elements&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;http://schemas.microsoft.com/sharepoint/&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Module&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SilverlightWebPart1&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;List&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;113&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Url&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;_catalogs/wp&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;File&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Path&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SilverlightWebPart1\SilverlightWebPart1.webpart&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Url&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SilverlightWebPartProject1_SilverlightWebPart1.webpart&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;GhostableInLibrary&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Group&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Value&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Custom&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;File&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Module&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Module&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SilverlightWebPart1&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;File&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Path&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SilverlightWebPart1\SilverlightProject1.xap&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Url&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SiteAssets/SilverlightWebPartProject1/SilverlightWebPart1/SilverlightProject1.xap&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Module&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Elements&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;If we take a look at the &lt;em&gt;Elements.xml &lt;/em&gt;file, we see that it deploys both the .webpart file and the .xap file using a &lt;em&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/06/02/how-to-deploy-a-page-using-a-feature.aspx"&gt;Module&lt;/a&gt; &lt;/em&gt;element.&lt;/p&gt;  &lt;p&gt;When you are ready to deploy just use the &lt;em&gt;Deploy&lt;/em&gt; command in Visual Studio.&amp;#160; It will build the Silverlight application, the .wsp file and send it to SharePoint.&amp;#160; You no longer have to manually upload the .xap file (or add it manually to your package).&amp;#160; Now, we can just add the web part to a page from the Insert ribbon.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPAddSilverlightWebPart_5AC69CFB.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPAddSilverlightWebPart" border="0" alt="VS11DPAddSilverlightWebPart" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPAddSilverlightWebPart_thumb_2E3D6D15.png" width="506" height="278" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;Then you’ll have your Silverlight application on your page.&amp;#160; Don’t be jealous of how great this one looks. :)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightWebPart_38225E80.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="VS11DPSilverlightWebPart" border="0" alt="VS11DPSilverlightWebPart" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/VS11DPSilverlightWebPart_thumb_5E180ED6.png" width="420" height="293" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;What about SharePoint Online?&amp;#160; Does it work there too?&amp;#160; Indeed it does.&amp;#160; Just use the Publish feature I talked about earlier to deploy that solution to the cloud.&amp;#160; One issue I did notice is that the path configured in the SilverlightWebPart is absolute.&amp;#160; If you publish into a site collection not on the root, you’ll need to modify the path.&amp;#160; I need to look at this one more since it might be based off of the local SharePoint site URL that you specified originally.&amp;#160; Still it’s nice to know that it works.&amp;#160; I tried it with an E3 account and I’m pretty sure it will work with P accounts as well.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5488" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/default.aspx">SharePoint Online</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Visual+Studio+11/default.aspx">Visual Studio 11</category></item><item><title>How to: Query sites and site collections using SharePoint Search</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/13/how-to-query-site-and-site-collections-using-sharepoint-search.aspx</link><pubDate>Fri, 13 Jan 2012 19:41:21 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5459</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5459</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/13/how-to-query-site-and-site-collections-using-sharepoint-search.aspx#comments</comments><description>&lt;p&gt;I often refer to my &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/07/20/some-handy-keywords-you-might-find-useful-in-sharepoint-enterprise-search.aspx"&gt;Handy Keywords in SharePoint Search&lt;/a&gt; because it forms the building blocks you need to become a rock star at writing SharePoint keyword queries.&amp;#160;&amp;#160; Today, I want to expand upon that post on how you can use search to return a list of sites or site collections.&amp;#160; This is useful when you want to quickly inspect a SharePoint farm using the Search Center.&amp;#160; The secret behind returning sites with Search is use of the c&lt;em&gt;ontentclass&lt;/em&gt; managed property.&amp;#160; You just have to know what value to specify.&amp;#160; To return a list of all sites in the search index, we specify a value of &lt;em&gt;STS_Web &lt;/em&gt;(remember our &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/08/21/sharepoint-to-api-translation-guide.aspx"&gt;translation guide&lt;/a&gt;).&amp;#160; Here is what it looks like.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;contentclass:&amp;quot;STS_Web&amp;quot;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOSearchSites_397779CA.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOSearchSites" border="0" alt="SPOSearchSites" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOSearchSites_thumb_3E79B779.png" width="568" height="385" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;This works pretty well.&amp;#160; However, if you inspect the results on your own server, you might quickly notice one thing missing.&amp;#160; The root web of all the site collections is not present in the search results.&amp;#160; To get the site collections, we specify &lt;em&gt;STS_Site&lt;/em&gt; instead.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;contentclass:&amp;quot;STS_Site&amp;quot;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOSearchSiteCollections_276B363D.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOSearchSiteCollections" border="0" alt="SPOSearchSiteCollections" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOSearchSiteCollections_thumb_73C2C9DE.png" width="561" height="385" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Notice, I now have all of the site collections on my particular tenant.&amp;#160; If you want the results combined, you simply combine the queries.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;contentclass:&amp;quot;STS_Site&amp;quot; contentclass:&amp;quot;STS_Web&amp;quot;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOSearchSitesAll_7858D498.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOSearchSitesAll" border="0" alt="SPOSearchSitesAll" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOSearchSitesAll_thumb_36DE223F.png" width="565" height="404" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now you might be thinking this is great, but you don’t want every site and site collection on the farm.&amp;#160; You want to restrict it to a particular web application.&amp;#160; That’s actually pretty easy, just refer back to the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/07/20/some-handy-keywords-you-might-find-useful-in-sharepoint-enterprise-search.aspx"&gt;handy keywords&lt;/a&gt; post and use the &lt;em&gt;Site&lt;/em&gt; managed property.&amp;#160; In my case, I’ll restrict the URL to my main web application.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;contentclass:&amp;quot;STS_Site&amp;quot; contentclass:&amp;quot;STS_Web&amp;quot; site:&lt;a href="https://dotnetmafia.sharepoint.com"&gt;https://dotnetmafia.sharepoint.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPSitesAllRestricted_748B09FB.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPSitesAllRestricted" border="0" alt="SPSitesAllRestricted" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPSitesAllRestricted_thumb_79F97A9F.png" width="564" height="389" /&gt;&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;There are lots of ways to get lists of sites in SharePoint, but I find this one works well since it doesn’t require a line of code for you to try.&amp;#160; Of course, as a developer, you can make use of this with the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/08/12/how-to-use-the-sharepoint-2010-enterprise-search-keywordquery-class.aspx"&gt;&lt;em&gt;KeywordQuery&lt;/em&gt;&lt;/a&gt; class inside your own application.&amp;#160; This works with SharePoint on-premises as well as SharePoint Online.&amp;#160; All screenshots were from my personal SPO site.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5459" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Enterprise+Search/default.aspx">Enterprise Search</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/default.aspx">SharePoint Online</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category></item><item><title>Quick Tip: Use % to return all items in the search index (FAST Search for SharePoint and SharePoint Online)</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/06/quick-tip-use-to-return-all-items-in-the-search-index.aspx</link><pubDate>Fri, 06 Jan 2012 18:55:40 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5431</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5431</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/06/quick-tip-use-to-return-all-items-in-the-search-index.aspx#comments</comments><description>&lt;p&gt;Ever wanted to see what exactly is in your SharePoint search index with a simple query?&amp;#160; Sure, you can take a look at the crawl log, but you can’t see that in SharePoint Online.&amp;#160; With SharePoint 2010, you can use queries using the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/07/20/some-handy-keywords-you-might-find-useful-in-sharepoint-enterprise-search.aspx"&gt;ContentSource&lt;/a&gt; keyword to return everything in that content source (i.e.: Local SharePoint sites).&amp;#160; However, you may want to see the entire index.&amp;#160; Well that’s actually pretty easy.&amp;#160; Just use type &lt;em&gt;%&lt;/em&gt; in the search box and submit your query.&amp;#160; It will return everything there is.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchResultsPercentFAST_10B95807.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SearchResultsPercentFAST" border="0" alt="SearchResultsPercentFAST" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchResultsPercentFAST_thumb_7364003C.png" width="609" height="385" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This is a great way to see what is in your search index.&amp;#160; It can also help you find things that maybe you didn’t want indexed.&amp;#160; It even works with SharePoint Online as well.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchResultsPercentSPO_2D72CD1C.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SearchResultsPercentSPO" border="0" alt="SearchResultsPercentSPO" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SearchResultsPercentSPO_thumb_6B8BE7CD.png" width="608" height="494" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;What about people search?&amp;#160; It works there too with SharePoint Online.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/PeopleSearchResultsPercentSPO_19B5BDBB.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="PeopleSearchResultsPercentSPO" border="0" alt="PeopleSearchResultsPercentSPO" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/PeopleSearchResultsPercentSPO_thumb_511BCEE9.png" width="559" height="487" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;However, this doesn’t work in FAST Search for SharePoint (which is just SharePoint Search when it comes to people) for me.&amp;#160; Even still, % is a useful operator that you can use to help troubleshoot issues with search.&lt;/p&gt;  &lt;p&gt;UPDATE: Erich Stehr pointed out that % does not work on regular SharePoint Enterprise Search.&amp;#160; He is correct.&amp;#160; What is odd is that it does work in SharePoint Online.&amp;#160; That will make you think about things.&amp;#160; As an alternative, you can issue the query &lt;em&gt;Size&amp;gt;=0&lt;/em&gt; (no spaces) to return the entire index as well.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5431" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Enterprise+Search/default.aspx">Enterprise Search</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/FAST+Search+for+SharePoint/default.aspx">FAST Search for SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category></item><item><title>How to: Query People Search in SharePoint Online (and other SharePoint platforms too!)</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/03/how-to-query-people-search-in-sharepoint-online-and-other-sharepoint-platforms-too.aspx</link><pubDate>Wed, 04 Jan 2012 04:38:12 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5417</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5417</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2012/01/03/how-to-query-people-search-in-sharepoint-online-and-other-sharepoint-platforms-too.aspx#comments</comments><description>&lt;p&gt;At my Search talk at SPC11, I demoed how to build a Silverlight application that could &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/07/building-a-sharepoint-advanced-search-application-with-silverlight-4.aspx"&gt;query search in SharePoint Online&lt;/a&gt;.&amp;#160; I also built a separate application that could query people search, but I haven’t posted on it yet until today.&amp;#160; To query people search, we have to know a few things about how SharePoint operates.&amp;#160; It all starts with understanding the scopes involved.&amp;#160; If you take a look at your &lt;em&gt;Search Scopes&lt;/em&gt; link in your site collection settings, you’ll see a similar list to the one below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SharePointOnlineSearchScopes_2AF2FFA4.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SharePointOnlineSearchScopes" border="0" alt="SharePointOnlineSearchScopes" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SharePointOnlineSearchScopes_thumb_051CD941.png" width="495" height="131" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;What’s funny here is that SPO actually returns item counts for the entire (non-partitioned index).&amp;#160; This tells me that there are 205,000 items and 96,000 people on my particular Office 365 SharePoint host.&amp;#160; &lt;/p&gt;  &lt;p&gt;Ultimately, querying people search is just a matter of executing a query against the scope &lt;em&gt;People&lt;/em&gt;, but there are a few catches.&amp;#160; In SharePoint 2007, you could actually execute the query &lt;em&gt;Scope:”People”&lt;/em&gt; on a &lt;em&gt;results.aspx&lt;/em&gt; with a &lt;em&gt;CoreResultsWebPart &lt;/em&gt;and you would actually get results.&amp;#160; It wouldn’t display pictures or additional user information such as department or phone number, but it would work.&amp;#160; With the introduction of federated search in SharePoint 2010, people search now gets executed by it’s own federated location named &lt;em&gt;LocalPeopleSearchIndex &lt;/em&gt;(see my post on the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/08/15/how-to-use-the-querymanager-class-to-query-sharepoint-2010-enterprise-search.aspx"&gt;QueryManager&lt;/a&gt; class for more information).&amp;#160; This means that a regular &lt;em&gt;CoreResultsWebPart&lt;/em&gt; will not return results for &lt;em&gt;Scope:”People”&lt;/em&gt; no matter what you do.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SharePointOnlinePeopleSearchNoResults_67C78176.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SharePointOnlinePeopleSearchNoResults" border="0" alt="SharePointOnlinePeopleSearchNoResults" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SharePointOnlinePeopleSearchNoResults_thumb_1404085B.png" width="507" height="315" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;However, a &lt;em&gt;PeopleCoreResultsWebPart&lt;/em&gt; will.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleCoreResults_63F9B6D9.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOPeopleCoreResults" border="0" alt="SPOPeopleCoreResults" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleCoreResults_thumb_018B91D9.png" width="505" height="434" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Issuing the query &lt;em&gt;Scope:”People”&lt;/em&gt; will return every user in the user profile store.&amp;#160; Including service accounts like you see above.&amp;#160; The fact that I couldn’t issue a people search query to the regular &lt;em&gt;CoreResultsWebPart &lt;/em&gt;actually threw me off for quite some time.&amp;#160; It just didn’t make sense to me what was going on behind the scenes.&amp;#160; It didn’t become ultimately clear, until I tried issuing the query to &lt;em&gt;Search.asmx&lt;/em&gt;.&amp;#160; The &lt;em&gt;Scope:”People”&lt;/em&gt; query works just fine when calling the web service.&amp;#160; Today you will learn how to query people search using the web service.&amp;#160; I’m going to use the exact same application I have been using with my other search demos, we’ll just tweak the input a little bit.&lt;/p&gt;  &lt;p&gt;For today’s example, I am going to build off of the Silverlight 4 application I used at&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/07/building-a-sharepoint-advanced-search-application-with-silverlight-4.aspx"&gt;SPC&lt;/a&gt;.&amp;#160; I’m using Silverlight, but you could just as well write a console application or call this web service from some other ASP.NET application.&amp;#160; We still want to start by creating a service reference to&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;em&gt;/_vti_bin/search.asmx&lt;/em&gt;. We then create an instance of the web service so that we can use it.&amp;#160; We also bind an event handling method to handle the results of the web service call.&lt;/p&gt;  &lt;div style="widows:2;text-transform:none;background-color:white;text-indent:0px;letter-spacing:normal;font:10pt consolas;white-space:normal;orphans:2;color:black;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;background-origin:initial;background-clip:initial;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span&gt;QueryServiceSoapClient&lt;/span&gt;&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;queryService =&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;span style="color:blue;"&gt;new&lt;/span&gt;&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;span&gt;QueryServiceSoapClient&lt;/span&gt;();&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryService.QueryExCompleted +=&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;span style="color:blue;"&gt;new&lt;/span&gt;&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;span&gt;EventHandler&lt;/span&gt;&amp;lt;&lt;span&gt;QueryExCompletedEventArgs&lt;/span&gt;&amp;gt;(QueryService_QueryExCompleted);&lt;/p&gt; &lt;/div&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;letter-spacing:normal;font:13px arial, helvetica;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Once we have a reference to the web service, it’s just a matter of constructing the input XML document and sending it to the web service.&amp;#160; For SharePoint Online and SharePoint 2010, we actually don’t have to change any of the XML at all. We just need to change the query. That means our input will look like the following.&amp;#160; Note, we’re using a type of &lt;em&gt;STRING&lt;/em&gt; (even if using FAST Search for SharePoint).&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;QueryPacket&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:red;"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;urn:Microsoft.Search.Query&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:red;"&gt;Revision&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;1000&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span&gt;Query&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:red;"&gt;domain&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;QDomain&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span&gt;SupportedFormats&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span&gt;Format&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;urn:Microsoft.Search.Response.Document.Document&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;Format&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span&gt;SupportedFormats&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span&gt;Context&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span&gt;QueryText&lt;/span&gt;&lt;span style="color:blue;"&gt;&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:red;"&gt;language&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;en-US&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&lt;span class="Apple-converted-space"&gt;&amp;#160;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:red;"&gt;type&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;STRING&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Scope:&amp;quot;People&amp;quot;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;QueryText&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span&gt;Context&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span&gt;Query&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;QueryPacket&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;      &lt;p&gt;If we are using FAST Search for SharePoint, we need to add to a &lt;em&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff394470.aspx"&gt;ResultProvider&lt;/a&gt;&lt;/em&gt; element inside the &lt;em&gt;Query&lt;/em&gt; element.&amp;#160; Remember, People Search is handled by the SharePoint 2010 search engine in &lt;a href="https://www.nothingbutsharepoint.com/sites/devwiki/articles/Pages/Understanding-the-Service-Applications-of-FAST-Search-for-SharePoint.aspx"&gt;FAST Search for SharePoint&lt;/a&gt;.&lt;/p&gt;  &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;   &lt;p style="widows:2;text-transform:none;text-indent:0px;margin:0px;letter-spacing:normal;font:13px &amp;#39;courier new&amp;#39;;white-space:normal;orphans:2;word-spacing:0px;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;span style="color:blue;"&gt;&lt;/span&gt;&lt;/p&gt;   &lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;ResultProvider&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;SharePointSearch&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span&gt;ResultProvider&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;Just like before, I assemble this XML string using a &lt;em&gt;StringBuilder&lt;/em&gt;.&amp;#160; I allow the user to type in a query and I just automatically append &lt;em&gt;Scope:”People”&lt;/em&gt; to the query ensuring we only get people results.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span style="color:#2b91af;"&gt;StringBuilder&lt;/span&gt; queryXml = &lt;span style="color:blue;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;StringBuilder&lt;/span&gt;();&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&amp;#160;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;QueryPacket xmlns=\&amp;quot;urn:Microsoft.Search.Query\&amp;quot; Revision=\&amp;quot;1000\&amp;quot;&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;Query domain=\&amp;quot;QDomain\&amp;quot;&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;SupportedFormats&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;Format&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;urn:Microsoft.Search.Response.Document.Document&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/Format&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/SupportedFormats&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;Context&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;QueryText language=\&amp;quot;en-US\&amp;quot; type=\&amp;quot;STRING\&amp;quot;&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.AppendFormat(&lt;span style="color:#a31515;"&gt;&amp;quot;{0} Scope:\&amp;quot;People\&amp;quot;&amp;quot;&lt;/span&gt;, SearchTextBox.Text);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/QueryText&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/Context&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/Query&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/QueryPacket&amp;gt;&amp;quot;&lt;/span&gt;);&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&amp;#160;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;queryService.QueryExAsync(queryXml.ToString());&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;We’ll then bind the resulting XML to a textbox so that we can look at the results.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;ResultsTextBox.Text = e.Result.Nodes[1].ToString();&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;That’s all that is involved in this first round of code.&amp;#160; Compile the code and upload the Silverlight application to a document library and use the Silverlight web part just like before.&amp;#160; If you want more details on how the above code works, be sure and check out the original &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/07/building-a-sharepoint-advanced-search-application-with-silverlight-4.aspx"&gt;Search with Silverlight 4&lt;/a&gt; post.&amp;#160;&amp;#160; Let’s take a look at the results.&amp;#160; Here’s the application running.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleSearchSilverlight1_5A70D296.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOPeopleSearchSilverlight1" border="0" alt="SPOPeopleSearchSilverlight1" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleSearchSilverlight1_thumb_63E9910C.png" width="369" height="250" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I issues a query and I got results.&amp;#160; Let’s look at the XML in the results a bit more though.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;diffgr:diffgram&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns:msdata&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;urn:schemas-microsoft-com:xml-msdata&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns:diffgr&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;urn:schemas-microsoft-com:xml-diffgram-v1&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Results&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;RelevantResults&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;diffgr:id&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;RelevantResults1&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;msdata:rowOrder&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;WorkId&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;72787&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;WorkId&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Rank&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;100000000&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Rank&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Title&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Craig Johnson&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Title&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Size&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;0&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Size&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Path&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;https://dotnetmafia-my.sharepoint.com/Person.aspx?accountname=i%3A0%23.f|membership|craig.johnson%40dotnetmafia.onmicrosoft.com&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Path&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Write&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;2011-09-09T18:20:05-07:00&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Write&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;SiteName&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;https://dotnetmafia-my.sharepoint.com&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;SiteName&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;CollapsingStatus&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;0&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;CollapsingStatus&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;HitHighlightedSummary&lt;/span&gt;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;HitHighlightedProperties&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color:red;"&gt;&amp;amp;lt;&lt;/span&gt;HHTitle&lt;span style="color:red;"&gt;&amp;amp;gt;&lt;/span&gt;Craig Johnson&lt;span style="color:red;"&gt;&amp;amp;lt;&lt;/span&gt;/HHTitle&lt;span style="color:red;"&gt;&amp;amp;gt;&amp;amp;lt;&lt;/span&gt;HHUrl&lt;span style="color:red;"&gt;&amp;amp;gt;&lt;/span&gt;https://dotnetmafia-my.sharepoint.com/Person.aspx?accountname=i%3A0%23.f|membership|craig.johnson%40dotnetmafia.onmicrosoft.com&lt;span style="color:red;"&gt;&amp;amp;lt;&lt;/span&gt;/HHUrl&lt;span style="color:red;"&gt;&amp;amp;gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;HitHighlightedProperties&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;ContentClass&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;urn:content-class:SPSPeople&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;ContentClass&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;IsDocument&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;false&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;IsDocument&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;PictureThumbnailURL&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;https://dotnetmafia-my.sharepoint.com/User Photos/Profile Pictures/i_0_.f_membership_craig.johnson@dotnetmafia.onmicrosoft.com_MThumb.jpg&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;PictureThumbnailURL&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;RelevantResults&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;We have the user’s name in the Title field and we have some links to a picture and the user’s profile.&amp;#160; For the most part though, these fields aren’t entirely useful.&amp;#160; That’s because SharePoint treats this result as a regular document result instead of a person.&amp;#160; If we want useful information about the user, we have to ask for that information in our original query.&amp;#160; Specifically, we need to specify the names of the managed properties that we want returned (i.e.: &lt;em&gt;JobTitle &lt;/em&gt;and &lt;em&gt;Department&lt;/em&gt;).&amp;#160; How do we know what the names of those properties are?&amp;#160; In SharePoint 2010, we can just go look in the search service application.&amp;#160; However, we don’t have that option in SharePoint Online.&amp;#160; There’s another way though.&amp;#160; Go back to your &lt;em&gt;PeopleResults.aspx&lt;/em&gt; page in your Search Center and edit it.&amp;#160; Then, you need to modify the &lt;em&gt;PeopleCoreResultsWebPart&lt;/em&gt;.&amp;#160; Expand &lt;em&gt;Display Properties&lt;/em&gt; and then uncheck &lt;em&gt;Use Location Visualization&lt;/em&gt;.&amp;#160; The contents of the XML in &lt;em&gt;Fetched Properties&lt;/em&gt; has the answer.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleCoreResultsDisplayProperties_3AFE7C03.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOPeopleCoreResultsDisplayProperties" border="0" alt="SPOPeopleCoreResultsDisplayProperties" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleCoreResultsDisplayProperties_thumb_199ED667.png" width="174" height="368" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Here is what the XML looks like.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Columns&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;WorkId&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;UserProfile_GUID&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;AccountName&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;PreferredName&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;YomiDisplayName&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;JobTitle&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Department&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;WorkPhone&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;OfficeNumber&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;PictureURL&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;HierarchyUrl&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;WorkEmail&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Path&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;HitHighlightedSummary&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;HitHighlightedProperties&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Responsibility&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Skills&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SipAddress&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Schools&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;PastProjects&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Interests&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;OrgNames&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;OrgUrls&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;OrgParentNames&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;OrgParentUrls&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;Memberships&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;AboutMe&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;BaseOfficeLocation&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;HitHighLight&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;true&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;ServiceApplicationID&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Column&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;Name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;SocialDistance&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Columns&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;This gives you quite a few choices to display in your results.&amp;#160; The column names are pretty self explanatory.&amp;#160; Now, we just have modify our input XML to specify which managed properties we want.&amp;#160; Do you remember how to specify &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/09/29/how-to-specify-the-properties-returned-in-a-keyword-query-when-using-the-search-web-service.aspx"&gt;managed properties with the Search web service&lt;/a&gt;?&amp;#160; If not, we start by adding a &lt;em&gt;Properties &lt;/em&gt;element inside the &lt;em&gt;Query&lt;/em&gt; element.&amp;#160; We then add a &lt;em&gt;Property&lt;/em&gt; element for each managed property.&amp;#160; One thing to remember is that the managed properties &lt;em&gt;must&lt;/em&gt; be specified in lower case.&amp;#160; You will get a &lt;em&gt;NotFound&lt;/em&gt; exception if they are not.&amp;#160; Here is an example:&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;     &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;&lt;span style="color:blue;"&gt;         &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;           &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Properties&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;            &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;accountname&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;            &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;preferredname&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;            &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;jobtitle&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;            &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;department&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;            &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;workphone&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;            &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;officenumber&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;            &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;pictureurl&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;            &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Property&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;name&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;workemail&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/p&gt;            &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Properties&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;         &lt;/div&gt; &lt;/span&gt;&lt;/div&gt; &lt;/span&gt;&lt;/div&gt;   &lt;p&gt;Remember, once you specify any column, you must specify every column you want.&amp;#160; The default columns will no longer be returned.&amp;#160; When we recompile, upload the new application, and execute a query again, we now get much better results.&lt;/p&gt;  &lt;div style="font-family:consolas;background:white;color:black;font-size:10pt;"&gt;   &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;diffgr:diffgram&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns:msdata&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;urn:schemas-microsoft-com:xml-msdata&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns:diffgr&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;urn:schemas-microsoft-com:xml-diffgram-v1&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Results&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;xmlns&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;RelevantResults&lt;/span&gt;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;diffgr:id&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;RelevantResults1&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt; &lt;/span&gt;&lt;span style="color:red;"&gt;msdata:rowOrder&lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;0&lt;/span&gt;&amp;quot;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;accountname&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;i:0#.f|membership|craig.johnson@dotnetmafia.onmicrosoft.com&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;accountname&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;preferredname&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Craig Johnson&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;preferredname&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;jobtitle&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Accountant&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;jobtitle&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;department&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;Accounts Receivable&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;department&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;workphone&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;123-555-1215&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;workphone&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;officenumber&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;123455&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;officenumber&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;pictureurl&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;https://dotnetmafia-my.sharepoint.com/User Photos/Profile Pictures/i_0_.f_membership_craig.johnson@dotnetmafia.onmicrosoft.com_MThumb.jpg&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;pictureurl&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;workemail&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;craig.johnson@dotnetmafia.onmicrosoft.com&lt;span style="color:blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;workemail&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;    &lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;RelevantResults&lt;/span&gt;&lt;span style="color:blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt; &lt;/div&gt;   &lt;p&gt;You can query with these same managed properties as well.&amp;#160; For example, I could use the &lt;em&gt;department &lt;/em&gt;managed property to see who is in &lt;em&gt;Accounting &lt;/em&gt;with the following query.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;department:”accounting”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleSearchSilverlightDepartment_658A3713.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOPeopleSearchSilverlightDepartment" border="0" alt="SPOPeopleSearchSilverlightDepartment" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleSearchSilverlightDepartment_thumb_56072544.png" width="421" height="289" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Maybe, you want to look up who the CEO of the company is.&amp;#160; To do that use the j&lt;em&gt;obtitle&lt;/em&gt; managed property.&amp;#160; Resist the urge to capitalize the words in the managed property.&amp;#160; They must be in lower case.&amp;#160; Note: that the t&lt;em&gt;itle&lt;/em&gt; managed property is reserved for personal titles such as Jr., Sr. etc.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;jobtitle:”CEO”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleSearchSilverlightJobTitle_2FC4CBEC.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOPeopleSearchSilverlightJobTitle" border="0" alt="SPOPeopleSearchSilverlightJobTitle" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleSearchSilverlightJobTitle_thumb_600BA0A2.png" width="426" height="287" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now, that we can query with all of these properties, we can make a nice advanced people search application.&amp;#160; In my demo at SPC11, I used the &lt;a href="http://www.telerik.com/products/silverlight/overview.aspx"&gt;Telerik&lt;/a&gt; RadGridView control to display the user information along with the picture from the user profile.&amp;#160; Here’s a screenshot of what the application looked like.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleSearchApplication_501C5BDE.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="SPOPeopleSearchApplication" border="0" alt="SPOPeopleSearchApplication" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/SPOPeopleSearchApplication_thumb_224E9319.png" width="542" height="482" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You can use the same techniques that I detailed in the &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/07/building-a-sharepoint-advanced-search-application-with-silverlight-4.aspx"&gt;Advanced Search with Silverlight 4&lt;/a&gt; post to build a people search application like the one above.&amp;#160; This code will work on-premises (SharePoint 2010 or FAST Search for SharePoint) or in the cloud with SharePoint Online.&amp;#160; I’ve confirmed this works with both the P1 and E3 SKUs of Office 365.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5417" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Enterprise+Search/default.aspx">Enterprise Search</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/FAST+Search+for+SharePoint/default.aspx">FAST Search for SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SPC11/default.aspx">SPC11</category></item><item><title>Dealing with that pesky SharePoint server in another time zone</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/16/dealing-with-that-pesky-sharepoint-server-in-another-time-zone.aspx</link><pubDate>Wed, 16 Nov 2011 22:17:07 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5314</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5314</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/16/dealing-with-that-pesky-sharepoint-server-in-another-time-zone.aspx#comments</comments><description>&lt;p&gt;Working at an International company now, I found that I was often running into issues looking at the time stamps of documents.&amp;#160; Our collaboration server was in EST while I was in CST.&amp;#160; It could be confusing at times when you were working on a document for a while and you weren’t sure if the latest version had been saved.&amp;#160; While I was at #SPC11, I sat in a session and picked up this quick tip.&amp;#160; You can actually configure SharePoint to display times in your own time zone.&amp;#160; If you’ve been working for a large company, maybe you already knew this, but I had never noticed it before.&lt;/p&gt;  &lt;p&gt;It’s quite simple to configure.&amp;#160; In the top-right menu (the one with your name on it), there is a menu item labeled &lt;em&gt;My Settings&lt;/em&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/MySettingsMenuItem_0736245C.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="MySettingsMenuItem" border="0" alt="MySettingsMenuItem" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/MySettingsMenuItem_thumb_4D46E16F.png" width="244" height="233" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Clicking this link will bring you to a page that contains profile information.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/MyProfile_5E4B0F52.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="MyProfile" border="0" alt="MyProfile" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/MyProfile_thumb_121305A4.png" width="506" height="335" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;However, we’re not interested in the profile, we’re interested in the &lt;em&gt;My Regional Settings&lt;/em&gt; button at the top.&amp;#160; Click it and we can fix the problem.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/RegionalSettingsDefault_29CA3D0A.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="RegionalSettingsDefault" border="0" alt="RegionalSettingsDefault" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/RegionalSettingsDefault_thumb_28F1D720.png" width="627" height="139" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Uncheck the &lt;em&gt;Always follow web settings&lt;/em&gt; checkbox and then we can change our time zone.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/MySettingsModified_6F029433.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="MySettingsModified" border="0" alt="MySettingsModified" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/MySettingsModified_thumb_5938ABD6.png" width="627" height="176" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;This is also where you can change the &lt;em&gt;Locale&lt;/em&gt; as well if you want your dates in a different format.&amp;#160; Once you make these changes, your document libraries will show your documents with time stamps adjusted for your time zone.&amp;#160; This setting is available in SharePoint 2010, SharePoint 2007, as well SharePoint Online.&amp;#160; The screenshots were from my Office 365 account.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5314" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/MOSS/default.aspx">MOSS</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/End+User/default.aspx">End User</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category></item><item><title>Slides from my talk at SharePoint Saturday Denver</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/14/slides-from-my-talk-at-sharepoint-saturday-denver.aspx</link><pubDate>Mon, 14 Nov 2011 15:13:57 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5307</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5307</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/14/slides-from-my-talk-at-sharepoint-saturday-denver.aspx#comments</comments><description>&lt;p&gt;I had the honor of speaking at SharePoint Saturday Denver this weekend.&amp;#160; Clayton Cobb (&lt;a href="https://twitter.com/#!/warrtalon"&gt;@warrtalon&lt;/a&gt;) and the people from Denver did a great job putting together this event.&amp;#160; I spoke about how to improve your SharePoint Search experience.&amp;#160; I’ve uploaded my slides to SlideShare at the link below.&amp;#160; Denver was fun, but I have learned this weekend that the mountains aren’t for me. :)&amp;#160; This was a great event and certainly one I will remember.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.slideshare.net/CoreyRoth/getting-the-most-out-of-sharepoint-search-sharepoint-saturday-denver"&gt;Making the most of SharePoint Search&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The code for the advanced search application I demoed can be found in this &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/07/building-a-sharepoint-advanced-search-application-with-silverlight-4.aspx"&gt;post&lt;/a&gt;.&amp;#160; The customization you can make to add a &lt;em&gt;View Folder&lt;/em&gt; link to your search results, can be found in this &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/08/23/adding-a-link-to-a-document-s-folder-in-sharepoint-2010-enterprise-search.aspx"&gt;post&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Follow me on &lt;a href="http://twitter.com/coreyroth"&gt;twitter&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5307" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Enterprise+Search/default.aspx">Enterprise Search</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Presentations/default.aspx">Presentations</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+Online/default.aspx">SharePoint Online</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category></item><item><title>Building a SharePoint advanced search application with Silverlight 4</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/07/building-a-sharepoint-advanced-search-application-with-silverlight-4.aspx</link><pubDate>Mon, 07 Nov 2011 20:29:00 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5272</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>10</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5272</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/11/07/building-a-sharepoint-advanced-search-application-with-silverlight-4.aspx#comments</comments><description>&lt;p&gt;At SharePoint Conference 2011, I showed off a great looking advanced search application using Silverlight 4.&amp;#160; This application queried the Search web service at /_vti_bin/search.asmx to retrieve results and display them directly inside the application.&amp;#160; A couple of years ago, I demonstrated how to build an &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/08/03/calling-the-enterprise-search-web-service-from-silverlight-3.aspx"&gt;advanced search application with Silverlight 3&lt;/a&gt;.&amp;#160; This application is very similar to that one except that I take it a step further and show you more of the possibilities of what the user interface could look like.&amp;#160; &lt;/p&gt;  &lt;p&gt;The code you will see today was intended for Office 365 / SharePoint Online but will work quite well with SharePoint 2010 (and to a degree SharePoint 2007).&amp;#160; Everything from the pervious article pretty much applies.&amp;#160; We create a reference to search.asmx, we build an XML input document, and then we make an asynchronous call to the web service.&amp;#160; One thing I will point out is that I have been unsuccessful in getting the ClientAccessPolicy.xml file to work with SharePoint Online.&amp;#160; This means that the application cannot run locally to allow us to debug it.&amp;#160; I’ve posted to the Office 365 forums but have had no luck.&amp;#160; If anyone figures this out, please let me know.&lt;/p&gt;  &lt;p&gt;The way we build the input XML document and call the web service is exactly the same as the pervious post.&amp;#160; However, what is different is the actual keyword query we construct.&amp;#160; Let’s take a look at what the interface looks like first.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/image_09BE402E.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/image_thumb_3ADD7ACE.png" width="650" height="241" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;There is a number of things going on here in this interface.&amp;#160; We first provide the user to do a simple keyword query search.&amp;#160; However, we also give the user the ability to query by File Size, Modified Date, Author, and by Document Only.&amp;#160; To do this, we use the following built-in managed properties respectively &lt;em&gt;FileSize, Write, Author, &lt;/em&gt;and &lt;em&gt;IsDocument&lt;/em&gt;.&amp;#160; The user can select any combination of the above to get a more specific query.&amp;#160; When the user clicks the &lt;em&gt;SearchButton, &lt;/em&gt;our code builds a custom keyword query and sends it to the search web service.&amp;#160; The &lt;em&gt;QueryTextBox&lt;/em&gt; displays the query that was constructed by the code.&amp;#160; However, it can also be modified by the user to test out a query manually.&amp;#160; This serves as a great search query testing tool.&amp;#160; After the user searches, the returned XML document is displayed in the large multiline textbox.&amp;#160; Beneath the textbox, I have added a &lt;a href="http://www.telerik.com/products/silverlight/gridview.aspx"&gt;Telerik GridView&lt;/a&gt; control.&amp;#160; I had this available to me so I decided to use it.&amp;#160; I think you could just as well have used a &lt;em&gt;DataGrid&lt;/em&gt; control to bind the data too.&lt;/p&gt;  &lt;p&gt;The code for the Silverlight application is surprisingly simple.&amp;#160; When the user clicks the &lt;em&gt;SearchButton&lt;/em&gt;, we begin to construct the keyword query we want to pass to the web service.&amp;#160; To do this, we need a &lt;strong&gt;StringBuilder &lt;/strong&gt;class so be sure and add a reference to &lt;em&gt;System.Text&lt;/em&gt;.&amp;#160; We then check each control to see if it has a value.&amp;#160; For example, for &lt;em&gt;SearchTextBox&lt;/em&gt;, if it has a value we simply append it to the StringBuilder named &lt;em&gt;searchQuery&lt;/em&gt;.&lt;/p&gt;  &lt;div style="border-bottom:#000080 1px solid;border-left:#000080 1px solid;font-family:&amp;#39;Courier New&amp;#39;, courier, monospace;color:#000;font-size:10pt;border-top:#000080 1px solid;border-right:#000080 1px solid;"&gt;   &lt;div style="padding-bottom:2px;background-color:#ffffff;padding-left:5px;padding-right:5px;overflow:auto;padding-top:2px;"&gt;&lt;span style="color:#0000ff;"&gt;if&lt;/span&gt; (!&lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.IsNullOrEmpty(SearchTextBox.Text))       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; searchQuery.AppendFormat(&lt;span style="color:#a31515;"&gt;&amp;quot;{0} &amp;quot;&lt;/span&gt;, SearchTextBox.Text);&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;The &lt;em&gt;FileSize&lt;/em&gt; managed property has an operator with values such as &amp;gt;, &amp;gt;=, &amp;lt; and, &amp;lt;=.&amp;#160; These are contained in the &lt;em&gt;ModifiedDateOperatorComboBox&lt;/em&gt;.&amp;#160; If there is a value then we append it to &lt;em&gt;searchQuery&lt;/em&gt;.&lt;/p&gt;  &lt;div style="border-bottom:#000080 1px solid;border-left:#000080 1px solid;font-family:&amp;#39;Courier New&amp;#39;, courier, monospace;color:#000;font-size:10pt;border-top:#000080 1px solid;border-right:#000080 1px solid;"&gt;   &lt;div style="padding-bottom:2px;background-color:#ffffff;padding-left:5px;padding-right:5px;overflow:auto;padding-top:2px;"&gt;&lt;span style="color:#0000ff;"&gt;if&lt;/span&gt; (FileSizeOperatorComboBox.SelectedItem != &lt;span style="color:#0000ff;"&gt;null&lt;/span&gt;)       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; searchQuery.AppendFormat(&lt;span style="color:#a31515;"&gt;&amp;quot;Size{0}\&amp;quot;{1}\&amp;quot; &amp;quot;&lt;/span&gt;,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ((&lt;span style="color:#2b91af;"&gt;ComboBoxItem&lt;/span&gt;)FileSizeOperatorComboBox.SelectedItem).Content.ToString(),       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; FileSizeTextBox.Text);&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;We continue to this for the rest of the controls on the page in the &lt;em&gt;SearchButton&lt;/em&gt; click event handling method.&amp;#160; Here is the entire method.&lt;/p&gt;  &lt;div style="border-bottom:#000080 1px solid;border-left:#000080 1px solid;font-family:&amp;#39;Courier New&amp;#39;, courier, monospace;color:#000;font-size:10pt;border-top:#000080 1px solid;border-right:#000080 1px solid;"&gt;   &lt;div style="padding-bottom:2px;background-color:#ffffff;padding-left:5px;padding-right:5px;overflow:auto;padding-top:2px;"&gt;&lt;span style="color:#0000ff;"&gt;private&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;void&lt;/span&gt; SearchButton_Click(&lt;span style="color:#0000ff;"&gt;object&lt;/span&gt; sender, &lt;span style="color:#2b91af;"&gt;RoutedEventArgs&lt;/span&gt; e)       &lt;br /&gt;{       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#2b91af;"&gt;StringBuilder&lt;/span&gt; searchQuery = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;StringBuilder&lt;/span&gt;();       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;if&lt;/span&gt; (!&lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.IsNullOrEmpty(SearchTextBox.Text))       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; searchQuery.AppendFormat(&lt;span style="color:#a31515;"&gt;&amp;quot;{0} &amp;quot;&lt;/span&gt;, SearchTextBox.Text);       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;if&lt;/span&gt; (FileSizeOperatorComboBox.SelectedItem != &lt;span style="color:#0000ff;"&gt;null&lt;/span&gt;)       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; searchQuery.AppendFormat(&lt;span style="color:#a31515;"&gt;&amp;quot;Size{0}\&amp;quot;{1}\&amp;quot; &amp;quot;&lt;/span&gt;,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ((&lt;span style="color:#2b91af;"&gt;ComboBoxItem&lt;/span&gt;)FileSizeOperatorComboBox.SelectedItem).Content.ToString(),       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; FileSizeTextBox.Text);       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;if&lt;/span&gt; (ModifiedDateOperatorComboBox.SelectedItem != &lt;span style="color:#0000ff;"&gt;null&lt;/span&gt;)       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; searchQuery.AppendFormat(&lt;span style="color:#a31515;"&gt;&amp;quot;Write{0}\&amp;quot;{1}\&amp;quot; &amp;quot;&lt;/span&gt;,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ((&lt;span style="color:#2b91af;"&gt;ComboBoxItem&lt;/span&gt;)ModifiedDateOperatorComboBox.SelectedItem).Content.ToString(),       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ModifiedDatePicker.SelectedDate.ToString());       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;if&lt;/span&gt; (!&lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.IsNullOrEmpty(AuthorTextBox.Text))       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; searchQuery.AppendFormat(&lt;span style="color:#a31515;"&gt;&amp;quot;Author:\&amp;quot;{0}\&amp;quot; &amp;quot;&lt;/span&gt;, AuthorTextBox.Text);       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;if&lt;/span&gt; (DocumentsOnlyCheckBox.IsChecked.Value)       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; searchQuery.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;IsDocument:1 &amp;quot;&lt;/span&gt;);       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#008000;"&gt;// pass the search query to the method to actually call the search service&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; QuerySearchService(searchQuery.ToString());       &lt;br /&gt;}&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;The &lt;em&gt;QuerySearchService&lt;/em&gt; method makes the actual call to the web service.&amp;#160; Since we’re dealing with Silvelright, we have to call the web service method asynchronously.&amp;#160; We do this by binding an event handling method to the &lt;em&gt;QueryExCompleted&lt;/em&gt; event.&amp;#160; Again for more details on how the XML is constructed see my information from the Silverlight 3 post.&lt;/p&gt;  &lt;div style="border-bottom:#000080 1px solid;border-left:#000080 1px solid;font-family:&amp;#39;Courier New&amp;#39;, courier, monospace;color:#000;font-size:10pt;border-top:#000080 1px solid;border-right:#000080 1px solid;"&gt;   &lt;div style="padding-bottom:2px;background-color:#ffffff;padding-left:5px;padding-right:5px;overflow:auto;padding-top:2px;"&gt;&lt;span style="color:#0000ff;"&gt;private&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;void&lt;/span&gt; QuerySearchService(&lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; searchQuery)       &lt;br /&gt;{       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#2b91af;"&gt;QueryServiceSoapClient&lt;/span&gt; queryService = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;QueryServiceSoapClient&lt;/span&gt;();       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryService.QueryExCompleted += &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;EventHandler&lt;/span&gt;&amp;lt;&lt;span style="color:#2b91af;"&gt;QueryExCompletedEventArgs&lt;/span&gt;&amp;gt;(QueryService_QueryExCompleted);       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; QueryTextBox.Text = searchQuery;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#2b91af;"&gt;StringBuilder&lt;/span&gt; queryXml = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;StringBuilder&lt;/span&gt;();       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;QueryPacket xmlns=\&amp;quot;urn:Microsoft.Search.Query\&amp;quot; Revision=\&amp;quot;1000\&amp;quot;&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;Query domain=\&amp;quot;QDomain\&amp;quot;&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;SupportedFormats&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;Format&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;urn:Microsoft.Search.Response.Document.Document&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/Format&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/SupportedFormats&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;Range&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;Count&amp;gt;50&amp;lt;/Count&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/Range&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;Context&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;QueryText language=\&amp;quot;en-US\&amp;quot; type=\&amp;quot;STRING\&amp;quot;&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(searchQuery);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/QueryText&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/Context&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/Query&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryXml.Append(&lt;span style="color:#a31515;"&gt;&amp;quot;&amp;lt;/QueryPacket&amp;gt;&amp;quot;&lt;/span&gt;);       &lt;br /&gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; BusyIndicator.IsBusy = &lt;span style="color:#0000ff;"&gt;true&lt;/span&gt;;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; queryService.QueryExAsync(queryXml.ToString());       &lt;br /&gt;}&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;The last line passed the XML input document to the web service method.&amp;#160; Now, it’s just a matter of handling the return results in the event handling method.&amp;#160; The first thing we need to do is get the XML document with the results.&amp;#160; We can always find this in the &lt;em&gt;Result.Nodes[1]&lt;/em&gt; object available in &lt;em&gt;QueryExCompletedEventArgs.&lt;/em&gt;&amp;#160; For convenience, I write this value to a TextBox so that I can view it.&amp;#160; &lt;/p&gt;  &lt;div style="border-bottom:#000080 1px solid;border-left:#000080 1px solid;font-family:&amp;#39;Courier New&amp;#39;, courier, monospace;color:#000;font-size:10pt;border-top:#000080 1px solid;border-right:#000080 1px solid;"&gt;   &lt;div style="padding-bottom:2px;background-color:#ffffff;padding-left:5px;padding-right:5px;overflow:auto;padding-top:2px;"&gt;ResultsTextBox.Text = e.Result.Nodes[1].ToString();&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;However, I want to bind this XML to our nice looking RadGridView.&amp;#160; To do this I must extract the data from the XDocument and expose it in a custom type. Here is where the LINQ to XML comes in.&amp;#160; Normally, I would just use an anonymous type for this, but that doesn’t work in Silverlight.&amp;#160; This means I have to create a new class to hold our search results.&amp;#160; I call this class &lt;em&gt;SearchResult&lt;/em&gt;.&lt;/p&gt;  &lt;div style="border-bottom:#000080 1px solid;border-left:#000080 1px solid;font-family:&amp;#39;Courier New&amp;#39;, courier, monospace;color:#000;font-size:10pt;border-top:#000080 1px solid;border-right:#000080 1px solid;"&gt;   &lt;div style="padding-bottom:2px;background-color:#ffffff;padding-left:5px;padding-right:5px;overflow:auto;padding-top:2px;"&gt;&lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;class&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;SearchResult&lt;/span&gt;       &lt;br /&gt;{       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; Title { &lt;span style="color:#0000ff;"&gt;get&lt;/span&gt;; &lt;span style="color:#0000ff;"&gt;set&lt;/span&gt;; }       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; Path { &lt;span style="color:#0000ff;"&gt;get&lt;/span&gt;; &lt;span style="color:#0000ff;"&gt;set&lt;/span&gt;; }       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; Author { &lt;span style="color:#0000ff;"&gt;get&lt;/span&gt;; &lt;span style="color:#0000ff;"&gt;set&lt;/span&gt;; }       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; Size { &lt;span style="color:#0000ff;"&gt;get&lt;/span&gt;; &lt;span style="color:#0000ff;"&gt;set&lt;/span&gt;; }       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;DateTime&lt;/span&gt;? Write { &lt;span style="color:#0000ff;"&gt;get&lt;/span&gt;; &lt;span style="color:#0000ff;"&gt;set&lt;/span&gt;; }       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; SiteName { &lt;span style="color:#0000ff;"&gt;get&lt;/span&gt;; &lt;span style="color:#0000ff;"&gt;set&lt;/span&gt;; }       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; HitHighlightedSummary { &lt;span style="color:#0000ff;"&gt;get&lt;/span&gt;; &lt;span style="color:#0000ff;"&gt;set&lt;/span&gt;; }       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; ContentClass { &lt;span style="color:#0000ff;"&gt;get&lt;/span&gt;; &lt;span style="color:#0000ff;"&gt;set&lt;/span&gt;; }       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;bool&lt;/span&gt; IsDocument { &lt;span style="color:#0000ff;"&gt;get&lt;/span&gt;; &lt;span style="color:#0000ff;"&gt;set&lt;/span&gt;; }       &lt;br /&gt;}&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;I then use LINQ to XML to write the value of each property in.&amp;#160; Since nulls are a real possibility, I use &lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/02/06/how-to-check-for-nulls-when-using-linq-to-xml.aspx"&gt;.Any()&lt;/a&gt; before assigning each value to ensure we don’t get an exception.&amp;#160; To understand the LINQ we use, let’s take a quick look at the result XML document.&lt;/p&gt;  &lt;div style="border-bottom:#000080 1px solid;border-left:#000080 1px solid;font-family:&amp;#39;Courier New&amp;#39;, courier, monospace;color:#000;font-size:10pt;border-top:#000080 1px solid;border-right:#000080 1px solid;"&gt;   &lt;div style="padding-bottom:2px;background-color:#ffffff;padding-left:5px;width:996px;padding-right:5px;height:324px;overflow:auto;padding-top:2px;"&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;diffgr:diffgram&lt;/span&gt;&lt;span style="color:#0000ff;"&gt; &lt;/span&gt;&lt;span style="color:#ff0000;"&gt;xmlns:msdata&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff;"&gt;urn:schemas-microsoft-com:xml-msdata&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff;"&gt; &lt;/span&gt;&lt;span style="color:#ff0000;"&gt;xmlns:diffgr&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff;"&gt;urn:schemas-microsoft-com:xml-diffgram-v1&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Results&lt;/span&gt;&lt;span style="color:#0000ff;"&gt; &lt;/span&gt;&lt;span style="color:#ff0000;"&gt;xmlns&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&lt;/span&gt;&amp;quot;&amp;quot;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;RelevantResults&lt;/span&gt;&lt;span style="color:#0000ff;"&gt; &lt;/span&gt;&lt;span style="color:#ff0000;"&gt;diffgr:id&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff;"&gt;RelevantResults1&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff;"&gt; &lt;/span&gt;&lt;span style="color:#ff0000;"&gt;msdata:rowOrder&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff;"&gt;0&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;WorkId&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;2799582&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;WorkId&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Rank&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;78969610&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Rank&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Title&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;Sales&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Title&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Size&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;65211&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Size&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Path&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;https://dotnetmafia.sharepoint.com/sites/fabrikam/teamsites/sales&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Path&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Write&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;2011-08-11T07:11:59-07:00&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Write&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;SiteName&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;https://dotnetmafia.sharepoint.com/sites/fabrikam/teamsites&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;SiteName&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;CollapsingStatus&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;0&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;CollapsingStatus&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;HitHighlightedSummary&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;Site Actions &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; This page location is: &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Home &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Team Sites &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Pages &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; default &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Employee &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Resources &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Facilities &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; News &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; I Like It &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Tags &lt;span style="color:#ff0000;"&gt;&amp;amp;amp;&lt;/span&gt;amp; Notes &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Libraries &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Shared Documents &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Flyers &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Presentations &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Proposals &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt; &lt;/span&gt;&lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;c0&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt;Sales&lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;/c0&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Forecasts &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Lists &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Calendar &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt; Tasks &lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;ddd/&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt; &amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;HitHighlightedSummary&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;HitHighlightedProperties&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;HHTitle&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&amp;amp;lt;&lt;/span&gt;c0&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt;Sales&lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;/c0&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&amp;amp;lt;&lt;/span&gt;/HHTitle&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&amp;amp;lt;&lt;/span&gt;HHUrl&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt;https://dotnetmafia.sharepoint.com/sites/fabrikam/teamsites/&lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;c0&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt;sales&lt;span style="color:#ff0000;"&gt;&amp;amp;lt;&lt;/span&gt;/c0&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&amp;amp;lt;&lt;/span&gt;/HHUrl&lt;span style="color:#ff0000;"&gt;&amp;amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;HitHighlightedProperties&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;ContentClass&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;STS_Web&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;ContentClass&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;IsDocument&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;false&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;IsDocument&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;RelevantResults&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;Each search result is contained inside a &lt;em&gt;ReleventResults&lt;/em&gt; node inside of the &lt;em&gt;Results&lt;/em&gt; element.&amp;#160; So we look inside there to create our query.&lt;/p&gt;  &lt;div style="border-bottom:#000080 1px solid;border-left:#000080 1px solid;font-family:&amp;#39;Courier New&amp;#39;, courier, monospace;color:#000;font-size:10pt;border-top:#000080 1px solid;border-right:#000080 1px solid;"&gt;   &lt;div style="padding-bottom:2px;background-color:#ffffff;padding-left:5px;padding-right:5px;overflow:auto;padding-top:2px;"&gt;&lt;span style="color:#0000ff;"&gt;var&lt;/span&gt; results = &lt;span style="color:#0000ff;"&gt;from&lt;/span&gt; result &lt;span style="color:#0000ff;"&gt;in&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; e.Result.Nodes[1].Descendants(&lt;span style="color:#a31515;"&gt;&amp;quot;RelevantResults&amp;quot;&lt;/span&gt;)       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff;"&gt;select&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af;"&gt;SearchResult&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; {       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Title = (result.Elements(&lt;span style="color:#a31515;"&gt;&amp;quot;Title&amp;quot;&lt;/span&gt;).Any())       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ? result.Element(&lt;span style="color:#a31515;"&gt;&amp;quot;Title&amp;quot;&lt;/span&gt;).Value : &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.Empty,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Path = (result.Elements(&lt;span style="color:#a31515;"&gt;&amp;quot;Path&amp;quot;&lt;/span&gt;).Any())       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ? result.Element(&lt;span style="color:#a31515;"&gt;&amp;quot;Path&amp;quot;&lt;/span&gt;).Value : &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.Empty,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Author = (result.Elements(&lt;span style="color:#a31515;"&gt;&amp;quot;Author&amp;quot;&lt;/span&gt;).Any())       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ? result.Element(&lt;span style="color:#a31515;"&gt;&amp;quot;Author&amp;quot;&lt;/span&gt;).Value : &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.Empty,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Size = (result.Elements(&lt;span style="color:#a31515;"&gt;&amp;quot;Size&amp;quot;&lt;/span&gt;).Any())       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ? result.Element(&lt;span style="color:#a31515;"&gt;&amp;quot;Size&amp;quot;&lt;/span&gt;).Value : &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.Empty,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Write = (result.Elements(&lt;span style="color:#a31515;"&gt;&amp;quot;Write&amp;quot;&lt;/span&gt;).Any())       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ? &lt;span style="color:#2b91af;"&gt;DateTime&lt;/span&gt;.Parse(result.Element(&lt;span style="color:#a31515;"&gt;&amp;quot;Write&amp;quot;&lt;/span&gt;).Value) : &lt;span style="color:#2b91af;"&gt;DateTime&lt;/span&gt;.MinValue,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; SiteName = (result.Elements(&lt;span style="color:#a31515;"&gt;&amp;quot;SiteName&amp;quot;&lt;/span&gt;).Any())       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ? result.Element(&lt;span style="color:#a31515;"&gt;&amp;quot;SiteName&amp;quot;&lt;/span&gt;).Value : &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.Empty,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; HitHighlightedSummary = (result.Elements(&lt;span style="color:#a31515;"&gt;&amp;quot;HitHighlightedSummary&amp;quot;&lt;/span&gt;).Any())       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ? result.Element(&lt;span style="color:#a31515;"&gt;&amp;quot;HitHighlightedSummary&amp;quot;&lt;/span&gt;).Value : &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.Empty,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ContentClass = (result.Elements(&lt;span style="color:#a31515;"&gt;&amp;quot;ContentClass&amp;quot;&lt;/span&gt;).Any())       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ? result.Element(&lt;span style="color:#a31515;"&gt;&amp;quot;ContentClass&amp;quot;&lt;/span&gt;).Value : &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.Empty,       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; IsDocument = (result.Elements(&lt;span style="color:#a31515;"&gt;&amp;quot;IsDocument&amp;quot;&lt;/span&gt;).Any())       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ? &lt;span style="color:#0000ff;"&gt;bool&lt;/span&gt;.Parse(result.Element(&lt;span style="color:#a31515;"&gt;&amp;quot;IsDocument&amp;quot;&lt;/span&gt;).Value) : &lt;span style="color:#0000ff;"&gt;false&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; };&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;We simply assign each property after verifying that it’s not null.&amp;#160; Most values are strings but we did do some casting for DateTime and Boolean values.&amp;#160; The last thing we do is bind to the RadGridView.&lt;/p&gt;  &lt;div style="border-bottom:#000080 1px solid;border-left:#000080 1px solid;font-family:&amp;#39;Courier New&amp;#39;, courier, monospace;color:#000;font-size:10pt;border-top:#000080 1px solid;border-right:#000080 1px solid;"&gt;   &lt;div style="padding-bottom:2px;background-color:#ffffff;padding-left:5px;padding-right:5px;overflow:auto;padding-top:2px;"&gt;ResultsRadGridView.ItemsSource = results;&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;The next section applies to the Telerik specific content.&amp;#160; If you don’t have those controls available to you, you can skip this section and you can configure the built-in grid in a similar manner.&amp;#160; RadGridView has some column types that allow us to format links and checkboxes in a nice manner.&amp;#160; Telerik has free trials available if you are interested.&amp;#160; Here is what that code looks like.&lt;/p&gt;  &lt;div style="border-bottom:#000080 1px solid;border-left:#000080 1px solid;font-family:&amp;#39;Courier New&amp;#39;, courier, monospace;color:#000;font-size:10pt;border-top:#000080 1px solid;border-right:#000080 1px solid;"&gt;   &lt;div style="padding-bottom:2px;background-color:#ffffff;padding-left:5px;width:995px;padding-right:5px;height:196px;overflow:auto;padding-top:2px;"&gt;&lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;RadGridView&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; HorizontalAlignment&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;Left&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Margin&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;13,227,0,0&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Name&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;ResultsRadGridView&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; VerticalAlignment&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;Top&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Width&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;776&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; AutoGenerateColumns&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;False&amp;quot;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;RadGridView.Columns&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;GridViewDynamicHyperlinkColumn&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Header&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;Title&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; DataMemberBinding&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;{&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Binding&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Title}&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; NavigateUrlFormatString&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;{} {0}&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; NavigateUrlMemberPaths&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;Path&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; TargetName&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;_blank&amp;quot; /&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;GridViewDataColumn&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Header&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;Author&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; DataMemberBinding&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;{&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Binding&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Author}&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot; /&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;GridViewDataColumn&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Header&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;Write&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; DataMemberBinding&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;{&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Binding&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Write}&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; DataFormatString&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;{} {0:MMM, dd, yyyy}&amp;quot; /&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;GridViewDataColumn&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Header&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;Size&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; DataMemberBinding&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;{&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Binding&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Size}&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot; /&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;GridViewDataColumn&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Header&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;HitHighlightedSummary&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; DataMemberBinding&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;{&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Binding&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; HitHighlightedSummary}&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot; /&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;GridViewDataColumn&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Header&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;ContentClass&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; DataMemberBinding&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;{&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Binding&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; ContentClass}&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot; /&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;GridViewHyperlinkColumn&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Header&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;SiteName&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; DataMemberBinding&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;{&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Binding&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; SiteName}&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; TargetName&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;_blank&amp;quot; /&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;GridViewCheckBoxColumn&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; Header&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;IsDocument&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; DataMemberBinding&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;{&lt;/span&gt;&lt;span style="color:#a31515;"&gt;Binding&lt;/span&gt;&lt;span style="color:#ff0000;"&gt; IsDocument}&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot; /&amp;gt;&lt;/span&gt;       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;RadGridView.Columns&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;       &lt;br /&gt;&lt;span style="color:#a31515;"&gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515;"&gt;telerik&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;:&lt;/span&gt;&lt;span style="color:#a31515;"&gt;RadGridView&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;That’s all the code that is involved.&amp;#160;&amp;#160; Here is a screenshot of it in action.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetmafia.com/blogs/dotnettipoftheday/image_11ED65F0.png"&gt;&lt;img style="background-image:none;border-right-width:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://www.dotnetmafia.com/blogs/dotnettipoftheday/image_thumb_6F492774.png" width="611" height="515" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I’ve attached the code to this post (minus the Telerik controls). This code will work on-premises or in the cloud with SharePoint Online.&amp;#160; I’ve confirmed this works with both the P1 and E3 SKUs of Office 365. I just used built-in managed properties in my example, but if you create custom properties of your own you can add those as well. Try it out and see what you think.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5272" width="1" height="1"&gt;</description><enclosure url="http://dotnetmafia.com/blogs/dotnettipoftheday/attachment/5272.ashx" length="24762" type="application/octet-stream" /><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Enterprise+Search/default.aspx">Enterprise Search</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SPC11/default.aspx">SPC11</category></item><item><title>Using SharePoint Online (Office365) for Extranets</title><link>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/10/05/using-sharepoint-online-office365-for-extranets.aspx</link><pubDate>Wed, 05 Oct 2011 20:39:27 GMT</pubDate><guid isPermaLink="false">ceb7fe2a-c56b-4d85-99e6-8dd548580538:5185</guid><dc:creator>CoreyRoth</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://dotnetmafia.com/blogs/dotnettipoftheday/rsscomments.aspx?PostID=5185</wfw:commentRss><comments>http://dotnetmafia.com/blogs/dotnettipoftheday/archive/2011/10/05/using-sharepoint-online-office365-for-extranets.aspx#comments</comments><description>&lt;p&gt;This week at SharePoint Conference (&lt;a href="https://twitter.com/#!/search/realtime/%23spc11"&gt;#SPC11&lt;/a&gt;), I had the pleasure of giving a talk about the benefits of using SharePoint as an Extranet platform.&amp;#160; I discuss the benefits and considerations of using SharePoint for an Extranet when it comes to on-premises solutions.&amp;#160; I know I am likely to get the question, “What about SharePoint Online though?”&amp;#160; It’s a great question and the more you think about it SharePoint Online is a great option for serving up an Extranet to your customers, partners, and vendors.&amp;#160; Why you say?&amp;#160; Well, let’s break it down to the things we have to think about when implementing an Extranet on-premises.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Target audience&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;The target audience of an extranet is typically, customers, partners, and vendors.&amp;#160; It is also useful for remote employees when you don’t want them to have to log in to a VPN every time they need to view a document.&amp;#160; The types of documents you often see on an extranet are reports, invoices, contracts, and anything else that you might need to collaborate on.&amp;#160; As you will see, SharePoint Online is a great fit for this and quite possibly could be the fastest way to launch an Extranet for you organization.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;The Network&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In order to make an Extranet happen, one of the things that must occur is that you get that SharePoint environment exposed to the Internet in whatever way works for your organization.&amp;#160; This is a huge consideration.&amp;#160; It involves you getting network architects involved and various other people to find a way to poke a hole through your firewalls to allow SharePoint to work externally.&amp;#160; There are simple solutions to this and extremely advanced solutions.&amp;#160; The more stringent your network requirements are the more you have to consider this.&amp;#160; With SharePoint Online, Microsoft has already made all of the hard decisions about getting SharePoint onto the Internet so you don’t have to.&amp;#160; You just sign up, create your users, put some content out there and you are good to go.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Authentication&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;SharePoint provides many different ways to authenticate On-Premises.&amp;#160; You can use Active Directory with NTLM or Kerberos, Forms Based Authentication (FBA) with the ASP.NET membership provider, LDAP provider, Active Directory, or something custom.&amp;#160; You can also use a trusted identity provider with Windows Live or ADFS 2.0&amp;#160; That’s a lot of options and that’s not even close to all of them.&amp;#160; Each one has its own set of considerations.&amp;#160; When I am doing an Extranet, I prefer a solution where we don’t have to manage the users credentials or password resets.&amp;#160; That makes Windows Live ID and other Trusted Identity Providers very attractive.&amp;#160; There are so many options, but why should you have to worry about it.&amp;#160; Office 365 makes it easy.&lt;/p&gt;  &lt;p&gt;What does SharePoint Online provide?&amp;#160; Well, it uses a flavor of Windows Live.&amp;#160; You can create users easily using the administration portal.&amp;#160; However, you don’t have to.&amp;#160; Probably the coolest feature in SharePoint Online is the option to share with external users.&amp;#160; I wrote a post a while back on how to configure this that you should check out.&amp;#160; All you have to do is type the users E-mail address in.&amp;#160; When the user receives an E-mail, they click on it and they sign in with their Windows Live account.&amp;#160; You can assign permissions on this users Windows Live account just like they were a regular user.&amp;#160; Out-of-the-box (cloud), SharePoint Online allows you to share with up to 50 external users. If you need more external users, you can purchase more (in 50 packs I believe).&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;SharePoint Functionality&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;SharePoint Online probably has most of the functionality you probably need out-of-the-box when it comes to sharing documents with partners.&amp;#160; You can obviously create document libraries, set up content types, use search, and even apply some policies.&amp;#160; Various licenses even include Office Web Apps for read (and optionally write) functionality which makes it really easy for users to view content without even having to download it.&amp;#160; It really is a great platform for sharing documents with people outside your company.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Going “around” your IT department&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;IT people will hate this.&amp;#160; However, business users who have to deal with slowly reacting IT departments will love it.&amp;#160; A business user can sign up for Office 365 and have a SharePoint Online site in under an hour.&amp;#160; I assure you no IT department out there will be able to match that.&amp;#160; Even if your IT department reacts quickly, more than likely someone in the food chain will want to hold it up to “evaluate it” and make themselves feel important.&amp;#160; I’m not saying to go out and not get IT buy in, but it really is an option for unresponsive IT departments.&amp;#160; Of course, with SharePoint Online you have governance considerations as well and I could see companies making policies stating that all SharePoint Online usage needs to go through IT.&amp;#160; Your business users may do what they need to do though.&amp;#160; I can definitely see this being a challenge.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Summary&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You’ve seen the considerations for running an Extranet now.&amp;#160; SharePoint Online is a great fit and can be provisioned quickly.&amp;#160; Hopefully this post will help you make the right decision when it comes to provisioning an Extranet.&amp;#160; &lt;/p&gt;  &lt;p&gt;I’m also giving two talks at this year’s conference and I would love for you to see them. &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="https://twitter.com/#!/search/realtime/%23spc348"&gt;#SPC348&lt;/a&gt; – &lt;a href="http://www.mssharepointconference.com/pages/sessiondetailsShort.aspx?sessionguid=9ce707cc-464f-41f5-880b-8f8d49a56cfd"&gt;Extending SharePoint 2010 for your customers and partners&lt;/a&gt; will cover everything you wanted to know about creating an Extranet with SharePoint 2010. Although, this topic is nothing new, this is a great talk for people just now looking to consider an extranet for his or her organization. &lt;/li&gt;    &lt;li&gt;&lt;a href="https://twitter.com/#!/search/realtime/%23spc364"&gt;#SPC364&lt;/a&gt; – &lt;a href="http://www.mssharepointconference.com/pages/sessiondetailsShort.aspx?sessionguid=3d64497f-0d38-4e35-9280-4d0095dea22d"&gt;Making the most of Search in SharePoint Online&lt;/a&gt;. I am beyond excited about this talk because I get to talk about Search and SharePoint Online in the same talk. You might just be amazed at what you can do with Search in the cloud. I’ve got some great demos built using Silverlight and the Search API that you will want to see whether you want to extend search off-premises or on-premises. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Enough with the shameless plug. :) Get ready and I’ll see you at the conference. You can follow me on twitter &lt;a href="http://twitter.com/coreyroth"&gt;@coreyroth&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://dotnetmafia.com/aggbug.aspx?PostID=5185" width="1" height="1"&gt;</description><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint/default.aspx">SharePoint</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SharePoint+2010/default.aspx">SharePoint 2010</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365/default.aspx">Office 365</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Office+365+Grid/default.aspx">Office 365 Grid</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/SPC11/default.aspx">SPC11</category><category domain="http://dotnetmafia.com/blogs/dotnettipoftheday/archive/tags/Extranet/default.aspx">Extranet</category></item></channel></rss>