Connector Framework Server 25.4
Connector Framework Server Help

# get_filename

The `get_filename` function returns the path of the file associated with a document.

## Syntax

    get_filename( doc )

## Arguments

Argument | Description
--- | ---
`doc` | (LuaDocument) The function returns the path of the file associated with this document.

## Returns

String. Returns the path and file name of the file associated with the document, or an empty string if there is no file associated with the document.

## Example

    local filename = get_filename(document);

Copyright 2025 Open Text
Version 25.4 | Last updated October 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 Connector Framework Server 25.4

Topic Title: get_filename