Jeff Lynch [MVP]

Sponsors

The Lounge

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard

This post is going to be an illustrated walkthrough showing how to use the new FarPoint XLS File Pipeline Component to create a an XML schema from an existing Excel file. To make this process easier, FarPoint has designed this new component with a wizard interface which is very similar to the Flat File Schema Wizard.

The first thing to understand is that this component is designed to parse simple row and column Excel files into XML as illustrated in the walkthrough below.

To create a new schema from an existing XLS file you begin by selecting the XLS File Schema Wizard in the Add New Item dialog box as shown below.

This opens the BizTalk XLS File Schema Wizard and you begin by simply clicking on the Next button as shown below.

This begins the wizard and opens a dialog box where you can Browse for your instance Excel file and also where you enter your schema's Target Namespace.

This opens your instance Excel XLS file in a FarPoint Spread component and allows you to Select all the data in the XLS file used to define your records as shown below.

This is a pretty simple process and all you need to do is select all the rows that you want to include in your XML schema as shown below.

Once you've selected your data rows you can set each element's Name and Type (element centric or attribute centric) as shown below. You can mix and match but I always find it easier to stick with one type or the other.

This creates the XML schema for the Excel file instance as shown below. Note the component also took care of each "header" row (including blank rows if any) so that your Excel file parses correctly. In my Excel file I have two header rows and a blank row between the header and first data row.

The repeating record element is shown below and this is the part of the schema that you use to map to some other format later on.

As you can see from the images below, this schema validates properly in VS2005 as does the instance Excel XLS file.

 

 

 

In fact, the schema generated by this wizard looks and acts exactly like any other (relatively) complicated XML schema. You can use this schema in a pipeline, map or an orchestration just as you would any other schema.

In my next post I show you exactly how that's done and how I've used this cool new "tool" to simplify several business process automation tasks in the real world!

Please let me know what you think so far! We are looking for feedback and for beta testers.


Posted 05-09-2006 7:21 AM by Jeff Lynch
Filed under:

[Advertisement]

Comments

rseroter wrote re: BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard
on 05-09-2006 9:34 PM
Really liking this.  I have a customer I spoke to yesterday who needs to do Excel input to a process.  Any word on pricing? I know your previous post identified at release time as in the fairly near future.
Jeff Lynch wrote re: BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard
on 05-09-2006 10:10 PM
Richard,

Ping me at jeff.lynch[at]gulfcoastseal.com and I'll reply back. I can put you in touch with FarPoint. Pricing hasn't been announced but it's very, very reasonable and we're looking for beta sites.

Jeff
Deepak Lakshmanan wrote Excel File Schema Wizard
on 05-10-2006 8:48 AM

Jeff has written a recent article on showing how to use the new FarPoint XLS File Pipeline Component...
Deepak wrote re: BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard
on 05-10-2006 8:54 AM
Great Stuff Jeff! Any idea whether the Excel Schema work on Serialization (xml -> Excel) too or is primarily used for parsing(Excel -> xml)?
Jeff Lynch wrote re: BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard
on 05-10-2006 9:08 AM
Deepak,

Right now it's a parser component to be used in the receive pipeline. Future versions may be able to serialize XML to an XLS format but it really depends upon the market demand. To begin with, we just wanted a way to get Excel data into an XML format for BizTalk to process.

Jeff
Tomas Restrepo wrote re: BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard
on 05-10-2006 9:29 AM
Jeff,

It looks way cool, and I'm sure this will be very useful for a lot of folks. Congratulations to the Farpoint team for putting it so nicely together :)

I'm curious about a couple of things:
1- I'm assuming the component is a disassembler? or is it more targetted as a decoding component?
2- Does it deal with multi-page workbooks? if so, how?

Deepak wrote re: BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard
on 05-10-2006 9:57 AM
Thanks Jeff. It makes sense :)
Jeff Lynch wrote re: BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard
on 05-10-2006 12:36 PM
Tomas,

This version is a parser (disassembler) only but we are working on the serializer (assembler) also. Right now it works with single sheet Excel files but we are also working on multi-sheet workbooks as well. FarPoint should have their beta signup and support forums up and running in a few days and I'll be helping out in the forums.

Keep those comments coming!
Ashwini wrote re: BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard
on 07-16-2007 9:32 AM

Hi,

I am not able to see XLS Flat File wizard in Add New Item inside BizTalk server 2006 undera Schema tab.Can you please help me how to add that template inside that.If possible can you also tell me how to activate template for BizTalk migration wizard inside BizTalk Sereer 2006.

Note: Please write me at upadhyay.ashwini@satyam.com

Thanks In advance

Ashwini Upadhyay

oana wrote re: BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard
on 09-05-2007 6:28 AM

Helo,

do you have any idea how to convert an XML file to Excel, using BizTalk?

thank you

oana

Jeff Lynch wrote re: BizTalk Server 2006: FarPoint XLS File Pipeline Component Schema Wizard
on 09-12-2007 6:04 PM

I believe that FarPoint is working on a Excel assember component and should have a beta ready within a few months.

Jeff

Bill's Blog wrote Jeff Lynch's View
on 06-10-2008 4:00 PM

Jeff Lynch has published an entry on his blog about our FarPoint Spread for BizTalk Server pipeline component.

Euro Controls wrote Euro Controls
on 03-16-2009 9:34 AM

Susan E. Rice- (CFR) former State Department Asst Secretary for African Affairs; Anthony Lake (CFR)- Bill Clinton’ s first national Security advisor; Zbigniew Brzezinski- (CFR and Trilateral Commission)- Brzezinski is widely seen as the man who created

Add a Comment

(required)  
(optional)
(required)  
Remember Me?