Forum Discussion
Hi, "DimTypeId.Account" does work but we thought of keeping it as dynamic.
There may be ways in your code to make this dynamic, but just with the (metadata) member name alone, it will not be possible. As the same name may exist in different dimension types, the system would not know which one the rule is referring to.
- GaneshJ1 year agoNew Contributor II
Got it, Thank You!!
- rhankey1 year agoContributor III
You could cycle through each of the DimType's looking for the member name. In many instances, that would narrow it down to a single DimType. Worst case, you could at least prompt the user for a list of DimType's the member is actually in. At the end of the day though, you are attempting to buck how OS is designed. Member names have to be unique within a DimType, but it is perfectly acceptable to reuse member names across DimType's (eg None, Root, Top, Unassigned)
- GaneshJ1 year agoNew Contributor II
Thank You!!