On change client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 01:18 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 06:37 AM
@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.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 06:53 AM
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....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 07:31 AM
What's your code, please share
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 08:59 AM
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