Hi Venkat,
Such an export is not natively possible in Mendix. What you can do is prepare a helper entity "EnumValuesHelper"with one string attribute e.g. "caption". Then you can use the following code inside a java action to get all the captions for that paricular enum.
List<IMendixObject> res = new ArrayList<IMendixObject>();
for ( ENU_MyFirstEnum e : ENU_MyFirstEnum.getClass.values() ) {
EnumValuesHalper temp = new EnumValuesHalper(getContext());
temp.setCaption(e.getCaption());
res.add(temp.getMendixObject());
}
return res;
Finally you can include the EnumValueHelper objects the same way you would export any other entity.
Hope this helps,
Andrej