OpenFast - adding length to NoRelatedSym field in MarketDataRequest message

Imported from previous forum

Hi All,

According to the FAST specification, I guess it is needed to assign length of the GroupValue to the NoRelatedSym sequence (Tag 146) in MarketDataRequest message. Relevant code snippet is attached below.

    Sequence relatedSymSequence = messageTemplate.getSequence("NoRelatedSym");
    SequenceValue relatedSymSequenceValue = new SequenceValue(relatedSymSequence);
    
    GroupValue relatedSymGroupValue = new GroupValue(relatedSymSequence.getGroup());
    relatedSymGroupValue.setString("Symbol", "CTC.N0000");
    relatedSymGroupValue.setString("ProductComplex", null);
    relatedSymGroupValue.setInteger("MDSubBookType", 1);
    relatedSymSequenceValue.add(relatedSymGroupValue);

    message.setFieldValue("NoRelatedSym", relatedSymSequenceValue);

But I could not find a method/ way of setting the value for NoRelatedSym - Tag 146 in OpenFast. Please advise.

Thanks in advance.