Posted Fri, 25 Jan 2019 02:32:34 GMT by

I found one blog that said I should add a variable to the ScriptComponentProject Name, so I tried:

<ScriptComponentProject Name="SC_LookupDimRange_<#=ScriptCounter#>" >

And I declared the variable in the environment file which is tier= 1 while ScriptProject.biml is tier= 2 However it wont compile, complaining that it doesn't know what the variable is in that context. Can anybody help?

Posted Sat, 11 May 2019 03:49:35 GMT by jacob alley

Can you either post a minimal reproduction case or send one to support@varigence.com ?

Posted Sat, 11 May 2019 03:49:36 GMT by

I have a working solution, big shout out to Brian Bonk for the assist. The working solution is to put each scriptcomponent into a separate biml file. Then simply use it doing:

<ScriptComponentTransformation Name="<Any unique name>" >
<#@ include file = "SC_Lookup"#>
</ScriptComponentTransformation>

You must be signed in to post in this forum.