cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic image in smarform

Former Member
0 Kudos

Hello All,

I am trying to display an image in background based on some condition. so i am passing image name dyanamically.

when condition is true, it is disaplying image---->working fine

when condition is false i am not passing any image name. it is giving formatting error -> actaully the page should be displayed with out background image

how to achieve this

Thank you,

Best Regards,

Amarender Reddy B

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Try to give the same condition on Window in condition tab of the window instead of giving condition on text node Image.

Rgds,

Pavan

Former Member
0 Kudos

Or just put an if condition before the image ( if name <> SPACE), if you have more elements than this image in the window.

Regards,

George

Former Member
0 Kudos

Hi Amarender,

I think we cannot give any conditions on the printing Background picture for a page.

And in your scenario, When the condition is false, since there is no valid name you are getting the format error.

Instead of this, try creating another new smartform with background picture and in the print program check the condition as per your requirement. If condition us true call the old smartform or else if the consition is false call the new smartform.

Hope this solves your problem.

Regards,

Dinakar.