Skip to main content
Employee - Guide
Aug 12, 2026 8:12 AM UTC
Solved

Dynamic Member (from dynamic dimension) defined as "Is attribute member" ?

Dear community,

 

I have tried ridiculous ways to define a dynamic member as an “attribute member”, but it always fail.

I am refering to activating these configurations as shown below : 

 

The documentation does not mention this configuration for dynamic members, so I was wondering if someone tried this, or if it is even possible ?

 

Regards,

SergeyAnswer
Employee - Guide
Aug 12, 2026 10:34 AM UTC

The issue was related to assigning the attribute to members that were blank. When a member has no name it was not created, but it still tried to assign an attribute to it.

For the record, here’s the basic way to define these attributes (with dm being the dynamicMember created) in C# :

UDVMProperties p = dm.VaryingMemberProperties.GetUDProperties();
p.IsAttributeMember.SetStoredValue(true);
p.AttributeMemberSourceMember.SetStoredValue("MemberInThisUDWhereDataIsCurrentlyStored");
p.AttributeMemberExpressionType.SetStoredValue(/* expression type id */);
p.AttributeMemberRelatedDimType1.SetStoredValue(DimType.UD2.Id);
p.AttributeMemberPropType1.SetStoredValue(/* property type id */);
p.AttributeMemberComparisonText1.SetStoredValue("TextToCompareTo");
p.AttributeMemberOperatorType1.SetStoredValue(/* operator id */);

1 reply

SergeyEmployee - GuideAuthorAnswer
Employee - Guide
Aug 12, 2026 10:34 AM UTC

The issue was related to assigning the attribute to members that were blank. When a member has no name it was not created, but it still tried to assign an attribute to it.

For the record, here’s the basic way to define these attributes (with dm being the dynamicMember created) in C# :

UDVMProperties p = dm.VaryingMemberProperties.GetUDProperties();
p.IsAttributeMember.SetStoredValue(true);
p.AttributeMemberSourceMember.SetStoredValue("MemberInThisUDWhereDataIsCurrentlyStored");
p.AttributeMemberExpressionType.SetStoredValue(/* expression type id */);
p.AttributeMemberRelatedDimType1.SetStoredValue(DimType.UD2.Id);
p.AttributeMemberPropType1.SetStoredValue(/* property type id */);
p.AttributeMemberComparisonText1.SetStoredValue("TextToCompareTo");
p.AttributeMemberOperatorType1.SetStoredValue(/* operator id */);