ACI API 26.3
ACI API Programming Guide

# aciObjectParamSetStringN

Call the `aciObjectParamSetStringN` function to set the contents of a string parameter with a length.

## Syntax

    aciError aciObjectParamSetStringN (
       t_aciObject* pObject,
       int nLength
       const char *szName,
       const char *szValue);

## Arguments

Arguments | Type/Description
--- | ---
`pObject` | `t_aciObject*` A pointer to the ACI object.
`nLength` | `int` The length of the parameter value to set to.
`szName` | `char*` The parameter name.
`szValue` | `char*` The parameter value.

## Discussion

This function adds the string parameter `szName` with the specific value `szValue` to the ACI object `pObject`. If the length of `szValue` is greater than `nLength`, only `nLength` bytes of it is set.

## Returns

An ACI error code.

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

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 ACI API 26.3

Topic Title: aciObjectParamSetStringN