}APQ.Dim.ControlDimensionCopies.Update failed with missing dimension error
We are facing an issue Apliqo Framework where the process }APQ.Dim.ControlDimensionCopies.Update always fails with error that element is missing in “}APQ Dimensions” while the physical dimension exists.
Error: Epilog procedure line (113): Invalid key: Dimension Name: "}APQ Dimensions", Element Name (Key): "}Hierarchies_T Date"
When we added the dimension name manually the “}APQ Dimensions” it was deleted again in the same process }APQ.Dim.ControlDimensionCopies.Update.
The dimension is a TM1 control dimension named “}Hierarchies_T Date” and it is has attributes values as below screenshot
Comments (4)
-
-
reporter Hi Scott,
I really appreciate your prompt reply,
Thanks Scott.
-
Hi Muhammad,
I tried to replicate this by adding attributes to a }Hierarchies_ dimension but there’s no error. I suspect you are using an out of date framework, therefore fix for your issue = upgrade to latest framework version.
-
- changed status to resolved
Not UX issue.
Upgrade framework.
- Log in to comment
Hi Muhammad,
Framework issues shoudl be reported here https://trello.com/b/Ovxgeay4/apliqode-framework-bug-board I will create a card there to skip this error
However, I can answer your question. The Framework catalogs only real dimensions in }APQ Dimensions. All hierarchies are listed as children of the parent dimension in }APQ Dimension Hierarchies. There isn’t an allowance made for adding custom attributes to }Hierarchies_ dimensions since the framework skips these opjects when cataloging dimensions.
I assume that you are using the }Hierarchies_T Date dimension as a filter in Apliqo UX to drive the hierarchy and member selection in T Date in a widget on rows or columns and you want to display a caption not the technical name for the hierarchy? Until you have a version of the framework which skips this error I would suggest just creating a custom dimension for this purpose.