why Default view is not displaying in new record -incident record

chanikya
Kilo Sage

using with OnChange script -in a new record if   i have changed state value from NEW to CLOSED then form view was changed to ''state_closed''view   ----working fine, after updated   record ,

if we see in list of records       view is displaying as like "state_closed"

when i clicked on NEW button then "state_closed " view is reflecting on NEW record , As per new record view should be Default view

i want to display Default view when i click on NEW button

1 ACCEPTED SOLUTION

Try this view rule. Its working in my personal instance.



find_real_file.png


View solution in original post

17 REPLIES 17

Would you mind to mark my answer as correct so that it will be helpful to others


Yes...     Sure..!




Thanks Sunil...!


HarshTimes
Tera Guru

Hi Chanikya


Instead of setting the view in the client script. I will suggest to write a view rule to set the view.See the below link to understand how to create a view rule


- Create a view rule


I hope this will resolve the issue.



Harsh