TeamBinder Connector 12.13

# General Functions

Function | Description
--- | ---
abs_path | Returns the supplied path as an absolute path.
base64_decode | Decodes a base64-encoded string.
base64_encode | Base64-encodes a string.
convert_date_time | Converts date and time formats using standard IDOL date formats.
convert_encoding | Converts the encoding of a string from one character encoding to another.
copy_file | Copies a file.
create_path | Creates the specified directory tree.
create_uuid | Creates a universally unique identifier.
date_time_now | Returns the current date and time in the specified IDOL date format.
decrypt | Decrypts a string that was encrypted using the encrypt function.
decrypt_security_field | Decrypts a supplied ACL string.
delete_file | Deletes a file.
delete_path | Deletes a specified directory, but only if it is empty.
doc_tracking | Raises a document tracking event for a document.
encrypt | Encrypts a string.
encrypt_security_field | Encrypts the ACL.
extract_date | Searches a string for a date and returns the date.
file_setdates | Modifies the properties of a file (for example created date, last modified date).
fingerprint_string | Generates a list of fingerprints from an input string.
get_config | Loads a configuration file.
get_log | (Deprecated) Returns a LuaLog object that provides the capability to write log messages.
get_log | Returns a LuaLog object that provides the capability to write log messages.
get_log_service | Obtains a LuaLogService object, from which you can obtain a LuaLog object that you can use to write messages to a log file.
get_task_config | Returns a LuaConfig object that contains the configuration of the fetch task that called the script.
get_task_log | Returns a LuaLog object so that you can write messages to the log stream for the current fetch task.
get_task_name | Returns the name of the fetch task that called the script.
getcwd | Returns the current working directory of the application.
gobble_whitespace | Reduces multiple adjacent while spaces.
hash_file | Hashes a file using the SHA1 or MD5 algorithm.
hash_string | Hashes a string.
is_dir | Checks if the supplied path is a directory.
log | Appends log messages to a file.
move_file | Moves a file.
parse_csv | Parse comma-separated values into individual strings.
parse_document_csv | Parse a CSV file into documents and call a function on each document.
parse_document_idx | Parses an IDX file into documents and calls a function on each document.
parse_document_idx | Parses an IDX file, or a string of IDX data, and returns a LuaDocument.
parse_document_idx | Parses an IDX file, or a string of IDX data, into documents and calls a function on each document.
parse_document_xml | Parses an XML file into documents and calls a function on each document.
parse_document_xml | Parses an XML file, or a string of XML data, and returns a LuaDocument.
parse_document_xml | Parses an XML file, or a string of XML data, into documents and calls a function on each document.
parse_json | Parse a string of JSON data and return a LuaJsonValue.
parse_json_array | Parse a string of JSON data (that is a JSON array) and a return a LuaJsonArray.
parse_json_object | Parse a string of JSON data (that is a JSON object) and return a LuaJsonObject.
parse_xml | Parse XML string to a LuaXmlDocument.
regex_match | Performs a regular expression match on a string.
regex_replace_all | Searches a string for matches to a regular expression, and replaces the matches.
regex_search | Performs a regular expression search on a string.
script_path | Returns the path and file name of the script that is running.
send_aci_action | Sends a query to an ACI server.
send_aci_command | Sends a query to an ACI server.
send_and_wait_for_async_aci_action | Sends a query to an ACI server and then waits for the action to finish. Use this method for sending asynchronous actions so that the action response is returned instead of a token.
send_http_request | Sends an HTTP request.
sleep | Pauses the running thread.
unzip_file | Extracts the contents of a zip file.
url_escape | Percent-encode a string.
url_unescape | Replaces URL escaped characters and returns a standard string.
xml_encode | Takes a string and encodes it using XML escaping.
zip_file | Zips the supplied path (file or directory).

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 TeamBinder Connector 12.13

Topic Title: General Functions