Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

I need to Create a Form Template with some Fields .

Deepak92
Tera Contributor

I need to Create a form template that anyone can use to apply the necessary field values specific to non-disclosure agreement contracts. Name the form template 'Create NDA Contract' and have it set the following fields:

 Contract model: NDA
 Contract administrator: Karla Ken
 Approver: Bud Richman
 Options: 1 Year

 

 

1 ACCEPTED SOLUTION

Apeksha Joshi
Kilo Guru

Hi Deepak ,

you can create a template for any table , cutome table on servicenow just follow these steps:

1) navigate to template in app navigator 

find_real_file.png

2) create new template

3) select the table on which you want to create template

find_real_file.png

4) then choose the fields and fill the values in that

find_real_file.png

5)on your form got to more options on the right side in header , click on 'toggle template bar' , and you will see all the templates , select your template . it will get applied to the field values you have filled in template.

 

if my answer helped you in any way mark it as correct and helpful !

regards ,

Apeksha

View solution in original post

6 REPLIES 6

Apeksha Joshi
Kilo Guru

Hi Deepak ,

you can create a template for any table , cutome table on servicenow just follow these steps:

1) navigate to template in app navigator 

find_real_file.png

2) create new template

3) select the table on which you want to create template

find_real_file.png

4) then choose the fields and fill the values in that

find_real_file.png

5)on your form got to more options on the right side in header , click on 'toggle template bar' , and you will see all the templates , select your template . it will get applied to the field values you have filled in template.

 

if my answer helped you in any way mark it as correct and helpful !

regards ,

Apeksha

Hi deepak ,

if my answer helped you then please mark it as correct & helpful so that this thread will be closed and it will help other people who are looking for similar solution.

regards,

apeksha

Kunal Varkhede
Tera Guru

Hi,

 

I want to add one more point if you want apply template dynamically base on some condition.

var rec1 = new GlideRecord("incident");
rec1.initialize();
if(<your condition>)
{
rec1.applyTemplate("template_name");
}

 

Please Mark Correct/Helpful answer if it help you in any way.

Thanks and Regards,

Kunal.

Sagar Pagar
Tera Patron

Hi Deepak,

 

 

I have another simplest way to create a template. Just navigate to ast_contract table. create a new record and click on Toggle template bar icon.

find_real_file.png

 

Then need to click on create a new template at bottom. Fill the required fields and submit.

find_real_file.png

 

Regards,

Sagar Pagar

The world works with ServiceNow