For the last weeks, I have been preparing my demos for BizTalk Innovation day in Norway and Italy that will occur during September and October where I will talk about BizTalk Mapping Patterns and Best Practices. Functoids will definitely be one of the topics that I will discuss and the reason I published a new release of this project was the need for this new functoid for one of my labs.
Sometimes the functoids I create are inspired in real scenarios for the need of my clients, others requested by community members and sometimes for playing like this one… but always if I think for some reason that they will be useful in real scenarios. But regardless of the reasons, I am very glad that this project is constantly evolving and have already 23 functoids!
BizTalk Mapper Extensions UtilityPack is a set of libraries with several useful functoids to include and use it in a map, which will provide an extension of BizTalk Mapper capabilities. This is the list of previous functoids available:
What’s new in this version?
In the BizTalk Business Rules Engine, you can define a vocabulary which is essentially parameters which can be used within the execution of a rules policy. These vocabularies can be accessed from C# code so the idea here is that you could define constants in a vocabulary which you could deploy to the BRE which you would then access from a helper class to get your configuration data.
Rule Engine Config Get Functoid
This functoid allows you to obtain a definition value from a Vocabulary in the Business Rules Engine.
The functoid takes one mandatory input parameters:
- A string that represents the definition name (e.g. Value1).
- A string that represents the vocabulary name (i.e. Config).
The output of the functoid is a string with the value of the definition name from a specify vocabulary on the Business Rule Engine: “Set dynamic constant using Business Rule Engine”
You can find the advantages and disadvantages of storing configurations in a Vocabulary in the Rules Engine in this post from Michael Stephenson: Where do I store my custom configuration for a BizTalk solution
You can download Source Code and Application Binaries here:
BizTalk Mapper Extensions UtilityPack