Web Connector 23.4

# Custom Script Parameters

The parameters in this section can be used to run custom JavaScript on a page, before the page is ingested.

You can set these parameters in the TaskName section. For example:

    [MyTask]
    Url=http://www.hpe.com
    ...
    CustomJSUrlRegex=http://www\.hpe\.com/folder/.*
    CustomJSScriptPath=javascript/my_script_0.js

Alternatively, use the parameter CustomJSSections to list the names of configuration sections that contain settings for running custom JavaScript. For example:

    [MyTask]
    Url=http://www.hpe.com
    ...
    CustomJSSections=CustomJS0,CustomJS1

    [CustomJS0]
    CustomJSUrlRegex=http://www\.hpe\.com/folder/.*
    CustomJSScriptPath=javascript/my_script_0.js

    [CustomJS1]
    CustomJSUrlRegex=.*
    CustomJSScriptPath=javascript/my_script_1.js

Copyright 2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Web Connector 23.4

Topic Title: Custom Script Parameters