Forum Discussion
This is a great UD8 trick and will make data reconciliation between apps much easier. I have a question about multiple applications. I know typically people think of OneStream as having everything within one application seperated by cubes. Working on an application where Planning activities are quite different than existing consolidation activities and I am a bit weary of trying to jam it all into the existing Consolidation application. I am wondering if it would be easier to organize in a seperate application altogether so there would be a planning application and a consolidation application and the planning data would eventually be loaded into the Consolidation Application after it's approved. There are a number of reasons that lead me to entertain this idea one of which is performance and that we may only ever want to 'Aggregate/C#Aggregated' the data in Planning and 'Consolidate/C#Local' the data in the Consolidation application and we don't want it to get confusing with what data to use for the users. Other reasons relate to unrequired members and performance tuning that might not lend itself to combining apps and feels like I could be combining them for the sake of combining them. Is two applications a 'sanctioned' idea in OneStream? The OS Planning Book references the word 'Planning Application' from time to time and that suggests they could be referring to a seperate Planning application as opposed to just a seperate cube. Thoughts?
Mike
If you like to use it in an ud8, I would suggest, that you are storing the si of the other application in globals:
Dim otherAppName as string = "OtherApp"
Dim siName As String = "SI_" & otherAppName
Dim oSi As SessionInfo
SyncLock globals.LockObjectForInitialization
oSi = globals.GetObject(siName)
If oSi Is Nothing Then
Dim oar As New OpenAppResult
oSi = BRApi.Security.Authorization.CreateSessionInfoForAnotherApp(si, otherAppName, oar)
If oar = OpenAppResult.Success Then
globals.SetObject(siName, oSi)
else
brapi.ErrorLog.LogError(si, XFErrorLevel.Error, "Si creation failed")
End If
End If
End SyncLock
- miked3 years agoContributor
thx Christian. Will do. It's a great tool to compare data between 2 apps (like dev/uat). Will start to test out shortly. thx.
Related Content
- 3 months ago
- 8 months ago
- 4 years ago