I would like to use eval condition in loop block without else section. - Forum - Rollbase - Progress Community

I would like to use eval condition in loop block without else section.

 Forum

I would like to use eval condition in loop block without else section.

This question is not answered

Hi ! 

      IN Rollbase Private Cloud V 4.0.6.3 .I have a serious question. I try to Eval block condition in word document template but i found problem about next-line and empty value in loop block. I would like to use condition eval without else condition in formula , is it possible? OK! I have example code see below.

Example Code:
----------

{!#LOOP_BEGIN.all#7311854(100)}
#EVAL[{!AA_SPCo_Used#value}==true ? "{!AA_SPCo.AA_SPCo_logo}" : ""] << empty value in else condition
{!#LOOP_END.all}

PS.I used this code for display Logo image in word document template.

Thanks in advice!!
Boy

All Replies
  • Hi Tana,

    Could you try below one?

    #EVAL[

    if('{!AA_SPCo_Used#value}'==true)

    {

    "{!AA_SPCo.AA_SPCo_logo}";

    }

    ]

    Regards,

    Shiva