@Lee Pinchbeck, thanks. so I guess to is no way to identify the current device the user is currently using. Besides checking the last sync date time, which is not preferred.
@Lee Pinchbeck, Because then we pick the most up to date last sync date, not the sync date that’s connected to device X. Will it be correct? Probably most off the cases.However next to that, it seems that the last_sync_dttm from person_mobile isn’t updated in mobile if you query it (in mobile). The sync rule is on Real Time on is sending all records (*). In short regarding the use case:Sometime a tech is in a area without any mobile coverage. So the app in in “offline” status. Also we had some rare cases that the app is stuck in ‘offline’. We want to display the status more clearly to the users.
@jevin.fernando Thanks, that worked!
@Shneor Cheshin Type of sync error doesn’t matter, happens if there is 1 or more error(s). It also doesn’t matter if the stuck messages are related or not (e.g. same task). I reproduced it with the default IFS design, by adding a savechanges() update script to a custom button. setControlValue("task", "task_status", "ACCEPTED");var res = saveChanges();I beginning to beleive it’s a IFS baseline bug, it’s working fine in Android (as mentioned by @SAMLK). I openend a case at IFS already a while ago, but no solution yet.
@mkuehnl@Anjula Priyanath How did you setup the sync rule? At my side, after a initialisation, the attachments are not synced to the mobile device due the attachment sync rule.
Thanks @Shneor Cheshin, apparently I was already very close. But with the help of your example I was able to make it work!
Nevermind, got it working
@shalikakk So there is no way to filter the list via a ‘Populate’ script?
@shalikakk that's a pity.. thanks anyway
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.