AnsweredAssumed Answered

Alteration of LIST_CNT via Web Screen Painter

Question asked by jordanreich on Aug 3, 2017
Latest reply on Aug 4, 2017 by Maheshwar_Kusuma

Hi there,

 

Question... 

 

Right now when you look up information in the system. So let's say I make a search for the first name John and the last name Doe. And there happens to be three of them in the system. The first two have an active status and the third entry has an inactive status. 

 

What I would like to do is write a <PDM IF> statement (or similar) to alter what is displayed based upon the status of the individual... so for example...

 

<PDM_IF "$args.status" = "0">
<PDM_MACRO name=lsCol hdr="Name" attr=combo_name exportFmt=ShowLink link=yes>
</PDM_IF>

 

and...

 

<PDM_IF "$args.status" = "1">
<PDM_MACRO name=lsCol hdr="Name" attr=combo_name exportFmt=ShowLink>
</PDM_IF>

 

Assuming variables of 0 and 1 for true and false for active and inactive statements. This should be possible I would think assuming the syntax is presented correctly. 

 

Any thoughts? 

 

Thanks!

Outcomes