SharePoint OData Connector 25.1
SharePoint OData Connector Help

# Run a Lua Script using an Ingest Action

To run a Lua script on documents that are sent for ingestion, use an Ingest Action.

To run a Lua script using an Ingest Action

1. Open the connector’s configuration file.

2. Find one of the following sections in the configuration file:

   - To run a Lua script on all documents retrieved by a specific task, find the `[TaskName]` section.
   - To run a Lua script on all documents that are sent for ingestion, find the `[Ingestion]` section.

   NOTE: If you set the `IngestActions` parameter in a `[TaskName]` section, the connector does not run any `IngestActions` set in the `[Ingestion]` section for that task.

3. Use the `IngestActions` parameter to specify the path to your Lua script. For example:

       IngestActions=LUA:C:\Autonomy\myScript.lua

4. Save and close the configuration file.

Related Topics

- Write a Lua Script

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery SharePoint OData Connector 25.1

Topic Title: Run a Lua Script using an Ingest Action