AnsweredAssumed Answered

PDM_LIST tag with custom where

Question asked by yonatan1987 on Aug 22, 2016
Latest reply on Aug 23, 2016 by Lindsay_Estabrooks

Hello everyone,

 

I would like to know how i can use a variable or pass a value into a where clause in a PDM_LIST tag. I know that the pdm_list tag only accepts values from server variables, so if you have some example or you have an idea for me it will be great.

I'm trying to use "$args.assignee", but before i saved the ticket this variable is empty, so i've trying to use "document.main_form.elements["SET.assignee"].value", but I have not been able to use this value into the where clause.

 

An example what i'm trying to do:

var assignee= document.main_form.elements["SET.assignee"].value;

 

<PDM_LIST PREFIX=cnt_var WHERE="id = U'assignee'" FACTORY=cnt>

  alert("Enter to list");

</PDM_LIST>

 

Kind regards,

Yonatan Sosa Sanchez

Outcomes