Setting multiple values for a metadata field using DocumentObj25.Create shows invalid entries

Some weird behavior here that is vexing me...

I making a web API call -- DocumentObj25.Create -- to create a topic in a Tridion Docs 14 environment.

For one of the metadata fields I am setting, there are multiple taxonomy values.

When I look at the created object in Publication Manager, two of the three values are listed as invalid.

I performed the same operation manually in Publication Manager and looked at the log to see how Publication Manager was passing the metadata via the same API call. The metadata structure looks exactly like the one I am passing with my API call, but the result is correct. The values are not listed as invalid.

Here is what my metadata looks like:

<ishfields>
<ishfield name="FTITLE" level="logical" xml:space="preserve">Name of my topic</ishfield>
<ishfield name="FCUSTOMFIELD1" level="version" xml:space="preserve" ishvaluetype="id">17573177, 17574057</ishfield>
<ishfield name="DOC-LANGUAGE" level="lng" xml:space="preserve">en-US</ishfield>
<ishfield name="VERSION" level="version" xml:space="preserve">1</ishfield>
<ishfield name="FCUSTOMFIELD2" level="version" xml:space="preserve" ishvaluetype="element">86301381, 86301382, 87394644</ishfield>
</ishfields>

FCUSTOMFIELD1 is set correctly from the API call.

FCUSTOMFIELD2 is not set correctly. One value is set, but the other two are marked as invalid.

When I look at the logs in Publication Manager, when I create an object manually, I see the same exact metdata structure for FCUSTOMFIELD2 as what my API call is passing. But Publication Manager sets it correctly, and my API call does not.

Also note that if I limit the FCUSTOMFIELD2 to one value in my API call, it works without a problem.

emoji
Parents Reply Children
No Data