I am getting a set of items through the filter_by_view method. Because I have several cross-app references each item in the filter_by_view array is very deep. For example, I have a product app in another space that I reference, I have individual activities referenced from another app, and 3 fields that reference people, internal contacts, partner contacts, and customer contacts. Regardless, 5 different reference fields with multiple items, multiple revisions etc. makes the array very complex to parse. I tried a array_keys, array_search, and array_values to recurse the item but it seems difficult.
I'm trying to use the item_id from the filter_by_view to jump to the get_item of that item_id but I'm not sure if I'm missing something here. Getting the item data from a new object call seems inefficient since I already have the items from the filter by view. It just seems really hard to parse the deep array when there can be multiple instances of referenced items, contacts, products.
Am I missing something easy here? Is there an easy way to get information out of the filter_by_view output?
Please sign in to leave a comment.