Skip to main content
September 1, 2025
Solved

How to call a workspace assembly service from another workspace assembly service ?

  • September 1, 2025
  • 1 reply
  • 0 views

Dear community,

One of my use case is to create a function that I would commonly use in any other workspace. I haven't seen a community message about it, and the documentations does not specify how to do so, so here's the use case :

I have a Workspace A (name:  WorkspaceA), with an assembly named WA_Assembly, and in it are my services & functions that I want to reference and use.

I have a Workspace B, where I need to call the functions from Workspace A.

SOLUTION : Create a new dependency in Workspace B :

  • Dependency Type : "Workspace Assembly"
  • Shared Workspace Name : WorkspaceA
  • Dependency Name : WA_Assembly

Then, in a given Workspace B service, use Imports Workspace.WorkspaceA.WA_Assembly (vb.net) or using Workspace.WorkspaceA.WA_Assembly (C#) for referencing the Shared Public Functions. Then you will be able to use these functions in another workspace !

Just adding this message for future references :)



 

Best answer by JackLacava

Just remember that Workspace A must have "Is Shareable Workspace" set to True...

1 reply

September 2, 2025

Just remember that Workspace A must have "Is Shareable Workspace" set to True...