How to auto populate the description and short description field in Task from RITM when new button is clicked? Also short description and description has to auto populate at the time of Task loading.

praveshgupta_pg
Tera Contributor

How to auto populate the description and short description field in Task from RITM when new button is clicked? Also short description and description has to auto populate at the time of Task loading.

1 ACCEPTED SOLUTION

You're welcome! You can mark my answer correct so that it changes your question to solved, if it helped.

View solution in original post

3 REPLIES 3

kristenankeny
Tera Guru

I'd add an onload client script to your catalog task table:

 

if (g_form.getValue('description') == '' and g_form.getValue('short_description') == ''){

var req = g_form.getReference('request_item');

g_form.setValue('description',req.description);

g_form.setValue('short_description',req.short_description);

}

Thank You Kristen, It worked for me.

You're welcome! You can mark my answer correct so that it changes your question to solved, if it helped.