Skip to main content
Nintex Community Menu Bar
Question

Set List Lookup "List Column Name" using Javascript

  • January 30, 2024
  • 2 replies
  • 79 views

Forum|alt.badge.img+1

Hi,

I have a list lookup that I need to look at one of two columns depending on what the interface language is of the user.  I can get that interface language using:

var lcid =_spPageContextInfo.currentLanguage;

which results in 1033 for English and 1036 for French.

I’d like the list lookup to check a column named “Summary” if it’s English and a column named “SummaryFR” if it’s French.  However the list lookup control does not allow variables to be used as part of the expression.

I looked at Javascript to set that column, but I cannot seem to find the right property to put the value into.

Thanks

2 replies

MegaJerk
Forum|alt.badge.img+14
  • Scholar
  • January 31, 2024

Are you using Classic Forms or something else? 


Forum|alt.badge.img+1
  • Author
  • Novice
  • January 31, 2024

Are you using Classic Forms or something else? 

Good morning, Classic, on-premise 2019.  I’ve been inspecting the controls properties to see if I can find the right property, but no luck so far.