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
MK
3 years agoNew Contributor II
Onestream sdk
Hi Team, can we run or test the business rules or code snippets outside OneStream environment? Do we have any SDK's to setup and test locally?
Thanks
Manju
1 Reply
- OmkareshwarContributor
There is a solution for this in the latest people planning solution from OneStream
' To enable debugging
' 1). Set Solution Configuration to Debug in Visual Studio
' 2). Build the PLP_PV620_SV101.dll in the "Business Rules Assembly Folder"
' 3). Set BRDebugging = True
' 4). Upload BusinessRule to OneStream Client
' 5). Add XF\PLP_PV620_SV101.dll to "Reference Assemblies" in Business Rule
' 6). Set BRDebugging = False
'
' To disable debugging
' 1). Set BRDebugging = False
' 2). Upload BusinessRule to OneStream Client
' 3). Remove XF\PLP_PV620_SV101.dll from "Reference Assemblies" in Business Rule
' 4). Set Solution Configuration to Release#Const BRDebugging = False
#If BRDebugging ThenNamespace OneStream.BusinessRule.DashboardExtender.PLP_SolutionHelper
Public Class MainClass
Public Function Main(ByVal si As SessionInfo, ByVal globals As BRGlobals, ByVal api As Object, ByVal args As DashboardExtenderArgs) As Object
Try
Dim dbgHelper As New DashboardExtender.PLP_SolutionHelperDebug.MainClass
Return dbgHelper.Main(si, globals, api, args)
Catch ex As Exception
Throw ErrorHandler.LogWrite(si, New XFException(si, ex))
End Try
End Function
End Class
End Namespace#Else
#If DEBUG Then
Namespace OneStream.BusinessRule.DashboardExtender.PLP_SolutionHelperDebug
#Else
Namespace OneStream.BusinessRule.DashboardExtender.PLP_SolutionHelper
#End IfThanks,
Omkareshwar
Archetype Consulting
Related Content
- 2 years ago
- 4 months ago
- 9 months ago