Workspace Assembly - Call functions from Finance or Connector business rules
Hi Everyone, has anyone already tried to reference a Workspace Assembly business rule from a Finance or a Connector business rule?
I have a business rule that is packaged to an Assembly in a Workspace:
It has a set of public functions returning dictionaries and other variables. And I would like these functions being called from a Connector.
I can successfully reference it from another Assembly workspace. But when I am using the same syntax in a connector, that is not working:
I am assuming the referenced Business rule must be declared in the Properties, but I am not sure of the syntax. Or even sure this is accepted.
Many thanks to anyone who can helps!
Assemblies are referenced by importing the namespace
Imports Workspace.__WsNamespacePrefix.__WsAssemblyName.DashboardExtender.TXM_Merger_SolutionHelper
Then to use it:
Dim merger_SolutionHelper as new TXM_Merger_SolutionHelper.MainClass
Also, don't use the implementation namespace (TXM_Merger_SolutionHelper) as a variable name. It will cause issues.
Thank you very much RobbSalzmann , I got this to work using a super simple test example. Hope this helps the other possible audience. I am running this on 8.1.
I created a new blank workspace, maintenance unit and assembly:
With a simple file to write something into the error log:
Then I created an Extender rule to execute this using the following properties:
When I run this...
...the message appears as expected 🙂