![Page 1: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/1.jpg)
Sponsored & Brought to you by
Create a modern(ish) BAM portal in (roughly) one hour!Rob Bowman
https://www.linkedin.com/in/robbowman147
![Page 2: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/2.jpg)
Create a modern(ish) BAM portal in (roughly) one hour!
Rob BowmanBizTalkers Ltd
www.biztalkers.com
![Page 3: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/3.jpg)
![Page 4: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/4.jpg)
Ever heard of thisThing they call“The Force”?
![Page 5: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/5.jpg)
Single technology I’ve found adds most value given the effort required?
BAM
![Page 6: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/6.jpg)
Reasons BAM doesn’t get used• Activity monitoring not seen as
essential for Go-Live of a project• It’s a new skill to learn – sometimes
developers turn to a technology they already have experience of such as Log4Net• The stock BAM Portal doesn’t give
the functionality expected
![Page 7: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/7.jpg)
Why Developers Should Implement BAM
With the right portal in place, the business users can find answers themselves rather than having to ask the development or support teams.
Q: Why hasn’t the warehouse received the Purchase OrderA: Take a look on the BAM Portal
![Page 8: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/8.jpg)
So why build a custom BAM portal?• The stock portal provides view over BAM Primary
Import db only• It doesn’t show data from ESB Exceptions database• It doesn’t provide a view of message payload
• Additional functionality• A BAM Portal is a convenient site to add additional
functionality such as:• task management – tickets raised for exceptions etc.• UI for maintaining cross reference data
![Page 9: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/9.jpg)
A Consolidated View
Rcv Pipeline
MsgArchive
SourceData Source
DataMap Rcv
Pipeline
Msg Body
BAM
Timestamp & Key Data from Msg Body
MsgBox
Canonical Data
Exception Db
SendPipeline
Canonical DataSend Pipeline
Map
Msg Body
Timestamp & Key Data
Source System
Target System
TargetData
TargetData
BAMPortal
View
The custom BAM Portal provides a consolidated view of a message from source to target system
![Page 10: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/10.jpg)
Aim of the Custom Portal• View summary of messages received and sent• Ability to drill-down to message payload• Link to the Exceptions database of the ESB Toolkit• Easy AD authentication• Potential for addition of useful admin type functionality such as:
• Resubmit a previously received message into BizTalk• Trigger BizTalk process e.g. rather than wait for scheduled task adapter• Provide a friendly UI over cross reference database• Basic task management workflow functionality e.g. tasks created on ESB
exception
![Page 11: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/11.jpg)
Demo – Create the BAM Activity and Profile• Demo Existing “Simple” file type• Create new BAM Activity definition• Create new BAM Tracking Profile
![Page 12: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/12.jpg)
How the Views Access / Display the Data
![Page 13: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/13.jpg)
Example Razor View When Using MVC Pattern
Notice:ViewModel returned here
![Page 14: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/14.jpg)
![Page 15: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/15.jpg)
Example Razor View When Using MVVM Pattern
Notice:ViewModel not returned here
![Page 16: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/16.jpg)
Demo Adding New Process (Votes) to be Monitored• Would expect more code reuse (generics) but for purpose of demo –
LOTS of COPY & PASTE!
![Page 17: Create a modern(ish) BAM portal in (roughly) one hour!](https://reader035.vdocument.in/reader035/viewer/2022062905/586fd7911a28ab18428b52c7/html5/thumbnails/17.jpg)
Acknowledgments• BizTalk Message Archive Component• Randy Aldrich Pualo• http://biztalkarchiving.codeplex.com/
• KO Grid• Eric M. Barnard, Tim Sweet, Jonathan Ricaurte, Alan Souza• https://github.com/Knockout-Contrib/KoGrid
• Datatellblog.wordpress.com• Ross? • Great advice on using KoGrid