on 07-01-2021 12:18 PM
Hello Team,
We have a requirement in which we would like to load the mobile cards specific to location at which the mobile card is opened. To achieve the same we tried using the Auto Replaced Parameters mentioned in the link.
When we are using these parameters in our Query URL the required values of the latitude and longitude are not getting passed to backend, instead we are getting error.
'An error occurred parsing the OData service URL for query based card type mClockTest. Please check the back-end connection URL and the query URL for the respective card type. Typical problems include invalid characters in the URLs or not properly encoded query parameters'
Thanks and Regards,
Nittin Garg
Hi
The auto-replaced values can be used when sending requests to the backend as you surmised. But note a few things:
1) the replacement happens when syncing content to the device - this can happen at a number of times (opening the app, manual refresh, or even in the background for background initiated syncs). It is not necessarily related to when a card is *viewed* however.
As to the error you see - this might be because of the way the replacement parameter is used i the backend call. The best way to see what is happening is to enable mobile network trcae for mobile cards (under features) and look at the network requests generated against the backend system to see what is happenign on the actual network call
thanks
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.