I created a pack for internal use that returns an object. The use case is that it posts/puts the coda data into a database so that my client can use coda as a gui for the database. The pack formula will then return an object with the id and slug of the data entry.
I have a button that execute the pack and everything works fine. But the button is suppose to modify a text field in the row and it only includes the first value. The docs says its suppose to be a chip, but I only get the first text value. Why is that?
Note I do have access to each property when I do postItem(…).Slug or postItem(…).Id I get the specific value returned…but I cant figure out how to use all the values at once. Ultimately, I want to place each value in its own column.
What you said last was correct. You use the parsejson() formula on the coda side to extract the values from the json keys.
Pack buttons were really only designed to return strings, although I’ve begged @Eric_Koleda and the packs team to allow them to return actual objects!