35
Views
3
Comments
Solved
MobileApp: Server Data Type to Local Data Type
Question

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

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
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.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

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.

2020-06-08 02-42-28
Wasabi

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

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.