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

Issue in smartform

Former Member
0 Likes
7,768

Hi All,

When i m selecting 7.00 which is shown in attached screen it gives error.

But when i selecting 2.00 instead of 7.00 it didnt give any error.

Can u please suggest needful???

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
6,444

HI All,

Many thanks for U R replay...

As many of u suggest change the Width of template to 7.00 cm ... when i changes like that ... it it gives another error... Please find attached.. please suggest needful

Hi All,

When i m selecting 7.00 which is shown in attached screen it gives error.

But when i selecting 2.00 instead of 7.00 it didnt give any error.

Can u please suggest needful???

Thanks

15 REPLIES 15
Read only

Former Member
0 Likes
6,444

When i m selecting any value greater than 2.00 for L3 row shown in screen it gives the same error.

also one Q, if it gives error for L3 then y not for L1 also???

Read only

0 Likes
6,444

Hi Nikita,

If you are selecting any value > 2 for L3 row, increase 'Total table width' also correspondingly.

It gives error for L3 only now (as it is the last line type defined)

Once you correct L3 and activate, you will get similar error for L2 and L1 also

Regards,

Nisha Vengal.

Read only

Former Member
0 Likes
6,444

The width of your template is set to 2cm (up by the table painter button)... Change it to 7cm.

Read only

SimonRotherham
Explorer
0 Likes
6,444

Hi Nikita

I've managed to replicate your issue on one of our development systems.  It appears that only the last line of the template  lines are validated for width.  This might be a known technical issue within Smartforms (I haven't looked for an OSS note) All your lines should error as the width of the template is 2cm.  If you remove the L3 line, the smartform will then error on L2.

The resolution is either to increase your template width to 7cm or reduce your line widths to 2 cm.

Read only

Former Member
0 Likes
6,444

Hi Nikita,

In your example,

Width of line type L3 = 7cm

Total table width = 2cm (value in 'Width'  to left of 'Table Painter' button)

Suppose you are defining 2 columns of 1cm each, you will be specifying as

Cell/Column 1;    Unit;      Cell/Column 2;   Unit

1                          cm        1                         cm

'Width of line type' would be 1cm+1cm = 2cm

Since there is only 1 column, it should be specified as

Cell/Column 1; Unit

2                       cm

'Total table width' always remain the same as you specified.

You will have to manually change it if you need to increase it.

Incase you need to fit a wider text, increase 'Total table width' to 7cm

Cell specification can remain as is.

Cell/Column 1;     Unit

7                           cm

'Width of line type' = Sum of Width of individual cells/columns

And it should be always equal to 'Total table width'

Regards,

Nisha Vengal.

Read only

venkateswaran_k
Active Contributor
0 Likes
6,444

Hi Nikita

Based on your screenshot,  you have defined the width of your template as 2.00 CM only

So, this will not allow you more than 2.00 CM ...

Regards,

Venkat

Read only

arindam_m
Active Contributor
0 Likes
6,444

Hi,

The template resides in the bounds of the total width of the template. In the template layout the lines cannot exceed the total width which is 2cm in your case to accommodate the 7 cm line type you must increase the width to 7 cm.

Cheers,

Arindam

Read only

Former Member
0 Likes
6,444

Hi,

Plz increase size of the width to 7.

Regards,

Ravi Shankar L

Read only

former_member209120
Active Contributor
0 Likes
6,444

Hi Nikita,

Simple, just change width as 7.00 CM instead of 2.00 CM.

Regards,

Ramesh.T

Read only

Former Member
0 Likes
6,445

HI All,

Many thanks for U R replay...

As many of u suggest change the Width of template to 7.00 cm ... when i changes like that ... it it gives another error... Please find attached.. please suggest needful

Read only

0 Likes
6,443

Hi,

Just trying to explain the error. See the Page has windows (Window height and width visible in the layout editor and also when you see the windows node). Now the thumb rule is

Windows cannot be wider or longer than pages.

The templates resides in a particular window. Again the rule is Template (in your case 7 cm ) or tables width  cannot be bigger that windows width as it has to fit in the window.

Finally the lines length and height wise in the template cannot be bigger than the template as then it would not fit into it. So, going by this understanding please increase your window width so that its more or equal to template width but be careful that it should not exceed the page width.

Hope this helps to get an idea of what's gone wrong.

Cheers,

Arindam

Read only

0 Likes
6,443

Double click on "CADDRESS" and go to "Output Options" tab - there increase window width to minimum 7 cm.

Regards,

KS

Read only

0 Likes
6,442

nitika,

try to understand the basic concept.

Tempelate is placed inside a window,

So, Window height must be graeter than Tempelate height.

Window height> tempelate height.

Firslty,

u should change the height of L1 >> from 5.00 CM to 5.00MM.

your total tempelate height = 5.00 +5.00+5.00 = 15 MM.

your window height should be >= 15 MM or 1.5 CM.

in this screen-shot i have shown where to change window height.

Revert back if u still feel any confusion

One more thing, in your screen-shot u can see i have marked your window CADD,

u should drag it and increase its height (atleast 1.5cm or more than that).

Drag it from bottom right corner (as shown) to increase its size .

or u can place it somewhere, but remember its size must be greater than

ur template size i.e 15MM.


Read only

0 Likes
6,440

Hi Nikita,

Increase Width of Main Window as 7.00 CM your problem will be solved.

and maintain all in CM instead of MM

Regards,

Ramesh.T

Read only

RaymondGiuseppi
Active Contributor
0 Likes
6,440

Basically every element must be smaller or equal in width to their master node, so line width ≤

template width ≤ window width ≤ page width.

Also did you know that smartform can handle standard This graphic is explained in the accompanying textAddress nodes.

Regards,

Raymond