How concatenate list column fields to a display field for a popup select box

Confluence User - 06 Feb, 2024

I would like to concatenate three fields to one display field in a popup select box. I'm not experienced with beanschell scripting and hash variables.

datalists;beanshell;javascript;hashvariable

4


06 Feb, 2024
confluenceUser
confluenceUser

You can use SQL script to do that

E.g

Concat script
SELECT t.id, CONCAT(t.firstname, ' ', t.lastname)FROM table1 t


06 Feb, 2024
confluenceUser
confluenceUser

Thank you. Where do I place that script? In the beanshell of the new displayfield in de list?

Sorry I'm not that experienced

06 Feb, 2024
confluenceUser
confluenceUser

Can you advise where to place this?

07 Feb, 2024
confluenceUser
confluenceUser

You can use SQL query to load the selectbox

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print