Issue with custom action Polyline to static map 2 marker image

Hi there,

I’m relatively new to Adalo and could use some help troubleshooting an issue with a custom action button involving a polyline and static map with two markers.

Right now, the static map and both markers are displaying correctly. The polyline also passes the custom marker test, but when I try to include it using magic text, it doesn’t show up on the map image.

After some digging, I believe the issue lies with the result key:
routes.0.overview_polyline.points — specifically, how it’s being saved.

In the full API response, this appears as:
path=enc"overview_polyline": { "points": " ... [raw data] ...
But if I test it in a browser using just the raw polyline data directly after path=enc:, it works correctly and the path shows as expected.

The problem is, I can’t edit or adjust the result key when saving the custom action in Adalo, so I’m not sure how to get around this.

Any insight or workaround would be greatly appreciated! I can provide screenshots if that helps.

Thanks in advance!

Hi @ada,

Welcome to the forum!

Maybe you could try using a 3rd party service like Make to modify the response. So it’ll look like: Adalo Custom Action → Webhook in Make → Make Scenario which does the API call and adjusts the response as needed → Webhook response in Make → Adalo receives custom action response.

This is a common approach when you need to do something more complex than Adalo Custom actions allow. However, there are no guarantees that it’ll work in your case, still this path is worth exploring.

Best,
Victor.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.