joel_wiesmann_automic

API: Getting promptset iterator resets object-level values

Discussion created by joel_wiesmann_automic on Feb 7, 2017
Latest reply on Feb 10, 2017 by joel_wiesmann_automic

Hi there

Did anyone encountered the same? V11.2 API against V10 system:

- Promptset #PR with value #PR_V - set to #PR_VAL
- #PR attached to object #OBJ. On object level #PR_V is set to #OBJ_VAL

I now copy #OBJ to #OBJ2. In #OBJ2 the value tab #PR_V equals #OBJ_VAL as expected.

If I know open #OBJ2 with the API and get the values().promptsetiterator() the value #PR_V gets reset to #PR_VAL. I don't do anything else - just get the iterator, save the object & close it.

Am I doing something wrong? Do I need to iterate and do something like setvalue(x) = getvalue(x) ?

Regards
Joel

Outcomes