Reply To: How to update Index Info Fields using Scripting ?

#8269
Yuntao Yi
Participant

You can set it in OC. This is the code I used to set an Index Info called “JM_Reporting_Name”.

Index libor = session.getMarket().getIndex(“LIBOR.USD”);
DefinitionField indexInfoField = libor.getDefinitionField(“JM_Reporting_Name”);
indexInfoField.setValue(“Hello Yuntao”);
libor.save(EnumIdxStatus.Official);

Download PDF version

This field is for validation purposes and should be left unchanged.