Hi Experts,
I have checked the forum and could not find any questions related to this. Hence posting it.
I have the below impex export.
"#% impex.setTargetFile( ""language.csv"", true, 1, -1 );" INSERT_UPDATE Language;active;fallbackLanguages(isocode);isocode[unique=true] "#% impex.exportItems( ""Language"" , true );"
Please note the fallbackLanguages attribute in the above impex. This is an OOTB attribute and is of type LanguageList. This exports successfully. The values after the export would be something like en,fr.
But, when I reference a collection type from an attribute, like in the impex export below,
"#% impex.setTargetFile( ""custlanguage.csv"", true, 1, -1 );" INSERT_UPDATE Customer;uid[unique=true];sessionLanguage(fallbackLanguages(isocode)) "#% impex.exportItems( ""Customer"" , true );"
it is throwing an exception as below.
de.hybris.platform.impex.jalo.ImpExException: line 3 at main script: cannot reference type Language via attribute Language.fallbackLanguages since attribute type LanguageList is not supported[HY-0] at de.hybris.platform.impex.jalo.exp.Exporter.export(Exporter.java:186)
It is either this is not supported or I do not know the way to do it. Any help would be highly appreciated.