- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 03:48 AM
The following are the set values:
<Catalog Client Scripts>
Applies to: A Catalog Item
Active: True
UI Type: All
Application: Global
Type: onChange
Applies on a Catalog Item view: True
<Script Include>
Name: KnowledgeAjax
Application: Global
Accessible from: All application scopes
Client callable: True
Active: True
Protection policy: None
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 01:24 AM
The issue is resolved. The ACL for the Client callable script include is not available, so we have to create the ACL with the same name as of Script include then it's working.
Thank for the solutions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 04:19 AM
Do you need to exted KnowledgeAjaxSNC? if not then replace this with AbstractAjaxProcessor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 04:26 AM
Yes We need that KnowledgeAjaxSNC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 03:54 AM
Hello @Siddhesh Wani1 ,
In client script at line no. 6 you are using sysparm_type to call function which is incorrect.
try this:
ga.addParam('sysparm_name', 'getRequestTypeOptions');
Kindly mark the answer ✔️Correct or Helpful ✔️If it addresses your concern.
Regards,
Siddhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 04:02 AM
The Line number 6 is replace with sysparm_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 04:14 AM
Hi @Siddhesh Wani1 ,
Can you please make 2 changes in the code.
1. instead of giving the script include name in Ajax call try with API name of the script include.
2. in line number 6 is replace sysparm_type with sysparm_name
and try to put the logs and alert messages and check where the code having issues.