how to use {id} in a beanshell script datalist action?

Confluence User - 02 Nov, 2021

In Joget DX enterprise, there are two special plugins for datalist actions called jdbc action and bean shell script.

in jdbc, there is a way selecting target item using "where id = {id} "
but how can I use similar things in a sql prepareStatement in my bean shell script for datalist action?


datalists;beanshell;jdbcbinder

2


03 Nov, 2021
confluenceUser
confluenceUser

Hi, if you are using the Bean Shell Action, then there are some injected variables like IDs as stated in Bean Shell Programming Guide#UseasDatalistAction

18 Nov, 2021
confluenceUser
confluenceUser

Thanks a lot. I found a formrowset with the primaryKey which is now used as my solution.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print