Forum Discussion

marcobobbiesi's avatar
marcobobbiesi
New Contributor III
2 years ago

How to call a function in Workspace assemblies?

Hi guys, I coudn't find the proper hint in OneStream. In my dashboards, I'm using several XFBR string rules or Dashboard extender rules. I would like to move some of them to Workspace assemblies, a...
  • hiren's avatar
    2 years ago

    Use the following syntax instead of just RuleName,
    Workspace.<WorkspaceName>.<AssembleName>.<RuleName>

    Example- 

     

    XFBR(Workspace.MyWorkspace.MyAssembly.ParamHelper, CleanUsername) 

     

  • SStalker's avatar
    SStalker
    2 years ago

     

    Try this:   XFBR(Workspace.Current.MyAssembly.FileName, FunctionName)