- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2023 05:13 AM
Hi,
I have translated all choices in Chinese language. In record producer, I am referring choice table for a variable choice (variable type - lookup select box) but on the Employee Service Center both English and Chinese choices are coming in the field.
But when I am looking in table view and creating new record only Chinese are showing.
Don't know why this is happening, is there any restriction on platform and portal view?
PFA snap for the same.
Thanks in advance!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2023 06:36 PM
That (Priority working) is be because that Select Box variable is configured to "copy" the choices from a table field configured with choices.
However as far as I can tell, you need to filter choices based on what is selected in another variable/question (Case type).
That is only possible using reference qualifier.
Adding the language filter should be working for you - I can successfully reproduce it/make it work.
However the reference qualifier must start with keyword/token javascript: - this being the case is not obvious from what you have posted.
Like below:
javascript: 'name=sn_spend_psd_procurement_request^element=u_type^dependent_value=' + current.variables.case_type + '^language=' + gs.getUser().getLanguage();
Also you must add a variable attribute to the Lookup Select Box:
ref_qual_elements=case_type
Otherwise the reference qualifier is only applied on load.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2023 12:37 AM - edited 03-06-2023 12:38 AM
Community automatic adding : after javascript.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2023 12:57 AM
You're welcome 🙂 Also glad it works.