Posted Fri, 19 Mar 2021 18:56:28 GMT by
How to add multiple parameters?     
Posted Sat, 20 Mar 2021 00:32:00 GMT by
You can add as many parameters to the expression as you want, and simply add more calls to your Project settings. Let's say you wanted to parameterize both DataSource AND initial catalog in your Connection String you would do something like this:

<Expression ExternalProperty="ConnectionString">"Data Source=" + @[$Project::ServerName] +";Initial Catalog=" + @[$Project::InitialCatalog] +";Integrated Security=True;" </Expression>

Where "InitialCatalog" and "ServerName" are the property names that you wish to pass in.
Posted Sat, 20 Mar 2021 00:55:21 GMT by
I can add multiple Expressions for each parameters but what values should we input in the target, if I have multiple project parameters?
Posted Mon, 22 Mar 2021 23:18:43 GMT by
<#@ extension bundle="BimlFlex.bimlb" extensionpoint="ConnectionExpression" target="" #>
<#@ property name="connection" type="BimlFlexModelWrapper.ConnectionsWrapper" #>
You need to create Connection Expression.biml for each Project Parameters.

You must be signed in to post in this forum.