Reslotions notes

nameisnani
Mega Sage

Hi Team , 

 

I have an requirement on the incident table that 'when ever we are resolving the incident in reslotion notes , placeholder or watermark should display . 

 

for this, I have written an onLoad client script on the incident table .

nameisnani_1-1730440697579.png

 

 

nameisnani_0-1730440624501.png

 

 

But the problem is here is , it is also reflecting on change , problem table as well . 

 

can anyone please provide me the updated script to avoid this issue .

 

It should only work on incident table .

 

 

nameisnani_2-1730440783019.png

 

 

Thanks in advance .

 

can anyone please provide me the solution for this . \

please attach screenshots fpr better understanding 

3 REPLIES 3

Najmuddin Mohd
Mega Sage

Hi @nameisnani ,

Can you try by adding,

if(g_form.getTableName() == 'incident') 
 then do the following.



If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.

@Najmuddin Mohd pleaase prvide complete script 

function onLoad(){

 if(g_form.getTableName() == 'incident'){

var field = g_form.getControl('close_notes');

field.placeholder = 'Below steps were followed to solve the Incident';

}


Regards,
Najmuddin.