MobileApp: Server Data Type to Local Data Type

MobileApp: Server Data Type to Local Data Type

  

hi there,

I am wondering what is the concept of data type in Outsystems? How come a server entity Identifier can be implemented to the type of local entity's attribute? Why not LocalToDo Identifier?

regards,

A

It's the other way around: the LocalToDo uses the Identifier of the Server ToDo table. This pattern is used when you need the server data locally, without adding anything locally, so a one way sync from server to client.

hi Killian,

Thank you for quick reply. Yes, the records in the server are synced to the local. If the server data type is known to the local, is it a matter of compile time?

regards,

A

Solution

Yes, that's purely compile/design time. After all, an identifier is typically just an Integer (or Long Integer), so it doesn't matter to the local database what abstraction you give to it.

Solution