R
Ricardo Perdigao
Guest
Alex, Both options you provided would work. You can send the JSON string to the backend and parse it on 4GL to create each record. Or, you can loop on the Mobile App and call the JSDO manually to send the data as a single record each time. The second option would need some considerable knowledge of the JSDO api and JavaScript programming. Option 1 is very simple and you would pass a Character field with the stringfy from the LocalStorage variable. The problem here might be how big that string can get. Maybe place each answer JSON string in a separate field? Option 2 is more complex, but you don't have to worry about the string going beyond what the character field can accommodate. The complex piece is to build the JSDO commands, but there are good documentation on using the JSDO api at Communities and Manuals. If you get stuck building the syntax, post how you are trying to write it in the communities and I am positive someone will help you. All the best, Ricardo
Continue reading...
Continue reading...