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 and template

Former Member
0 Likes
1,171

Dear All,

Can we include code inside the templates of smart forms. If yes please let me know the procedure. I have been searching in the forum but was no able to get info. Kindly Help.

8 REPLIES 8
Read only

former_member53421
Discoverer
0 Likes
1,140

Yes you can include lines of code inside a template in a smartform using the following steps:

  • Right click on the designated template & choose Create.
  • Under Create option, select FlowLogic & decide on the code variant which is applicable for your case.
Read only

Former Member
0 Likes
1,140

Hi Adithya,

Yes we can include using the program lines.

Read only

0 Likes
1,140

Hi Adithya,

1.  Right Click on Template name. ( Context Menu will appear)

2.  Create (Sub Context Menu will appear )

3.  Flow Logic ( Again Sub Context Menu will appear )

4. Program Lines.

You can write the code in Program Lines.

Arun.

Read only

Former Member
0 Likes
1,140

Yes we can.

In one of your Window block (Pages and Windows) - Right Click - and after :

Create -> Flow Logic -> Program Lines.

Read only

gurunathkumar_dadamu
Active Contributor
0 Likes
1,140

Hi Adithya,

Yes we can include.follow the steps provided by Arun otherwise write the code in initialization tab itself. and just pass the variables here.

Regards,

Gurunath

Read only

Former Member
0 Likes
1,140

Hi Adhitya,

Including the code in template means, we can include the flow logic (program lines) above to the defined template and write the that we want (change the variable values etc), and display those values in template text elements. If the code is single time execution code then you can write the same code in Initialization.  If the template is placed with in the loop then we can include our flow logic in that loop and change the code/values accordingly and show in the template. There are the possible ways to include the flow logic. May I know what exactly you are looking for.

Read only

Former Member
0 Likes
1,140

inside Template

follow steps

1.Right Click - and after :

Create -> Flow Logic -> Program Lines.

2.inside program line

use include <program name>

Read only

0 Likes
1,140

hi,

create a template

Thanks and Regards,

buz_sap