Posted Thu, 24 Jan 2019 21:32:34 GMT by jon

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 Fri, 10 May 2019 23:49:35 GMT by jacob alley

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

Posted Fri, 10 May 2019 23:49:36 GMT by jon

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.