how to call script include in argument from module and link type is list of record

manish64
Giga Guru

i tried to below ways

  • : javascript:scriptincludename().functionname();
  •  javascript: new scriptincludename().functionname();
  •  javascript: new scriptincludename().functionname();
  •  javascript: new functionname(); script include name is same name as function name
    javascript: functionname(); script include name is same name as function name

 

could anyone help on this 

 

1 ACCEPTED SOLUTION

manish64
Giga Guru

Solution is script include and function name should be same and be called javascript: functionname();

View solution in original post

18 REPLIES 18

Hello Manish,

If this has resolved your problem, kindly mark the comment as a correct answer so that the question is moved to the solved list and others looking for similar solution can be benefitted from this.

Hello Manish,

If this has resolved your problem, kindly mark the comment as a correct answer so that the question is moved to the solved list and others looking for similar solution can be benefitted from this.

Hello Manish,

Your initial question is to know how to call the SI from the module for which I have provided the solution. Could you kindly check and mark the appropriate comment as a correct answer and helpful.

Hi Manish,

It should be like this

I am sharing example of Out of the Box modules; that should help you understand

1) either call the script include in the filter for field

find_real_file.png

OR

2) use Arguments field to apply the script include for the field you want

-> Script Include should be client callable

find_real_file.png

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@manish 

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

Thanks!
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader