Advanced Use
Some Tips for more advanced use
Last updated
Some Tips for more advanced use
Last updated
Scenario;
You have a CMS collection of Locations, which each have a State. You want to show a list of States, with the count of Locations in each.
Let's suppose you have setup this SA5 Data source.
Once loaded, the data it will exist as a JavaScript Map in SA5's Datastore;
You can transform that Map into a new map which contains Groups and counts, like this;
Now you can use your result Map however you like.