Cambiar mensaje Error

Hola!!!

Puedo de alguna manera modificar el mensaje de error "There is already a row with the key (...)".

Me gustaría incluir un mensaje más sencillo para mis compañeros  no "informáticos".

Gracias!!!

Solved Solved
0 6 163
  • UX
1 ACCEPTED SOLUTION

ISBLANK(
  FILTER(
    "table",
    AND(
      NOT([_THISROW].[_ROWNUMBER] = [_ROWNUMBER]),
      ([_THISROW].[key-column] = [key-column])
    )
  )
)

Replace table and key-column with the appropriate names.

View solution in original post

6 REPLIES 6

No estoy del todo seguro porque no lo he necesitado, generalmente configuro las key para ser agregadas automaticamente y no se muestran en el formulario.

Intenta un mensaje personalizado en este lugar:

SkrOYC_0-1666016336627.png

 

Steve
Platinum 4
Platinum 4

To supply your own message, you must use a Valid If expression to catch the duplicate key column value, then you can use the Invalid value error setting to produce the desired message.

Entiendo que lo que planteais es que aún siendo una Key column y ya de por si no permite un valor duplicado, tengo que "reforzar" ese error con un Valid If que me permita poner el mensaje de error que yo quiero. Es asi¿? Gracias!!!

Justamente.
Ten cuidado al hacer reglas que impidan duplicación, tienes que considerar que deben funcionar tanto al momento de crear un registro como al editarlo:

Different Valid_If for each case: Add new record t... - Google Cloud Community
Different Valid_If for Adds and Edits - Google Cloud Community

ISBLANK(
  FILTER(
    "table",
    AND(
      NOT([_THISROW].[_ROWNUMBER] = [_ROWNUMBER]),
      ([_THISROW].[key-column] = [key-column])
    )
  )
)

Replace table and key-column with the appropriate names.

Alejandro buenos días se que esta resuelto pero tengo otra propuesta en location

Ingresa a settings

ingresa a location

buscar con contrl + F el mensaje
y colocal el mensaje alternativo
save.

Espero sirva a la comunidad

 

Saludos

 

 

 

Top Labels in this Space