1
0
-1

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?


    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      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

        CommentAdd your comment...
      1.  
        1
        0
        -1

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

          CommentAdd your comment...