Solved
Forum Discussion
ChristianW
2 years agoValued Contributor
In version 8, most of the business rules will be located in the same namespace
Namespace Workspace.__WsNamespacePrefix.__WsAssemblyName
So to access classes within this namespace, just add
Imports Workspace.__WsNamespacePrefix.__WsAssemblyName
to the business rules / files that are not in this namespace
For example:
...
Imports Workspace.__WsNamespacePrefix.__WsAssemblyName
Namespace Workspace.__WsNamespacePrefix.__WsAssemblyName.BusinessRule.DashboardExtender.SolutionHelper
Public Class MainClass
...
This works as well in 7.4.x
So for all files, that are not of dashboard data set, dashboard extender, dashboard xfbr sting or Spreadsheet, business rules equivalent use this namespace.
ChristianW
2 years agoValued Contributor
For example, if you have a file for the class EntityList
Namespace Workspace.__WsNamespacePrefix.__WsAssemblyName
Public Class EntityList
...
End Class
End Namespace
you can do this
...
Imports Workspace.__WsNamespacePrefix.__WsAssemblyName
Namespace Workspace.__WsNamespacePrefix.__WsAssemblyName.BusinessRule.DashboardExtender.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 EntLstHelper As New EntityList()
...
Related Content
- 2 years ago