Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

Shortcuts and Tips

Shawn

As with any application, keyboard shortcuts can save a developer a tremendous amount of time. I have found that keyboard shortcuts are absolutely necessary for creating BizTalk schemas with more than a few nodes. An advanced schema can take many times longer if you have to continually insert each node one at a time. Shortcuts and the AutoLink feature of the BizTalk Mapper can also save a developer a great deal of time. Although the information below can also be found on the MSDN site, I thought it might be helpful to get it all in one area.
BizTalk Editor Keyboard Shortcuts

Action Keyboard shortcut Alternate Shortcut
Opens the BizTalk menu. ALT+Z
BizTalk – Insert Schema Node – Child RecordAdds a Record node at the end of the child nodes of the currently selected node. ALT+Z, I, R CTRL+I, CTRL+R
BizTalk – Insert Schema Node – Child Field AttributeAdds a Field Attribute node at the end of the child nodes of the currently selected node. ALT+Z, I, F CTRL+I, CTRL+F
BizTalk – Insert Schema Node – Child Field ElementAdds a Field Element node at the end of the child nodes of the currently selected node. ALT+Z, I, E CTRL+I, CTRL+E
BizTalk – Insert Schema Node – Sibling RecordAdds a Record node at the end of the child nodes of the parent of the currently selected node. ALT+Z, I, S CTRL+I, CTRL+S
BizTalk – Insert Schema Node – Sibling Field AttributeAdds a Field Attribute node at the end of the child nodes of the parent of the currently selected node. ALT+Z, I, I CTRL+I, CTRL+I
BizTalk – Insert Schema Node – Sibling Field ElementAdds a Field Element node at the end of the child nodes of the parent of the currently selected node. ALT+Z, I, L CTRL+I, CTRL+L
BizTalk – Insert Schema Node – Sequence GroupAdds a Sequence Group node at the end of the child nodes of the currently selected node. ALT+Z, I, G CTRL+I, CTRL+G
BizTalk – Insert Schema Node – Choice GroupAdds a Choice Group node at the end of the child nodes of the currently selected node. ALT+Z, I, H CTRL+I, CTRL+H
BizTalk – Insert Schema Node – All GroupAdds an All Group node at the end of the child nodes of the currently selected node. ALT+Z, I, A CTRL+I, CTRL+A
BizTalk – Insert Schema Node – Attribute GroupAdds an Attribute Group node at the end of the child nodes of the currently selected node. ALT+Z, I, T CTRL+I, CTRL+T
BizTalk – Insert Schema Node – Any ElementAdds an Any Element node at the end of the child nodes of the currently selected node. ALT+Z, I, N CTRL+I, CTRL+N
BizTalk – Insert Schema Node – Any AttributeAdds an Any Attribute node at the end of the child nodes of the currently selected node. ALT+Z, I, B CTRL+I, CTRL+B
BizTalk – Promote – Quick PromotionPromotes the selected node using the property schema specified by the Default Property Schema Name property in the Property Pages dialog box for the schema in the current BizTalk project. ALT+Z, M, Q
BizTalk – Promote – Show PromotionsOpens the Promote Properties dialog box from which you can examine and change property promotions. ALT+Z, M, P
BizTalk – DeleteDeletes the currently selected node, with a confirmation dialog box. Delete
ALT+Z, D
BizTalk – Expand Schema NodeExpands the currently selected node in the schema tree. ALT+Z, E
BizTalk – Collapse Schema NodeCollapses the currently selected node in the schema tree. ALT+Z, C
BizTalk – Refresh XSDRefreshes the XSD tab in BizTalk Editor. ALT+Z, R CTRL+Z, CTRL+R
BizTalk – PropertiesShows the properties of the currently selected node in the Visual Studio 2005 Properties window. ALT+Z, P F4
BizTalk – RenameRenames the currently selected node. ALT+Z, N F2

 

BizTalk Mapper Keyboard Shortcuts

Action Keyboard shortcut Alternate Shortcut
BizTalk – DeleteDeletes the currently selected links and functoids in the displayed grid page, with confirmation prompting. ALT+Z, D DELETE
BizTalk – Add PageAdds a new grid page. ALT+Z, A CTRL+M, CTRL+A
BizTalk – Delete PageDeletes the displayed grid page, including any links and functoids on it, with confirmation prompting. ALT+Z, D CTRL+M, CTRL+D
BizTalk – Reorder PagesOpens the Reorder Pages dialog box, so that you can change the order of the grid pages. ALT+Z, R CTRL+M, CTRL+R
BizTalk – Rename PageAllows you to rename the displayed grid page, by typing a new name into the corresponding tab. ALT+Z, N F2
BizTalk – Expand Tree NodeExpands the currently selected node in the source or destination schema tree. Right Arrow
— or —
ALT+Z, E
CTRL+M, CTRL+E
BizTalk – Collapse Tree NodeCollapses the currently selected node in the source or destination schema tree. Left Arrow
— or —
ALT+Z, C
CTRL+M, CTRL+C
BizTalk – Grid PreviewOpens the Grid Preview dialog box, so that you can quickly scroll within the displayed grid page. ALT+Z, G CTRL+M, CTRL+G
BizTalk – PropertiesShows the properties of the currently selected grid item (link, functoid, and so on) in the Visual Studio 2005 Properties window. ALT+Z, R F4
BizTalk – Replace SchemaAllows replacement of the source or destination schema using the BizTalk Type Picker dialog box. ALT+Z, S CTRL+M, CTRL+S

 

BizTalk Mapper: Map Link Tips


Another time saving feature of BizTalk is the ability to use the AutoLink feature on the BizTalk Map Editor. There are two AutoLink types, by node name and by structure. You can get to either one of these options by going to the properties of the BizTalk Map and choosing the AutoLink By property. Once the option has been chosen, all you have to do is hold the Shift key down while you are mapping the nodes and it will automatically map any child node (field or record) within the node you have clicked on. Figure 2.1: Choosing the AutoLink type

Structure Link
I use this type of map link when the record structure on the left side matches the structure of data on the right side. The BizTalk Mapper will select the parent and all child records and when you drag these onto the matching record type on the other side, it will link the parent and all child records together. Although this is a very useful feature, I do not get to utilize this as much as the next map link type.

As you can see in the figure below, the names of the fields are different for the Item Record, but the structure of either side matches up exactly. Using the structure link, these fields can be mapped all at the same time.

Figure 2.2: Using a Structure Link


Name-Matching Link

I do not always have control over the structure of the message, especially if I am conforming to a message type from a particular supplier, customer, etc. This is where just a small amount of extra time and care taken to name all fields according to system standards can go a long way. Let’s say I want to send a purchase order. There is a great deal of information that will exist on any number of suppliers’ purchase orders. All schemas that share this information have all records named exactly the same. This way when I need to map to a new schema, I can click on the parent node, drag and drop, and all child records are mapped. This way the only time real time I spend is any custom data that a new supplier requires.

As you can see in the figure below, the names of the fields are the same for all elements in the either schema. Using the name-matching link, these fields can be mapped all at the same time. The one thing to keep in mind, the name-matching link is case sensitive.

Figure 2.3: Using a Name-Matching Link


Note: I am leaving off the thirds type of map link, the single record link because I think this is self explanatory.

 

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>