Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • A records dataproviders should be accessed through the record itself, which means first a record object needs to be   retrieved   before the dataproviders from such a record should be accessed.
    Example:

    Code Block
    var rec = foundset.getSelectedRecord();
    if (rec.phone_direct) plugins.mobile.call(rec.phone_direct);

    So try to avoid direct access of those variables, so use 'record.column'   instead of just 'column' for the selected record in a form method.

  • new records pks always become UUID's values, while UUID are not required for pks for any data delivered by the server, the service solution would need to translate UUID's to local ids upon retrieval of new records.

  • only single pk are supported on entities. (no compound pk support)

  • no SQL support, everything has to happen via relations/foundset navigation from the provided root foundset by the service solution.

  • no calculation support. (yet, is planned)

  • only custom valuelists are supported, but application.setValueListItems is present

  • Be careful   with the Form variables or Global variables names, prefix or post fix them with an nice value so that you don't have global variables named 'status' or 'document' these names must be avoided because they   collide   with the window.xxx object of the browser.

...

A mobile client works offline, so the first time it must do a synchronization with the server, this will be automatically called when the client starts up.It will then also ask for credentials first if the solution requires authentications.

With Servoy 7.4 this automatic initial synchronization can be avoided if the first form doesn't have a datasource, so it doesn't need data. This way you can control the sync and login completely in your solution. Be aware no initial login will be shown either, if you want to make sure a login form is always presented you have to make your own (without datasource) and show this as first form, calling security.authenticate with the result for future use.

Supported plugins:

  • Mobile plugin (especially designed for using mobile device capabilities, like GPS and making calls)
  • Dialog plugin .showWarningDialog function

...