On change client

Tesy ALfon
Tera Contributor

Hello,I was facing issue with on change client script,it was not working as expected,previously few days back it works as expected but now it was not working 

4 REPLIES 4

Sujatha V M
Kilo Patron
Kilo Patron

@Tesy ALfon Could you please share the script and the use case of it?

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Sohail Khilji
Kilo Patron
Kilo Patron

check if there is any other client scirpt responsible. 

Play with the order of client scirpt.

Please share the script so we can lookinto it...


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Maddysunil
Kilo Sage

@Tesy ALfon 

What's your code, please share

Robbie
Kilo Patron
Kilo Patron

Hi @Tesy ALfon,

 

As others have asked, if you can share the script it will be easier to dissect and resolve.

 

Some general pointers at a high level, check the version history of the script. 

Viewing the versions allows you to see what was updated, when, and importantly compare versions on screen. This is extremely helpful. (See below steps to pull the Versions tab onto the Client Script fas it's not displayed by default)

 

Other points to check would be to check the data and make use of the alert() method within your script to help you debug.

Additionally, check for other Client Scripts and UI Policies that may be running and affecting it.

 

To display the versions tab if you haven't configured the form to view the versions, simply right-click at the top of the Client Script form and go to 'Configure >', then select 'Related Lists'.

This will open a new form where you can search for 'Versions' within the 'Available' (left-hand side) of the sluch bucket.  Simply move Versions to the right and 'Selected' side and hit save.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.

 

Thanks, Robbie