question

Andrea avatar image
Andrea asked

No result custom data

I have a problem with the custom data of the store, I added custom data to my store, but I don't get any results, itemId works perfectly, but I can't understand why the result is empty. Sorry for my English, I attach 2 photos of the problem. Thank you

data
store.jpg (212.9 KiB)
customdata.jpg (398.3 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
v-humcin avatar image
v-humcin answered

The custom data in stores is stored as a JSON object, so if you try to access it as a string it will throw a type mismatch error. You will either need to use "Get Field" on the custom data object itself to return the fields it contains and print each field individually, or you can get the custom data "As Object" and then use the "Encode Json" block which will serialize the object to a string.


ue4customdata.png (106.3 KiB)
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Andrea avatar image Andrea commented ·

It works perfectly, thanks

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.