In Client Script If Global is selected the script applies to all Views. what does a view mean and what to specify if global is not selected ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2019 09:00 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2019 09:30 PM
you have to mention the particular view name in the "View" field.
to get the view name you can validate in system UI >> views >> and there you can get the view name which you want to run your client script on specific to the view.
Example: currently your client script is running on the table "Needit" , if you will set "Global" check box then this client script will run for all the view which has used for "needit" table. BUT if you unchecked the "Global" check box and mention any of the view ("Make sure those view has been created on "Needit" table ) then your client script will run on specific on that view.
Scenario : you have opened your form on "Default" view and in your client script has mentioned for "self service view" then here your client script will not run for default view , it will only execute for "Self Service" view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2019 10:23 PM
Hi,
You need to be aware to of View Management. Just a brief, there are different views for a same table/form( ex. to show different views to different users).
You can use client script to apply on specific views. Let me know if you have any questions.
Please mark this comment as Helpful/Correct answer if it helped you.
Cheers,
Hardit Singh