Get(accountName) returns unexpected data. *RESOLVED*
Posted: Thu Mar 15, 2018 4:10 pm
I have a solution that runs on an iPad.
Each iPad can be used by more than one user.
As each user moves around the country, they are able to select and change their 'Service Region', and on the next sync, see just the work for that Service Region.
All of this works as expected on a PC.
However, it breaks on an iPad.
In the GZM script 'Specify User Defined Search Criteria' I use get(AccountName) to find country and service regions for the logged-in user.
The variables are then used to declare additional filter criteria
When I run a sync on the iPad, Get(AccountName) returns 'Sync' and Get(UserName) returns the User Name configured in FMGo - Settings. I would prefer not to use Get(userName) as it will complicate matters when changing iPad users.
Are the results seen the expected behavior?
Each iPad can be used by more than one user.
As each user moves around the country, they are able to select and change their 'Service Region', and on the next sync, see just the work for that Service Region.
All of this works as expected on a PC.
However, it breaks on an iPad.
In the GZM script 'Specify User Defined Search Criteria' I use get(AccountName) to find country and service regions for the logged-in user.
The variables are then used to declare additional filter criteria
When I run a sync on the iPad, Get(AccountName) returns 'Sync' and Get(UserName) returns the User Name configured in FMGo - Settings. I would prefer not to use Get(userName) as it will complicate matters when changing iPad users.
Are the results seen the expected behavior?