ViewMap() function

We had a operating app in use for over a month now that allowed us to search our customers and get their address. We could then get the driving directions as our technicians were out in the field. However now, clicking on the View Map() function is no longer accessing this data. I cannot figure out what else to check. The format of the column is correct, the format on the actual Map View we have in use is working correctly, it is only happening on our Customer view that hasn’t changed.

Can you elaborate? What devices is it not oewrking on - phones, desktops, both?

What does this mean? Normally, you would tap on a button associated with the Address. It would open up the Map View with a pin showing the address. At the bottom, on a phone, there would be a series of buttons - one of which is the directions button (car icon). Tapping it would open another Map View with the route to the address highlighted.

I have tested this on both Desktop and is working fine.

What part of the described process above are you having an issue with?

1 Like

Hello! It’s not working on any device, the laptop i’m creating the app or or any of the phones its installed on. Here are some screen shots to show you.

We used to have the map view load that would then include the driving directions and that is not loading anymore. The column in set to “Address”. I don’t know what else to look at.

If I have this correct, you are accessing the Customers view which is a Deck view. You tap on on the Address Icon and the expectation is for the Map View to show the address on the Map similar to the below. Instead you are getting an empty view.

I am noticing the address on your Deck View entry does not have separating commas for Street, City, State. I wonder if that might be, at least, part of the issue? I tried this on my app and it DID NOT behave the same.

In the icon list there are 2 address icons? Are there 2 address fields in your table?

2 Likes

Here is another thing to look at.

When the “View Map” action is tapped, the Map View should show and a panel with a Deck View is displayed as well. If you have more than one Deck View defined, AppSheet will try to use a system generated view first, such as the Inline view if it is set to Deck view. If that is not a Deck View then it will move through your views in some order, which I don’t know, until it finds a Deck for the same datasource. The App will try to use that view.

If you have several Deck Views defines for your Customers data, it may be that AppSheet is getting confused in some way. Remove any custom Deck Views you don’t need.

3 Likes