<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">SharePoint Apps: Alexander Malek's weblog</title><subtitle type="html">using data views and workflow to build apps in sharePoint designer</subtitle><id>http://blogs.msdn.com/b/alexma/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/b/alexma/atom.aspx" /><generator uri="http://telligent.com" version="5.6.50428.7875">Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><updated>2006-04-10T10:22:00Z</updated><entry><title>Welcome to VS extensions for WSS!</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/archive/2006/11/07/welcome-to-vs-extensions-for-wss.aspx" /><id>http://blogs.msdn.com/b/alexma/archive/2006/11/07/welcome-to-vs-extensions-for-wss.aspx</id><published>2006-11-07T16:34:00Z</published><updated>2006-11-07T16:34:00Z</updated><content type="html">&lt;P&gt;Download &lt;A class="" href="http://www.microsoft.com/downloads/details.aspx?familyid=19F21E5E-B715-4F0C-B959-8C6DCBDC1057&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=19F21E5E-B715-4F0C-B959-8C6DCBDC1057&amp;amp;displaylang=en"&gt;VSeWSS&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Greetings from TechEd Barcelona!&amp;nbsp;Today, we finally got to announce a project I've been working on for the last year: "Visual Studio 2005 extensions for Windows SharePoint Services 3.0". Yup, the name's a mouthful :). Explaining it is pretty easy though - make "F5" work for SharePoint stuff in VS! That's essentially what VSeWSS brings to the table. Once you have it installed, you can actually boot VS, create stuff for WSS and have it work. For example, if you want to build a web part, from the "New Project" dialog in VS, choose "Web Part" under the "C#/SharePoint" node. Add some code and you're done. You can&amp;nbsp;hit F5 and immediately debug your web part. Pretty cool, no? &lt;/P&gt;
&lt;P&gt;In addition to web part support, VSeWSS also helps you build Site Definitions, List Definitions and Content Types. Over the next few weeks, I'll use this blog to explain how to use the various parts of VSeWSS. In the meanwhile, download the bits and drop any questions you have to "&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;microsoft.public.sharepoint.development_and_programming". &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Cheers, &lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;alex&lt;/SPAN&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1016595" width="1" height="1"&gt;</content><author><name>Alex Malek</name><uri>http://blogs.msdn.com/alexma/ProfileUrlRedirect.ashx</uri></author><category term="VSeWSS" scheme="http://blogs.msdn.com/b/alexma/archive/tags/VSeWSS/" /></entry><entry><title>My TechEd Slides</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/archive/2006/07/05/657223.aspx" /><link rel="enclosure" type="application/x-zip-compressed" length="3168383" href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-65-72-23/OFC210_2D00_Post.zip" /><id>http://blogs.msdn.com/b/alexma/archive/2006/07/05/657223.aspx</id><published>2006-07-06T00:04:00Z</published><updated>2006-07-06T00:04:00Z</updated><content type="html">&lt;FONT face=Arial size=2&gt;Thanks again to everyone who showed up for the SharePoint Designer talks at TechEd! As promised, here are my slides from the presentation (attached to the posting). Thanks! -alex&lt;/FONT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=657223" width="1" height="1"&gt;</content><author><name>Alex Malek</name><uri>http://blogs.msdn.com/alexma/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Changing the ‘return URL’ for SharePoint forms</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/archive/2006/06/17/635346.aspx" /><id>http://blogs.msdn.com/b/alexma/archive/2006/06/17/635346.aspx</id><published>2006-06-17T19:57:00Z</published><updated>2006-06-17T19:57:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Arial size=2&gt;Here’s a quick little tidbit that will help when building SharePoint applications. By default, when users fill out a SharePoint form, they are navigated back to the "All Items" page after pressing OK. You can easily change this behavior by altering what is in the “source=http://…” part of the URL&amp;nbsp; "query string" on the form page. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt; Let's add a link to the Announcements “New Item” form on the home page, so that it returns the user back to the home page after they press ok.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Step 1)&amp;nbsp;Add the following URL to the home page:&lt;BR&gt;&lt;/FONT&gt;&lt;A href="http://&lt;site&gt;/Announcements/Forms/NewItem.aspx?Source=http://&lt;site&gt;/default.aspx"&gt;&lt;FONT face=Arial size=2&gt;http://&amp;lt;site&amp;gt;/Announcements/Forms/NewItem.aspx?Source=http://&amp;lt;site&amp;gt;/default.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;That’s it! :) Once the user presses OK, the form will read the “source=” part of the URL and navigate the user back to that page.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Thanks to Jason and Andre for suggesting this blog tip!&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=635346" width="1" height="1"&gt;</content><author><name>Alex Malek</name><uri>http://blogs.msdn.com/alexma/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>So long TechEd (and thanks for all the fish)</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/archive/2006/06/16/634589.aspx" /><id>http://blogs.msdn.com/b/alexma/archive/2006/06/16/634589.aspx</id><published>2006-06-17T00:26:00Z</published><updated>2006-06-17T00:26:00Z</updated><content type="html">&lt;FONT face=Arial size=2&gt;Just about to take off for Seattle – finally catching up on a week’s worth of email backlog :). Overall, TechEd was a blast. It was great to be able to show off SharePoint Designer to so many people. Thanks to everyone who came by after the sessions or to the booth. I got tons of great questions and suggestions, many of which will help us in planning vNext. Please keep the feedback coming!&lt;/FONT&gt; &lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=634589" width="1" height="1"&gt;</content><author><name>Alex Malek</name><uri>http://blogs.msdn.com/alexma/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>SharePoint Designer at TechEd!</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/archive/2006/06/11/626154.aspx" /><id>http://blogs.msdn.com/b/alexma/archive/2006/06/11/626154.aspx</id><published>2006-06-11T15:21:00Z</published><updated>2006-06-11T15:21:00Z</updated><content type="html">&lt;FONT face=Arial size=2&gt;I’m excited to be going to &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/events/teched2006/default.mspx"&gt;&lt;FONT face=Arial size=2&gt;TechEd &lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;this week. I'll be presenting two sessions on SharePoint Designer 2007. If you have any questions about building apps on SharePoint, definitely come by the session or the Office booths! See ya in Boston. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&lt;FONT color=#0000ff&gt;Session ID:&lt;/FONT&gt;&lt;/STRONG&gt; OFC210&lt;BR&gt;&lt;STRONG&gt;&lt;FONT color=#0000ff&gt;Session Title:&lt;/FONT&gt;&lt;/STRONG&gt; Office SharePoint Designer 2007: Create and Customize Microsoft SharePoint Web Sites and Build Workflow-Enabled Applications &lt;BR&gt;&lt;STRONG&gt;&lt;FONT color=#0000ff&gt;Description:&lt;/FONT&gt;&lt;/STRONG&gt; Come and learn about Office SharePoint Designer 2007. This is the powerful and easy to use tool for information workers to automate business processes and build efficient applications on top of the SharePoint platform, and tailor their SharePoint site to their needs in an IT-managed environment. &lt;BR&gt;&lt;STRONG&gt;&lt;FONT color=#0000ff&gt;Time Slot 1:&lt;/FONT&gt;&lt;/STRONG&gt; 6/13/2006 1:00PM-2:15PM [Breakout 08] &lt;BR&gt;&lt;STRONG&gt;&lt;FONT color=#0000ff&gt;Time Slot 2:&lt;/FONT&gt;&lt;/STRONG&gt; 6/14/2006 10:15AM-11:30AM&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt; [Breakout 12] &lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=626154" width="1" height="1"&gt;</content><author><name>Alex Malek</name><uri>http://blogs.msdn.com/alexma/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>5 Cool SharePoint Designer Features </title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/archive/2006/06/01/626152.aspx" /><id>http://blogs.msdn.com/b/alexma/archive/2006/06/01/626152.aspx</id><published>2006-06-02T03:11:00Z</published><updated>2006-06-02T03:11:00Z</updated><content type="html">&lt;FONT face=Arial size=2&gt;There is so much stuff in SharePoint Designer 2007, it's hard to pick favorites, but if I had to choose the five things I'm most excited about... &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;FONT color=#a52a2a&gt;&lt;SPAN class=style1&gt;&lt;STRONG&gt;1) Data View v2:&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR&gt;In addition to update (form) support, we can also now create "aggregate" views across multiple sources, have a cool new Xpath "Expression builder", integration with the "Business Data Library", not to mention a nice UI for managing view parameters.&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;FONT color=#a52a2a&gt;&lt;SPAN class=style1&gt;&lt;STRONG&gt;2) Workflow Designer:&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR&gt;Leveraging the new "workflow" capabilities built into the SharePoint platform, we added a "rules-based" designer to SPD that allows you to quickly add application logic to your SharePoint apps. Think of it as a way to put code behind your apps. I'll be talking about this feature lots more soon :). &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;&lt;FONT color=#a52a2a&gt;&lt;SPAN class=style1&gt;3) CSS support:&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR&gt;&lt;/STRONG&gt;We built a whole slew of features to create and manage CSS styles. We also worked with the SharePoint team to make it possible to 'detach' from ows.css (now called core.css) and easily customize the SharePoint stylesheet. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;&lt;FONT color=#a52a2a&gt;&lt;SPAN class=style1&gt;4) Better code view:&lt;/SPAN&gt; &lt;/FONT&gt;&lt;BR&gt;&lt;/STRONG&gt;CSS/XSLT/Xpath intellisense, code view/design view sync for Data Views (best feature ever!), CSS hyperlinks, and more.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=style1&gt;&lt;FONT face=Arial color=#a52a2a size=2&gt;&lt;STRONG&gt;5) &lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#a52a2a size=2&gt;&lt;STRONG&gt;Rich ASP.net integration: &lt;BR&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT face=Arial size=2&gt;We collaborated with the Visual Studio team to build really deep support for ASP.net into SharePoint Designer, e.g. great previews in design view, full property grid support, as well as support for bringing up the native "builder" dialogs.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Welcome to the list of features I plan to blog about over the coming months :). &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;oh ya, did I mention we also built "Re-Ghost Page"?!&lt;/FONT&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=626152" width="1" height="1"&gt;</content><author><name>Alex Malek</name><uri>http://blogs.msdn.com/alexma/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Welcome to Office 2007 and SharePoint Designer!</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/archive/2006/05/25/616501.aspx" /><id>http://blogs.msdn.com/b/alexma/archive/2006/05/25/616501.aspx</id><published>2006-05-26T06:44:00Z</published><updated>2006-05-26T06:44:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Now that beta2 of Office is out (grab it &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/office/preview/beta/getthebeta.mspx"&gt;&lt;FONT face=Arial size=2&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; for free!), I think it's a great time for me to switch over from talking about FrontPage 2003 to &lt;EM&gt;SharePoint Designer 2007&lt;/EM&gt;. In case you hadn't heard, a few months back &lt;/FONT&gt;&lt;A HREF="/rmauceri/archive/2006/02/16/533913.aspx"&gt;&lt;FONT face=Arial size=2&gt;we announced&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; that Office 2007 would include a new product called &lt;EM&gt;SharePoint Designer&lt;/EM&gt;, aimed specifically at enabling rapid application development for the SharePoint platform . SharePoint Designer (SPD) is very much the continuation of what we started with SharePoint app development in FrontPage XP and 2003. SPD takes the best parts of FrontPage and adds a ton of new capabilities to the Data View web part, a cool new "Workflow" designer for adding application logic to your SharePoint site, not to mention &lt;EM&gt;great &lt;/EM&gt;CSS and ASP.net support. Overall, I think this change is great for fans of building apps on SharePoint. And since Microsoft now has a dedicated product, &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/products/expression/en/web_designer/default.mspx"&gt;&lt;FONT face=Arial size=2&gt;Expression Web Designer&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;, for addressing the needs of web designers, we as the SharePoint Designer team can focus all of our efforts on building the absolute best design tool for SharePoint. &lt;/FONT&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=616501" width="1" height="1"&gt;</content><author><name>Alex Malek</name><uri>http://blogs.msdn.com/alexma/ProfileUrlRedirect.ashx</uri></author><category term="SharePoint App-Building Tips" scheme="http://blogs.msdn.com/b/alexma/archive/tags/SharePoint+App_2D00_Building+Tips/" /></entry><entry><title>Cool Outlook Trick</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/archive/2006/05/16/599006.aspx" /><id>http://blogs.msdn.com/b/alexma/archive/2006/05/16/599006.aspx</id><published>2006-05-16T19:04:00Z</published><updated>2006-05-16T19:04:00Z</updated><content type="html">&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;One of my long pet peeves about Outlook is that if you search for a user in the “Global Address List” that happens to be in your “Contacts” list, Outlook always returns the entry from the contacts list. This is a pain since sometimes there is information in the global address book (e.g. phone number) that&amp;nbsp;one doesn't have copied to the local entry. Well, turns out there is a power user feature to work around this. If you type “=username” in the contact search box, it will always return the entry from the global address book. Sweet.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=599006" width="1" height="1"&gt;</content><author><name>Alex Malek</name><uri>http://blogs.msdn.com/alexma/ProfileUrlRedirect.ashx</uri></author></entry><entry><title>Allowing Users to Filter/Search a Data View</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/archive/2006/04/25/614378.aspx" /><id>http://blogs.msdn.com/b/alexma/archive/2006/04/25/614378.aspx</id><published>2006-04-25T19:06:00Z</published><updated>2006-04-25T19:06:00Z</updated><content type="html">&lt;FONT face=Arial size=2&gt;In my &lt;A HREF="/alexma/archive/2006/04/10/610934.aspx"&gt;previous post&lt;/A&gt;, I talked about how Web Part Connections can be used to pass data between Web Parts. I showed building a simple master/detail scenario, where you have one view, showing all the records in a data source, filtering a second "single item" detail view of the same source. There are tons of other scenarios where Connections are useful. For example,&amp;nbsp;imagine if you could&amp;nbsp;have a little form on your&amp;nbsp;web page, where any values entered into that form could be passed into a connection.&amp;nbsp;As luck would have it :^&amp;gt;, we built a part exactly for this scenario, called the "Form Web Part"! Little fyi: the Form Web Part was actually the very first feature I worked on when I came to MS, so I'm kinda partial to it&amp;nbsp;:) &lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;STRONG&gt;Quick example:&lt;/STRONG&gt; Using a Form Web Part to "search" the Title field of an Announcements List view&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;1) You can insert a Form Web Part by clicking Data/Insert Web Part, and then from the Web Parts task pane, dragging the Form Web Part into your page. By default, this is what the Form Web Part looks like, a single text box with a "Go" button:&lt;BR&gt;&lt;IMG height=53 src="http://static.flickr.com/72/158741705_2e10c99122_o.png" width=207&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Note: You can add more form controls (including other types of controls) to the part by using the Insert/Form menu, but for this scenario, the default setup will work.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;2) Next you need to add a view of the Announcements list to your page. We'll filter this view with the value entered into the&amp;nbsp;Form.&lt;BR&gt;&lt;IMG height=100 src="http://static.flickr.com/69/158741701_a410da4ddc_o.png" width=429&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;3) You can now right-click anywhere inside the Form Web Part and choose "Web Part Connections...". In the Connections Wizard, hit Next on the first two pages. On the third page, choose the "Announcements" part as your target part. However, unlike in the last example, instead of using "Filter View Using Data Values" as the &lt;EM&gt;Target Action&lt;/EM&gt;, choose "Modify View Using Parameters", and hit Next. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;IMG height=386 src="http://static.flickr.com/75/158741702_23abf338a1_o.png" width=436&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;4) Long story short, there are two ways to use Web Part Connections: 1) as show in the &lt;/FONT&gt;&lt;A HREF="/alexma/archive/2006/04/10/610934.aspx"&gt;&lt;FONT face=Arial size=2&gt;previous post&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;, the source part can affect the target using one of the default connection "verbs", e.g. filter the target part, or 2) the source part can just pass a value to the target part, and leave it to the target to do whatever it wants with that value. In this demo, we're using option 2, since we want to have finer control over the type of filtering done in the target part. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;The Data View has a default parameter we can use called "Input Parameter. The way to pass the value from the textbox in our form is by choosing "T1" in the left column. You then hit Next. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;IMG height=386 src="http://static.flickr.com/74/158741703_077c933d32_o.png" width=467&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;4) After you hit Finish in the Connections Wizard, there is still one more step remaining. We need to go to the target part, in this case, the view on Announcements and define what to do with the value that comes from the parameter. For our scenario, since we want to Filter the view with the parameter value, select the Announcements view and choose the Data/Filter menu item, which will bring up the Data View filter UI. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;For the field name, choose "Title" - for the comparison, you likely want "Contains" - and for the value, we can plug the parameter in here by choosing "[Input Parameter]". &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://static.flickr.com/77/158749136_b1073e8c49_o.png"&gt; &lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Press OK, and your done! Now, if you browse the page, you should be able to enter a value into the form part and have the view filter to only show values that contain what was typed in the form. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;EM&gt;Note:&lt;/EM&gt; You probably noticed that the view shows no records by default - this is due to the fact that the parameter we're filtering on is blank when the view first loads. One way to work around this is to give the parameter a "default value", which you can do in code view by searching for the following line, and setting the DefaultValue attribute to whatever you'd like the value to initially show.&lt;/FONT&gt; &lt;/P&gt;&lt;FONT face="Courier New" color=#a52a2a size=2&gt;
&lt;P class=style1&gt;&amp;lt;udc:ClientParameterBinding Name="filterParam" Location="Postback;Connection" DefaultValue="&lt;SPAN class=style2&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff00"&gt;baz&lt;/FONT&gt;&lt;/SPAN&gt;"/&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=614378" width="1" height="1"&gt;</content><author><name>Alex Malek</name><uri>http://blogs.msdn.com/alexma/ProfileUrlRedirect.ashx</uri></author><category term="SharePoint App-Building Tips" scheme="http://blogs.msdn.com/b/alexma/archive/tags/SharePoint+App_2D00_Building+Tips/" /></entry><entry><title>Using Web Part Connections to build a Master/Detail View</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/b/alexma/archive/2006/04/10/610934.aspx" /><id>http://blogs.msdn.com/b/alexma/archive/2006/04/10/610934.aspx</id><published>2006-04-10T20:22:00Z</published><updated>2006-04-10T20:22:00Z</updated><content type="html">&lt;FONT face=Arial size=2&gt;One of the great new features part of SharePoint v2 is this thing called "Web Part Connections", which allows you to easily have Web Parts communicate with each other, thus adding a level of interactivity to your web applications. In a way, you can think of connections is as a &lt;EM&gt;data-driven &lt;/EM&gt;hyperlink, i.e. clicking the hyperlink will push some data to the second part, which can then consume that data. The most common Connection scenario is to use one part to filter another other one, e.g. imagine having a "master" view, where you can drill from each item to a detail view. &lt;/FONT&gt;
&lt;P class=style1&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;&lt;SPAN class=style5&gt;Quick Example: &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class=style5&gt;Let's look at what's involved building a master/detail view of a products table. In this example, I'll use Data Views for both my master and detail view, but it should be noted that you can connect different types of parts together too! &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style4&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;SPAN class=style6&gt;&lt;EM&gt;Step 1:&lt;/EM&gt;&lt;/SPAN&gt; The first step is to build a simple "master" view showing all the records in my products list&lt;BR&gt;&lt;IMG height=124 src="http://static.flickr.com/51/156535725_3aacba9a60_o.png" width=396&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style4&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;SPAN class=style6&gt;&lt;EM&gt;Step 2:&lt;/EM&gt;&lt;/SPAN&gt; Next, on the same page, let's build a "detail" view that shows a single item from the Products list, but with more detail. &lt;BR&gt;&lt;IMG height=72 src="http://static.flickr.com/47/156535096_9f159efaf7_o.png" width=390&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style4&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;SPAN class=style6&gt;&lt;EM&gt;Step 3:&lt;/EM&gt;&lt;/SPAN&gt; Once you have your views setup, you can quickly create a connection so that clicking an item in the master will cause the detail view to be filtered to the same item. To do this, right-click the field you want the connection hyperlink on, and choose the "Web Part Connections..." context menu item. This will bring up the Connections wizard. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style4&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;SPAN class=style5&gt;When setting up a connection, it's easiest to think of the two parts as &lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=style5&gt;source &lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=style5&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=style5&gt;target&lt;/SPAN&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;SPAN class=style5&gt;. The first step is to choose what you want from the source part. 99.9999% of the time, you simply want to grab some values from the source part and pass them along - this is the default option, so you can just click next. &lt;BR&gt;&lt;/SPAN&gt;&lt;IMG height=387 src="http://static.flickr.com/57/156535091_cbf0c71021_o.png" width=437&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style4&gt;&lt;FONT face=Arial size=2&gt;On the next page of the wizard, you get to choose which part to connect to. In the case of this master/detail scenario, I have the "detail" part on the same page, so I can click next again. &lt;BR&gt;&lt;IMG height=386 src="http://static.flickr.com/60/156535093_ba6e4fdecd_o.png" width=437&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style4&gt;&lt;FONT face=Arial size=2&gt;Here, we choose the specific part and what we want to do to that part. The default behavior is to filter the target part, which for our scenario is the desired behavior. &lt;BR&gt;&lt;IMG height=387 src="http://static.flickr.com/51/156535094_c57e889d2c_o.png" width=438&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style4&gt;&lt;FONT face=Arial size=2&gt;The last piece of information required is to choose what field the target part should be filtered to from the source part. Since both parts in this case are on the same list, we can use the ID field, since that is guaranteed to be unique. &lt;BR&gt;&lt;IMG height=386 src="http://static.flickr.com/51/156535095_27c85543c7_o.png" width=437&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style4&gt;&lt;FONT face=Arial size=2&gt;That's it! You can now click through and complete the wizard. After you hit "Finish", you'll notice that there is a hyperlink on the original field you selected.&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style4&gt;&lt;FONT face=Arial size=2&gt;&lt;IMG height=124 src="http://static.flickr.com/72/156535097_1c8c9e75d3_o.png" width=397&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=style4&gt;&lt;FONT face=Arial size=2&gt;If you browse the page, you'll notice that clicking the hyperlink in the "master" view will cause the "detail" view to filter to the correct item. Sweet :)&lt;/FONT&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=610934" width="1" height="1"&gt;</content><author><name>Alex Malek</name><uri>http://blogs.msdn.com/alexma/ProfileUrlRedirect.ashx</uri></author><category term="SharePoint App-Building Tips" scheme="http://blogs.msdn.com/b/alexma/archive/tags/SharePoint+App_2D00_Building+Tips/" /></entry></feed>