Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multiple Logos in single smartform..

Former Member
0 Likes
1,120

Hi,

Is it possible to have multiple logos in single smartform?.

the requirement is, based on the company code logo needs to be display dynamically

please give me some hints.

thanks,

john.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
579

In the graphic node you can use the conditions tab to decide whether to print the graphic or not based on the company code.

Or, in your print program you can set the name of the graphic into a variable based on the company code. Then pass this variable to the smartform and use it in the graphic node.

3 REPLIES 3
Read only

Former Member
0 Likes
580

In the graphic node you can use the conditions tab to decide whether to print the graphic or not based on the company code.

Or, in your print program you can set the name of the graphic into a variable based on the company code. Then pass this variable to the smartform and use it in the graphic node.

Read only

Former Member
0 Likes
579

Hi John,

In the Graphic Window, you will have <b>Conditions tab</b> click that one, you will find the output conditions, there give the field name, Relational operator and the Value of that field, so if the condition is satisfied then only the Logo will be appear in the output,

Thanks

Sudheer

Read only

Former Member
0 Likes
579

Hi,

For the logo to be dynamic, in Genaral attributes of the Graphics, give the logo name as a place holder(eg: &W_LOGO&) instead of a static name and select this field as "Dynamic value". Just before calling the Graphics node, have a program lines node and here pass the desired logo(eg: LOGO1) you need to W_LOGO based on the validation(i.e., based on the Company code).

Define W_LOGO in Global definitions and pass this in both Input and Output parameters of the Program lines.

When the smartform processes this code, it assigns the logo name(LOGO1) to the variable W_LOGO. When it comes to Graphics node, it replaces &W_LOGO& with LOGO1 and the logo is printed.

Easiest way is to put an IF condition to print logo based on the Company code.

Hope this helps

Thanks

Vamsi