Hi
I'm trying to append a new label into the "event.idm.read_only_udm.target.resource.attribute.labels" field in the event.
But when I try => creating a new label and merging it with the above event overwrites the values itself, dont append to it.
Below is the code snippet:
Solved! Go to Solution.
Instead of "_labels.value" try "_labels.value.string_value".
Instead of "event.idm.read_only_udm.target.resource.attribute.labels" try
If I'm not mistaken merge with a string field won't append. I think everything else is fine it's just not a function of merge to do that there?
Hi,
Are you trying to use an extension? if so a parser extension will overwrite any repeated field, I'd recommend to pick a repeated field that is not currently in use. Unfortunately that's the only way, unless you modify the underlying parser.
Instead of "_labels.value" try "_labels.value.string_value".
Instead of "event.idm.read_only_udm.target.resource.attribute.labels" try