Make onload client script to visible on list view

maneesh3
Tera Contributor

Hi,

I have written an ONLOAD client script and that is working on a field in an form. So now the issue is that I cannot see the field values in the LIST view. How Can I achieve this. Is there any possibility to show those values in LIST view as well.

 

 

Thanks for the help!!!

 

1 ACCEPTED SOLUTION

Hi Maneesh,

After you save the form, the value should be visible in list view as well.

But I will recommend using a Before Insert Business Rule so that the field will get updated at the time of creation of the record and it will be visible both on form as well as list. In that case you don't need a client script. Let me know if you need any help.

 

Mark correct or helpful if that does the needful.

View solution in original post

8 REPLIES 8

SaiRaviKiran Ak
Giga Guru

After you save the form the values should be visible in list view also.

Try  g_form.save();  in your OnLoad script.

If it is on catalog task form use gsftSubmit(gel('sysverb_update_and_stay'));

manoj6699
Giga Contributor

Hi Maneesh,

Onload client scripts will only run on form level and the value populated through onload client script will not be added in to database due to which you will not be able to see the values in list layout Instead of using onload client script for populating the value based on conditions, use advance reference qualifier in the field or use dynamic default value options which will solve the issue.

 

Mark Answered if helpful.

Thanks,

Manoj.

Hi Manoj,

 

Sure I will give a try on this method. Can you please help in that code for Dynamic default value. Thanks for the kind help!!

 

 

Thanks