Ayuda urgente sobre app

Hola alguien me puede ayudar
necesito saber si se puede poner pausa a la aplicacion automaticamente.
por ejemplo que la aplicacion solo se pueda usar de 8:00 am a 5:00 pm, despues de ahi nadie pueda acceder y que lo haga automatico, hay alguna forma , sin tenes que estarlo haciendo manual…

Solved Solved
0 7 287
1 ACCEPTED SOLUTION

Tienes razon, no funciona si es la unica view en la app. Lo acabo de probar

y si tratas de bloquear all the Add y Updates? dejar la tabla Read-Only fuera de esas horas?

con algo asi:

IF(
AND(
TIMENOW() >= “06:00:00”,
TIMENOW() <= “17:00:00”
),
“ALL_CHANGES”,
“READ_ONLY”
)

View solution in original post

7 REPLIES 7

Hola,

No creo que puedas bloquear la app como tal pero podrias utilizar algo como lo siguiente en el “Show If” de cada view y asi bloquear el acceso:

AND(
TIMENOW() >= “08:00:00”,
TIMENOW() <= “17:00:00”
)

Es muy buena la idea @Alejandra_Petro !!! No se si existe alguna funcionalidad que haga esto pero esta idea es excelente !!! Felicitaciones desde ya, ojalá pueda ayudarte @Nica_Credit

le aplique la formula a como esta. y no funciona sigue apareiendo la vista
.

podrias cambiar la formula unicamente y unicamente establecer el tiempo en el que no quieres que se use por ejemplo Not(TODAY()=“14:00:00” at TODAY()“08:00:000”) algo asi.

Tienes razon, no funciona si es la unica view en la app. Lo acabo de probar

y si tratas de bloquear all the Add y Updates? dejar la tabla Read-Only fuera de esas horas?

con algo asi:

IF(
AND(
TIMENOW() >= “06:00:00”,
TIMENOW() <= “17:00:00”
),
“ALL_CHANGES”,
“READ_ONLY”
)

MUCHISIMAS GRACIAS… AHORA SI ME DIO PERFECTO TE DEVO UNA TAZA DE CAFE

Steve
Platinum 4
Platinum 4

There is no way to automatically pause the app. You can find ways to make the app difficult or impossible to use, but there is no built-in way to prevent app use by a schedule.

Using Show if for a view merely hides the view in navigation elements like the main menu or in the navigation buttons along the bottom of the screen. It does NOT prevent the user from getting to the view by other means. Show if for a view is NOT a security measure.

A simple-but-clunky approach would be to add an expression for the Are updates allowed? setting for a table:

IF(
  AND(
    (TIMENOW() >= "08:00:00"),
    (TIMENOW() < "17:00:00")
  ),
  "ALL_ACCESS",
  "READ_ONLY"
)

This will prevent any attempts to add, delete, or update any rows of the table outside the indicated time. The data in the table WILL still be available to view, however.

Aaannd I see @Alejandra_Petro beat me to it.

Top Labels in this Space