Script include is not calling from Catalog client script.

Siddhesh Wani1
Tera Guru

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

SiddheshWani1_2-1704368622844.png

 

<Script Include>

    Name: KnowledgeAjax

    Application: Global

    Accessible from: All application scopes

    Client callable: True

    Active: True

    Protection policy: None

SiddheshWani1_1-1704368340199.png

 

1 ACCEPTED SOLUTION

Siddhesh Wani1
Tera Guru

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. 

View solution in original post

18 REPLIES 18

Michael George
Tera Guru

On line 5, is that a capital L in "KnowLedgeAjax"? Based on the code you supplied for the include itself, should it be "KnowledgeAjax"?

Siddhesh Gawade
Mega Sage
Mega Sage

Hello @Siddhesh Wani1 ,

 

You cannot extend KnowledgeAjaxSNC script include as it is not client collable script include. 

 

And as per my knowledge the OOTB are being extended in custom, I am not sure about, why this happening.

 

But, surely if you meaning to inherits all its properties and methods from KnowledgeAjaxSNC you need to duplicate this script include and make it client collable. Let me know.

 

Kindly mark the answer ✔️Correct or Helpful ✔️If it addresses your concern.


Regards,

Siddhesh

 

 

Hello @Siddhesh Wani1 ,

 

Does this resolved you issue ? If yes, It would be great if you mark my response as CORRECT or Helpful so that others can see this on top of the list and get benefited by this.

 

Thanks & Regards,

Siddhesh

Siddhesh Wani1
Tera Guru

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.