We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to initialise TypedMemberElement for DimensionMember?

I am able to create DimensionMember with ExplicitMember using the following code:

Concept conceptDimension = schema.GetConceptByName(dimension);
Concept conceptExplicitMember = schema.GetConceptByName(explicitMember);
DimensionMember dimensionMember = new DimensionMember(conceptDimension, conceptExplicitMember);
ContextSenario contextScenario = new ContextSenario();
contextScenario.DimensionMemberList.Add(dimensionMember);
Context context = new Context(period, entity);
context.Scenario = contextScenario;

But I am not able to create one with TypedMemberElement. The following is what I am trying to genereate:

<xbrli:context id="fromto_20210808_20210809_AddressOfResidenceOfDirectorsMember_0001">
        <xbrli:entity>
          <xbrli:identifier scheme="https://www.ssm.com.my/">1234567-X</xbrli:identifier>
        </xbrli:entity>
        <xbrli:period>
          <xbrli:startDate>2021-08-08</xbrli:startDate>
          <xbrli:endDate>2021-08-09</xbrli:endDate>
        </xbrli:period>
        <xbrli:scenario>
          <xbrldi:explicitMember dimension="ssmt:ParticularsOfCompanyAxis">ssmt:AddressOfResidenceOfDirectorsMember</xbrldi:explicitMember>
          <xbrldi:typedMember dimension="ssmt:DirectorCountAxis">
            <ssmt:DirectorCount>0001</ssmt:DirectorCount>
          </xbrldi:typedMember>
        </xbrli:scenario>
      </xbrli:context>

Is there any sample codes on how to achieve the above? Thanks in advance.

@wallace.o,
We have noted your request and working over it. You will be notified here once any update is ready for sharing.

This requirement is logged as:
FINANCENET-87 - Sample code required to initialize TypedMemberElement for DimensionMember