Getting an error when calling an assemblies from DM step
I have an Assembly which is compiling without errors. The Assembly type is DashboardStringFunction. I called the assembly from DM step in the Time Filter:
XFBR(Worspace.PS_Allocation_Rules.PS_Allocation.PS_XFBR_Allocation, MultiSelectTime, Allocation_MonthsToCopy=[|!Allocation_MonthsToCopy!|])
When I execute the step, I am getting below error:
Error processing Data Management Step 'Allocations_AllAccountBkt_Step'. Invalid parameter. Time Filter, #ERROR: XFBR[Worspace.PS_Allocation_Rules.PS_Allocation.PS_XFBR_Allocation, MultiSelectTime, Allocation_MonthsToCopy=[2023]].
I am calling the function as per the reference material:
XFBR(Workspace.WorkspaceName.AssemblyName.FileName, FunctionName)
Appreciate your inputs
Works for me on version 8.4.
Make sure your function returns a string starting with T# (because it's a Filter). Maybe test it on a dummy cubeview first, to verify it actually returns what you expect (the Workspace might have to be set to Shareable for that to work).