Why setDisplay() method is not working?

Ankita28
Giga Contributor

The below client script is for service portal in which setDisplay() method is not working.

Could anyone please help?

find_real_file.png

find_real_file.png

Thanks,

Ankita

11 REPLIES 11

Sagar Pagar
Tera Patron
Hello Ankita,

Please check other client scripts or UI policies working on the same fields.

 

Also, I would suggest better to go for UI policy with onLoad true, instead of client script.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

Willem
Giga Sage
Giga Sage

Hi Ankita,

Did this solve your question? Or do we need to follow-up on this?

Please mark this answer as correct if it solves your question. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,

Willem