Welcome to Office 2007 and SharePoint Designer!

Now that beta2 of Office is out (grab it here for free!), I think it’s a great time for me to switch over from talking about FrontPage 2003 to SharePoint Designer 2007. In case you hadn’t heard, a few months back we announced that Office 2007 would include a new product called SharePoint Designer, aimed…

2

Allowing Users to Filter/Search a Data View

In my previous post, 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…

2

Using Web Part Connections to build a Master/Detail View

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 data-driven hyperlink, i.e. clicking the…

1

How to Create a Data View that Shows a Single Item

When you first insert a Data View, the default “look” is always a tabular multi-item view; however, it’s easy to change this to whatever style you want. We even include a few pre-built styles in the box that you can quickly switch between. To change the style of your view, go to the Data menu…

0

Conditional Image Swapping in a Data View

One of the cooler uses for Conditional Formatting is to to dynamically swap between a set of icons/images, e.g. imagine a scenario where you want a red, yellow or green light based on how a sales department is tracking to budget. Although it’s possible to build this kinda of view with the Conditional Formatting feature,…

4

Conditional Formatting Internals

The inner workings of Conditional Formatting are actually pretty straightforward. The key construct that makes the feature possible is a tag called <xsl:if>, which is used to conditionally add content to the HTML output of the transform. It’s easiest to grok xsl:if with the “show content” type of CondF. Basically, the content you want conditional…

0

Grokking "Show Visibility" in the Conditional Formatting Task Pane

Sometimes true Wysiwyg is not what you want in design view. For example, if you are using Conditional Formatting to optionally show content in your view, and your data is such that all records evaluate to false, you end up in a situation where you can no longer select the tag that holds the Conditional…

0

Conditional Formatting Part 2

In addition to being able to show and hide content using Condition Formatting, you can also use the feature to dynamically change the presentation of your view, based on data in the associated data source.  Example: for the view of the “Product Sales” list, let’s say you want to highlight the background of any product…

0

Data View Conditional Formatting

One of the things XSLT makes really easy is “conditional formatting”, i.e. having parts of your view appear differently depending on some data condition. Quick example: let’s say you have a view of a “Product Sales” list, and you want to show a flag icon beside any product that’s sold more than 500 units. The…

0

Wysiwyg XSLT Editing

We built the Data View on XSLT for a couple of important reasons: 1) We wanted there to be a “real” programming language under the covers, so that our users would never be limited by what our UI allowed, i.e. even if FrontPage can’t do something, you can always jump into code view and still…

0