The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
Brooks
3 months agoNew Contributor III
Pull in Variables from another BR
I'm trying to call a helper BR that I wrote to pull in two variables to denote our environment, but I'm getting an error message saying the extender business rule.MainClass is undefined.
Background...
MarcusH
3 months agoValued Contributor
Would it be easier to get the environment name?
Dim xfenv As New XFEnvironment()
Dim appsettings As XFEnvironmentSettings = xfenv.GetAppServerConfigEnvironmentSettings()
Dim environmentName As String = appsettings.EnvironmentName
Brooks
3 months agoNew Contributor III
That would be much easier that two BRs, but I would have to break some of our data integrity rules when it comes to our test vs development applications. Our GL has three environments; OneStream only has two. Seeing this I thought about an IF statement that uses a combination of environment name and application name, but I'd have to parse the application name if I were to make this flexible enough to accommodate copying applications without having to rewrite all the BRs. It is an avenue worth considering.
Related Content
- 3 years ago
- 2 years ago