Help with arrays / collections

Hi,

I’m starting to get crazy on this problem, so any help would be much appreciated! :sweat_smile:

I need to filter large quantity of data in an array retrieving only one value.

I want to retrieve the value of “id” when c-pf-I2pLtL4 = 1234

So I tried with map function.
I made a test using “index” as a filter and “32” as a value for the filter and everything works well.

But my problem is that I need to filter on c-pf-I2pLtL4 which is a vlaue of a collection (named “value”) inside my “items” array.

Any idea?

Thanks for your help! :slight_smile:

Welcome to the Make community!

You can specify it using dot notation,

e.g.:

values.c-pf-l2pLtL4

For more information, see “Mapping with arrays” in the Help Centre. You should also do the Make Academy, which also covers the use of Iterators & Aggregators.

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

Getting Started

Help Centre Basics

Articles & Videos

@samliew

2 Likes

Thank you for your help!

No problem, glad I could help you with “Help with arrays / collections

1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help as newer questions are displayed higher on the forum’s “new” page.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

Hope this helps! Let me know if there are any further questions or issues. P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

@samliew