Knowledge Base Article
Thanks a lot for this article. Since I'm new to OS, these "pills" are very useful.
I have a question. The logic of reuse "Custom Control"s must live under the same Workspace or there's something I'm missing ? I'm not able to (re)use a Custom Control from a Shareable Workspace, is it ?
Hi FabioG
I spent some time looking at this and I can confirm we can share Custom Control templates between different workspaces, please see example below leveraged from blog example.
To call the Dashboard we can use WsCustomControl.CustomControl_Button.
If you want to do this, you need to refer to code that exists in original source workspace assembly. This means you cannot call the current workspace assembly when invoking custom control logic from a shared workspace. It can only refer to the assembly in the source workspace that you are calling the custom control template from e.g. {Workspace.WsCustomControl.Code.ListenerExtender}{ShowMessage}{}
Hope this helps
Sam