Support "static entities" in mobile app, as offline data
1948
Views
11
Comments
On our RadarOn our Radar
Frontend (App Interfaces)

When developing mobile app, you can use static entitities.

However they are not available if your application is running offline.

Most mobile apps we develop are based on offline first principal, making usage of static entitities useless.

That could be really interesting, we are in the same situation.

2023-05-18 09-00-19
Ricardo Vaz Alves
Changed the category to
Frontend

Hasn't this been implemented in the meantime?

No,  because then it would have the status "Implemented" instead of the current status "On Our Radar"

Right! My bad!

Was about to create this Idea myself. I believe by adding Static entities to the generated application package it should be possible to create Static Entities on local Storage, and therefor increase the usability of offline applications!


Update: static entities are available offline, partly.  only the identifier, can be used, no other attributes, nor the Get entity action nor the entity to be used in an aggregate.

Merged this idea with 'Offline Static Entity' (created on 20 Jun 2020 13:14:13 by Darren Meldrum)

For mobile, Static Entities should have a setting “Make available offline” which will make them available when offline, automatically creating a local copy which is cached and synced with the server.

As the structure and content is known at compile time, it is a lot of effort to ensure that you have a local copy and the correct sync logic to ensure it is always available - let’s have the platform do the work for us with a simple checkbox to enable offline availability.


Changed the category to
Service Studio

That's a good idea, no doubt! 

Meanwhile, maybe this helps in some situations: if you use a static's identifier as text with the value you want to use, you can use its value even offline.


In this case, if offline, you'd still have access to "Facebook" text value: