ACI API 25.3
ACI API Programming Guide

# aciObjectAddAttribute

Call the `aciObjectAddAttribute` function to add a new attribute to an ACI object.

## Syntax

    aciError aciObjectAddAttribute(
       t_aciObject* pObject,
       const char* szAttributeName,
       const char* szAttributeValue)

## Arguments

Arguments | Type/Description
--- | ---
`pObject` | `t_aciObject*` A pointer to the ACI object to add the attribute to.
`szAttributeName` | `const char*` The attribute name.
`szAttributeValue` | `const char*` The attribute value.

## Discussion

This function adds an `aciObjectVariable` to the object's attribute linked list.

## Returns

An ACI error code.

Copyright 2025 Open Text
Version 25.3 | Last updated July 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 ACI API 25.3

Topic Title: aciObjectAddAttribute