Interactive CallBimlScript

Ben Weissman introduces a feature coming to BimlExpress:

So far, there wasn’t much you could do but either replicate a lot of logic, parse the XML returned, use countless annotations or have many many different versions of your callee.

All of these options aren’t too appealing, right?

But: help is here! In addition to the known CallBimlScript, you can now use: CallBimlScriptWithOutput! It allows you to make use of a dynamic object to be returned by the CallBimlScript (in addition to the Biml code) which effectively means: you can return any kind of information back to the caller.

I can see this being useful for debugging and for centralizing flow logic a little bit better.  Click through for a sample script.

Related Posts

BimlExpress 2017

Cathrine Wilhelmsen alerts us to a new version of BimlExpress: .net intellisense Wait, what? .NET intellisense? Does that mean C# and VB intellisense? You bet it does! Now, let’s start with a small disclaimer. The release notes say: “Added preview mode of .NET intellisense for early adopters”. That means that this feature is not available out of the […]

Read More

Option Explicit In Biml VB

Kevin Feasel

2017-07-05

Biml

Ben Weissman now has nothing to stop him from writing bad VB code in Biml: Previously, you had to declare any kind of variable and object type (instead of just using something like “var” in C#): 1 2 3 4 5 6 7 8 <#@template Language="VB" #> <Biml xmlns="http://schemas.varigence.com/biml.xsd"> <Packages> <# for n as integer […]

Read More

Leave a Reply

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

Categories

July 2017
MTWTFSS
« Jun  
 12
3456789
10111213141516
17181920212223
24252627282930
31