On Sep 10, 2018, at 2:00 PM, Rudy Mortier wrote: > Has anyone tried 4D for iOS? > > How are the results? > > I have tried with a simple database and tried to publish 3 tables. The form > templates seem to not always display the correct data. > > In the test environment, It doesn’t download the data for all 3 tables: > sometimes only one, sometimes 2. And there is not a lot of records in the > tables. > > Is there any place we can get some help?
I did a quick conversion of a database to v17 R2 and created a simple iOS application. It worked almost flawlessly (see below problems). Go through the wizard to define the tables and fields to use and the list and detail forms to use. Then click the build button and wait maybe 90 seconds and the iPhone Simulator program launched and there was my working iOS application. Very impressive… when it worked. Of course the capabilities of the first version are severely limited. Limited configurability of the detail and list forms. You get many templates but you can just select what fields to display and in what order and that’s about it. Also it is just read only. It downloads all records from the tables you included to the iPhone and you can then do simple searching on a key field and view the information. That’s it. No filtering of what records to download. No updating or editing of the data. When you want to refresh the data you go to a settings area in the iOS application and click a refresh button to re-download all the data from a 4D Server that has the 4D Mobile feature turned on. So applications created with this first version are of limited use in the “real world”. Of course this is just the first version released in v17 R2. So I would expect R3 to add many more capabilities and fix a lot of bugs. Hopefully by v17 R5 it will be “fully functional” with the ability to edit data, recreate new records, automatically sync the data back to 4D Server and provide more widgets on the forms. I didn’t have the problem you experienced… once I got a project completed. It downloaded all the data from all the tables in my application and it displayed the data as expected. So maybe your 4D for iOS template or definition file got corrupted somehow during your development of it. I know that I had to start over 3 times. I’d get started, then change my mind and try to go back in the wizard and edit and change the template or fields and couldn’t get it to work. So I’d trash it and start again from scratch. By the third time I was able to go straight through the process to the end and it worked. It’s definitely not ready for prime time at this point, but again it’s not really intended to be. I’d consider it v0.9 version. I wouldn’t even call it 1.0 yet. I’m reserving judgment until v17 R5 to see what it’s like then. Remember at 4D Summit they said 4D for iOS was really a v18 feature. So expect it to be ready for prime time by then. Now it is just something to play with… in my opinion. Tim ***************************************** Tim Nevels Innovative Solutions 785-749-3444 [email protected] ***************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

