Parsing the product string using Data Prep
We are use the Adobe Bridge SDK to bring mobile data into AEP. With that we are using the data prep tool to extract context variables and assign them to schema locations. We have come to a snag with the product string. We want to map this to the productListItems array (the default location for the product string).
We thought of creating a calculated field and using the analytics functions, e.g. aa_get_product_names
https://experienceleague.adobe.com/en/docs/experience-platform/data-prep/functions#analytics
This outputs an array of values and we would then assign this to a schema path within productListItems.
The issue we have run into is that these analytics functions always output an array of strings - ["34","4","57] and we need in some instances floats or integers. We cannot use the to_integer/float functions as these only work on 1 string at a time and not arrays. We also cannot reference the entire array using [*] - as this is not supported.
Has anyone run across this issue and been able to solve it? I cannot believe we are the only ones using bridge sdk and having a product string.