Here is what I am trying to do
$locale = $sys.item.getProperty(‘rx:sys_lang’).String
$sqlResult = $rx.db.get(“RhythmyxData”, “Select LOCALEID from RXLOCALE where LANGUAGESTRING=”+$locale);
$sqlFirstRow = $sqlResult.get(0)
$row.LocaleId = $sqlFirstRow.get(‘LOCALEID’)
I get the following error while assembly
Unexpected exception while assembling one or more items: Problem when evaluating expression “$rx.db.get(“RhythmyxData”, “Select LOCALEID from RXLOCALE where LANGUAGESTRING=”+$locale);” for variable “$sqlResult”: Invalid column name ‘en’.
Why does it return just ‘en’ and not ‘en-us’?
Thanks
Pallavi