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

SMARTFORMS INPUT/OUTPUT PARAMETERS

Former Member
0 Likes
1,333

When using Smartforms is there a way to sort the INPUT and OUTPUT Parameters in the INITIALIZATION Tab?  I'm trying to clean up the code and I have blank fields in these Parameters and would like to have all my fields listed without having blanks inbetween my fields.

Example

Input Parameters                        Output Parameters

Field 1                                        _________

____________                             Field2     

Field 3                                        __________

Like to have fields listed with no blank lines, is only way just to re-enter?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
935

I found a way.

Smarform can be downloaded to xml, empty parameters can be deleted and then modified xml can be uploaded.

Before

After

Modify xml using notepad

Search

<item><OUTIN>I</OUTIN></item>

and replace with nothing.

Search

<item><OUTIN>O</OUTIN></item>

and replace with nothing.

The downloaded xml had this:


<GPLIST>

<item><OPD>A</OPD><OUTIN>I</OUTIN></item>

<item><OUTIN>I</OUTIN></item>

<item><OPD>C</OPD><OUTIN>I</OUTIN></item>

<item><OPD>B</OPD><OUTIN>I</OUTIN></item>

<item><OUTIN>O</OUTIN></item>

<item><OPD>E</OPD><OUTIN>O</OUTIN></item>

<item><OPD>F</OPD><OUTIN>O</OUTIN></item>

<item><OPD>D</OPD><OUTIN>O</OUTIN></item>

</GPLIST>

Item tags are for parameters. For empty parameters, OPD tag is missing.

Using a little bit of code, sorting of adjacent parameters can also be implemented.

3 REPLIES 3
Read only

sachin_yadav3
Active Participant
0 Likes
935

Hi,

I think is only way is to re-enter.

Cut and paste the fields in blank lines.

Regards

Sachin

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
935

Good question! This drives me nuts too but haven't seen any other solution than re-entering. Would be curious to find though if there is something else.

Read only

Former Member
0 Likes
936

I found a way.

Smarform can be downloaded to xml, empty parameters can be deleted and then modified xml can be uploaded.

Before

After

Modify xml using notepad

Search

<item><OUTIN>I</OUTIN></item>

and replace with nothing.

Search

<item><OUTIN>O</OUTIN></item>

and replace with nothing.

The downloaded xml had this:


<GPLIST>

<item><OPD>A</OPD><OUTIN>I</OUTIN></item>

<item><OUTIN>I</OUTIN></item>

<item><OPD>C</OPD><OUTIN>I</OUTIN></item>

<item><OPD>B</OPD><OUTIN>I</OUTIN></item>

<item><OUTIN>O</OUTIN></item>

<item><OPD>E</OPD><OUTIN>O</OUTIN></item>

<item><OPD>F</OPD><OUTIN>O</OUTIN></item>

<item><OPD>D</OPD><OUTIN>O</OUTIN></item>

</GPLIST>

Item tags are for parameters. For empty parameters, OPD tag is missing.

Using a little bit of code, sorting of adjacent parameters can also be implemented.